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 provides an option to install a Provider to interface with the Daytona Server. Once a new Provider is installed, it manages the Workspace deployment and its 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 provides an option 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 provides an option to update an existing Provider, enabling you to apply the latest enhancements and bug fixes.
- Run the following command to update a Provider:
- Select a Runner to manage the Provider.
- Select the Provider you want to update from the list.
Uninstall a Provider
Daytona provides an option 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 a Runner to manage the 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 a Runner to manage the Docker Provider.
- Select
Docker
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 a Runner to manage the DigitalOcean Provider.
- Select
DigitalOcean
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 a Runner to manage the AWS Provider.
- Select
AWS
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 a Runner to manage the Azure Provider.
- Select
Azure
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 a Runner to manage the GCP Provider.
- Select
GCP
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 a Runner to manage the Hetzner Provider.
- Select
Hetzner
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 a Runner to manage the Fly Provider.
- Select
Fly
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.