<a id="instances"></a>

# Instances

The following how-to guides cover common operations related to instances.

How to create and manage instances:

* [Create instances](https://canonical.com/lxd/docs/default/howto/instances_create/index.html.md)
* [Configure instances](https://canonical.com/lxd/docs/default/howto/instances_configure/index.html.md)
* [Manage instances](https://canonical.com/lxd/docs/default/howto/instances_manage/index.html.md)
* [Use profiles](https://canonical.com/lxd/docs/default/profiles/index.html.md)
* [Troubleshoot errors](https://canonical.com/lxd/docs/default/howto/instances_troubleshoot/index.html.md)
* [Auto attach Ubuntu Pro](https://canonical.com/lxd/docs/default/howto/instances_ubuntu_pro_attach/index.html.md)

How to work with instances:

* [Access files](https://canonical.com/lxd/docs/default/howto/instances_access_files/index.html.md)
* [Access the console](https://canonical.com/lxd/docs/default/howto/instances_console/index.html.md)
* [Run commands](https://canonical.com/lxd/docs/default/instance-exec/index.html.md)
* [Use cloud-init](https://canonical.com/lxd/docs/default/cloud-init/index.html.md)
* [Add a routed NIC to a VM](https://canonical.com/lxd/docs/default/howto/instances_routed_nic_vm/index.html.md)

How to export and move instances:

* [Back up instances](https://canonical.com/lxd/docs/default/howto/instances_backup/index.html.md)
* [Migrate instances](https://canonical.com/lxd/docs/default/howto/instances_migrate/index.html.md)

How to import instances:

* [Import existing machines](https://canonical.com/lxd/docs/default/howto/import_machines_to_instances/index.html.md)

How to pass an NVIDIA GPU to a container with a Docker workload:

* [Pass NVIDIA GPUs](https://canonical.com/lxd/docs/default/howto/container_gpu_passthrough_with_docker/index.html.md)

## Related topics

Explanation:

- [Instance types in LXD](https://canonical.com/lxd/docs/default/explanation/instances/index.html.md#expl-instances)

Reference:

- [Container runtime environment](https://canonical.com/lxd/docs/default/container-environment/index.html.md#container-runtime-environment)
- [Instance configuration](https://canonical.com/lxd/docs/default/explanation/instance_config/index.html.md#instance-config)
