DigitalOcean
DigitalOcean makes launching a server (which they call a “Droplet”) incredibly easy. It’s a favorite among developers and startups who want to get up and running quickly without navigating complex dashboards.
By using Daestro to manage your DigitalOcean resources, you get:
- Unified Control: Manage your DigitalOcean Droplets right alongside servers from other providers like AWS or Vultr, all from a single interface.
- Powerful Automation: Schedule, run, and monitor your batch jobs and workloads without having to write custom scripts for the DigitalOcean API.
- Effortless Scaling: Daestro helps you focus on your work by simplifying the creation and teardown of the infrastructure your jobs need.
Let’s get your DigitalOcean account connected!
Table of Contents
Step 1: Create a Personal Access Token in DigitalOcean
To allow Daestro to manage Droplets on your behalf, you need to generate a Personal Access Token. This token is a secure key that grants Daestro specific permissions to your account.
Log in to your DigitalOcean account.
In the left-hand menu, click on API.
On the “Tokens” page, click the Generate New Token button.
Configure your new token:
- Token name: Give your token a descriptive name that you’ll recognize later, like
daestro-integration-token. - Expiration: It’s highly recommended to select No expire. This ensures that Daestro can continue to manage your resources without interruption.
- Select scopes: Scopes define what the token is allowed to do. You must assign the correct permissions for Daestro to function correctly.
- Give Read, Write, Update and Delete access to the following scopes:
DropletBlock StorageBlock Storage ActionBlock Storage SnapshotFirewallVPCVPC Peering
- Give Read-only access to the following scopes:
AccountImageRegionssizes
- Give Read, Write, Update and Delete access to the following scopes:
- Token name: Give your token a descriptive name that you’ll recognize later, like
After selecting the scopes, click the Generate Token button at the bottom of the page.
Important: Copy Your Token! DigitalOcean will now display your new token. This is the one and only time it will be shown. Copy the token and store it in a secure password manager. If you lose it, you will have to generate a new one.
Step 2: Add Your DigitalOcean Token to Daestro
Now that you have your token, let’s add it to Daestro.
- Log in to your Daestro Console.
- Navigate to the Cloud Auth section from the main menu.
- Click Add New and select DigitalOcean from the list of providers.
- Fill in the form:
- Cloud Auth Name: Give this connection a memorable name, like
My DigitalOcean Account. - API Token: Paste the Personal Access Token you just copied from DigitalOcean.
- Cloud Auth Name: Give this connection a memorable name, like
🔒 Your Security is Our Priority The credentials you save in Daestro are always encrypted using industry-standard AES-256 encryption when stored (“at rest”) and are protected by TLS encryption during transmission (“in transit”).
- Click Save.
That’s it! Your DigitalOcean account is now securely linked to Daestro.
Step 3: Create Your First DigitalOcean Compute Environment
A “Compute Environment” in Daestro is the server where your jobs will run. For DigitalOcean, this means launching a Droplet.
- In the Daestro Console, navigate to the Compute Environment section.
- Click Create New.
- Configure your Droplet:
- Name: Give your environment a descriptive name, like
do-nyc1-worker. - Cloud Auth: Select the DigitalOcean credential you just created (e.g.,
My DigitalOcean Account). - Instance Type: Choose the Droplet plan. This determines the CPU, RAM, and cost. A “Basic” plan like
s-1vcpu-1gbis a great, low-cost option for getting started. - Location: Select the DigitalOcean region where you want to launch your Droplet (e.g.,
New York 1,San Francisco 3).
- Name: Give your environment a descriptive name, like
- Click Create.
Daestro will now use your API token to create a new Droplet in your DigitalOcean account.