You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Virtualised instances can be launched with `RunInstances` operation and specifying a compatible AMI.
515
+
Virtualized instances can be launched with `RunInstances` operation and specifying a compatible AMI.
515
516
LocalStack will create and start a Libvirt domain to represent the instance.
516
517
517
518
When instances are launched, LocalStack uses the [NoCloud](https://cloudinit.readthedocs.io/en/latest/reference/datasources/nocloud.html) datasource to customize the virtual machine.
@@ -525,7 +526,8 @@ The Libvirt domains and volumes are left defined and can be used for debugging,
525
526
Use [Virtual Machine Manager](https://virt-manager.org/) or [virsh](https://www.libvirt.org/manpages/virsh.html) to manage the virtual machines outside of LocalStack.
526
527
{{< /callout >}}
527
528
528
-
The Libvirt VM manager currently does not support instance user data.
529
+
You can pass a shell script as user data when calling `StartInstances`.
530
+
The script will be executed when the virtualized instance boots up.
529
531
530
532
To connect to the graphical display of the instance, first obtain the VNC address using:
531
533
@@ -542,8 +544,8 @@ You can then use a compatible VNC client (e.g. [TigerVNC](https://tigervnc.org/)
542
544
543
545
### Networking
544
546
545
-
Currently all instances are behind a NAT network.
546
-
Instances can access the internet but are inaccessible from the host machine.
547
+
All instances are assigned interfaces on the default Libvirt network.
548
+
This makes it possible to have host/instance as well as instance/instance network communication.
547
549
548
550
It is possible to allow network access to the LocalStack container from within the virtualised instance.
549
551
This is done by configuring the Docker daemon to use the KVM network.
0 commit comments