1. Docs

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!


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.

  1. Log in to your DigitalOcean account.

  2. In the left-hand menu, click on API.

  3. On the “Tokens” page, click the Generate New Token button.

  4. 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:
        • Droplet
        • Block Storage
        • Block Storage Action
        • Block Storage Snapshot
        • Firewall
        • VPC
        • VPC Peering
      • Give Read-only access to the following scopes:
        • Account
        • Image
        • Regions
        • sizes
  5. After selecting the scopes, click the Generate Token button at the bottom of the page.

  6. 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.

  1. Log in to your Daestro Console.
  2. Navigate to the Cloud Auth section from the main menu.
  3. Click Add New and select DigitalOcean from the list of providers.
  4. 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.

🔒 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”).

  1. 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.

  1. In the Daestro Console, navigate to the Compute Environment section.
  2. Click Create New.
  3. 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-1gb is 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).
  4. Click Create.

Daestro will now use your API token to create a new Droplet in your DigitalOcean account.