DigitalOcean
DigitalOcean calls its servers Droplets. Launching one is easy, and it is a favorite among developers and startups who want a server up quickly without a complicated dashboard.
Daestro can manage those Droplets next to servers on AWS or Vultr, from one interface. You can schedule, run, and monitor batch jobs without writing custom scripts for the DigitalOcean API. Daestro also handles creating and tearing down the infrastructure your jobs need.
Step 1: Create a Personal Access Token in DigitalOcean
Daestro needs a Personal Access Token to manage Droplets in your account. The token is a key that grants only the permissions you assign.
Log in to your DigitalOcean account.
In the left-hand menu, click API.
On the Tokens page, click Generate New Token.
Configure the token:
- Token name: a name you will recognize later, like
daestro-integration-token. - Expiration: select No expire so Daestro can keep managing your resources without the token expiring.
- Select scopes: these control what the token can do. Daestro needs the following:
- Read, Write, Update and Delete on:
DropletBlock StorageBlock Storage ActionBlock Storage SnapshotFirewallVPCVPC Peering
- Read-only on:
AccountImageRegionssizes
- Read, Write, Update and Delete on:
- Token name: a name you will recognize later, like
Click Generate Token at the bottom of the page.
Copy the token now. DigitalOcean shows it only once. Store it in a password manager. If you lose it, you have to generate a new one.
Step 2: Add Your DigitalOcean Token to Daestro
- Log in to your Daestro Console.
- Open Cloud Auth from the main menu.
- Click Add New and select DigitalOcean from the list of providers.
- Fill in the form:
- Cloud Auth Name: a name you will recognize, like
My DigitalOcean Account. - API Token: the Personal Access Token you copied from DigitalOcean.
- Cloud Auth Name: a name you will recognize, like
Credentials you save in Daestro are encrypted with AES-256 when stored (at rest) and sent over TLS (in transit).
- Click Save.
Your DigitalOcean account is now linked to Daestro.
Step 3: Create Your First DigitalOcean Compute Environment
A Compute Environment in Daestro is the server where your jobs run. On DigitalOcean, that server is a Droplet.
- In the Daestro Console, open Compute Environment.
- Click Create New.
- Configure the Droplet:
- Name: something descriptive, like
do-nyc1-worker. - Cloud Auth: the DigitalOcean credential you just created (for example,
My DigitalOcean Account). - Instance Type: the Droplet plan. This sets CPU, RAM, and cost. A Basic plan like
s-1vcpu-1gbis a cheap way to start. - Location: the DigitalOcean region to launch in (for example,
New York 1,San Francisco 3).
- Name: something descriptive, like
- Click Create.
Daestro uses your API token to create a Droplet in your DigitalOcean account.