Providers
Providers are plugins through which Daytona integrates with various technologies to create and manage development environments. Providers abstract complexities of underlying technologies and serve as the foundational engines that Daytona leverages to deploy and run your environments, whether through containerization, orchestration, or cloud-based virtual machines.
Daytona’s architecture decentralizes the role of a Provider into a separate service. The Daytona Server communicates with Providers to execute operations relating to Workspace creation and lifecycle management.
Install a Provider
Daytona allows you to install a Provider to interface with the Daytona Server. Once a new Provider is installed, it manages Workspace deployment and lifecycle management.
- Run the following command to install a Provider:
- Select the Provider you want to install from the list or select a specific version.
Upon selecting the Provider, Daytona will install and configure the chosen Provider, making it available for managing and deploying Workspaces. You can now create a Target to use with the created Provider.
List Providers
Daytona allows you to list all installed Providers, providing you with an overview of the Providers available for managing Workspaces.
- Run the following command to list all installed Providers:
Upon running this command, Daytona will display a list of your installed Providers and their respective versions.
Update a Provider
Daytona allows you to update an existing Provider, enabling you to apply the latest enhancements and bug fixes.
- Run the following command to update a Provider:
- Select the Provider you want to update from the list.
Uninstall a Provider
Daytona allows you to uninstall an existing Provider, helping you manage your Providers by removing those that are no longer needed.
- Run the following command to uninstall a Provider:
- Select the Provider you want to uninstall from the list.
Docker
The Docker Provider allows Daytona to create Workspace projects as Docker containers. Daytona installs a Provider for Docker (docker-provider
) by default and adds a default Target using the Docker Provider, allowing the creation of Workspaces on your local machine.
- Run the following command to install a Docker Provider:
- Select
docker-provider
to install Docker as your Provider.
Upon selecting the Provider, Daytona will install and configure the chosen Provider, making it available for managing and deploying Workspaces.
DigitalOcean
The DigitalOcean Provider allows Daytona to create Workspace projects on DigitalOcean VMs, known as Droplets. The Provider integrates Daytona with DigitalOcean, enabling you to manage Workspaces on a flexible and scalable cloud platform.
- Run the following command to install a DigitalOcean Provider:
- Select
digitalocean-provider
to install DigitalOcean as your Provider.
Upon selecting the Provider, Daytona will install and configure the chosen Provider, making it available for managing and deploying Workspaces.
AWS
The AWS Provider allows Daytona to create and manage Workspace projects on Amazon EC2 instances. The Provider integrates Daytona with AWS, enabling you to manage Workspaces in a scalable and flexible cloud environment.
To use the AWS Provider, ensure that your AWS programmatic access user has the AmazonEC2FullAccess
permissions. This policy grants the necessary permissions to manage EC2 instances, which is crucial for Daytona’s Workspace project creation and management.
- Run the following command to install an AWS Provider:
- Select
aws-provider
to install AWS as your Provider.
Upon selecting the Provider, Daytona will install and configure the chosen Provider, making it available for managing and deploying Workspaces.
Azure
The Azure Provider allows Daytona to create Workspace projects on Azure compute instances. The Provider integrates Daytona with Azure, enabling you to manage Workspaces in a scalable and flexible cloud environment.
- Run the following command to install a Azure Provider:
- Select
azure-provider
to install Azure as your Provider.
Upon selecting the Provider, Daytona will install and configure the chosen Provider, making it available for managing and deploying Workspaces.
GCP
The GCP Provider allows Daytona to create Workspace projects on Google Cloud Platform (GCP) compute instances. The Provider integrates Daytona with GCP, enabling you to manage Workspaces in a scalable and flexible cloud environment.
- Run the following command to install a GCP Provider:
- Select
gcp-provider
to install GCP as your Provider.
Upon selecting the Provider, Daytona will install and configure the chosen Provider, making it available for managing and deploying Workspaces.
Hetzner
The Hetzner Provider allows Daytona to create Workspace projects on Hetzner Cloud VMs. The Provider integrates Daytona with Hetzner, enabling you to manage Workspaces in a scalable and flexible cloud environment.
- Run the following command to install a Hetzner Provider:
- Select
hetzner-provider
to install Hetzner as your Provider.
Upon selecting the Provider, Daytona will install and configure the chosen Provider, making it available for managing and deploying Workspaces.
Fly
The Fly Provider allows Daytona to create Workspace projects on Fly VMs, known as Fly Machines. The Provider integrates Daytona with the Fly.io platform, enabling you to manage Workspaces in a globally distributed cloud environment.
- Run the following command to install a Fly Provider:
- Select
fly-provider
to install Fly as your Provider.
Upon selecting the Provider, Daytona will install and configure the chosen Provider, making it available for managing and deploying Workspaces.