<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-automate-digitalocean-with-kestra-2-0-full-tutorial--rwjkxkzlb" -->

---
title: How to Automate DigitalOcean with Kestra 2.0 (Full Tutorial)
description: A sponsored tutorial walks through automating DigitalOcean droplet creation using Kestra 2.0, the workflow automation platform's newest major release. It...
canonical: https://daily.dev/posts/how-to-automate-digitalocean-with-kestra-2-0-full-tutorial--rwjkxkzlb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to Automate DigitalOcean with Kestra 2.0 (Full Tutorial) | daily.dev
og:description: A sponsored tutorial walks through automating DigitalOcean droplet creation using Kestra 2.0, the workflow automation platform's newest major release. It...
og:url: https://daily.dev/posts/how-to-automate-digitalocean-with-kestra-2-0-full-tutorial--rwjkxkzlb
og:image: https://api.daily.dev/og/posts/rWjKxkzLB.png
og:image:alt: How to Automate DigitalOcean with Kestra 2.0 (Full Tutorial)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Automate DigitalOcean with Kestra 2.0 (Full Tutorial)

**[Learn Linux TV](https://daily.dev/sources/learnlinuxtv)** · 14 min read · 0 upvotes · 0 comments

## Summary

A sponsored tutorial walks through automating DigitalOcean droplet creation using Kestra 2.0, the workflow automation platform's newest major release. It covers Kestra 2.0's headline changes - a rewritten execution engine, redesigned UI, MCP integration for AI agents, agent governance controls, and stateless workers that communicate via gRPC without holding database credentials - plus the new official DigitalOcean plugin from Kestra's partnership with DigitalOcean. The bulk of the video is a hands-on build: installing Kestra via Docker Compose, base64-encoding a DigitalOcean API key, writing a YAML flow that uses the DigitalOcean plugin's create task to spin up a droplet, then improving it with user inputs for droplet name, image, region, and size so deployments can be customized at execution time rather than hardcoded.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=jXbACP0nMFg>

## Questions this post answers

### What's new in Kestra 2.0 compared to previous versions?

Kestra 2.0 is described as the largest update in the project's history, featuring a completely rewritten execution engine, a redesigned UI, and MCP integration for AI agents. It also adds agent governance to limit what MCP-exposed flows can create, and workers are now stateless, communicating with the Kestra server over gRPC without holding database credentials, which simplifies firewall rules and improves security for airgapped deployments.

_Teams planning a Kestra upgrade can track version changes like these on daily.dev before rolling them out._

### How do I automate creating a DigitalOcean droplet with Kestra?

Create a Kestra flow using the official DigitalOcean plugin's create task, setting the API token from a base64-encoded DigitalOcean API key added to the Docker Compose configuration. Define values for name, region, size, and image, then execute the flow; adding input fields for these values lets each execution prompt for custom settings instead of hardcoding them into the flow.

_Developers wiring up cloud provisioning workflows can follow tool updates like this DigitalOcean plugin on daily.dev._

### Why did Kestra make its workers stateless in version 2.0?

Stateless workers have no database connection of their own; they only talk back to the Kestra server over gRPC. This means firewall rules only need to allow one outbound connection instead of exposing an entire database, and because workers never hold database credentials, a compromised worker cannot lead to a database breach, making airgapped or heavily restricted deployments practical.

_Anyone hardening automation infrastructure can follow architecture shifts like this on daily.dev._

## Similar posts on daily.dev

- [Stop duct-taping scripts together and try Kestra](https://daily.dev/posts/stop-duct-taping-scripts-together-and-try-kestra-fcbbnao6t) · All Things Open · 2 upvotes · 0 comments
- [Beyond IAM: Temporary Cloud Access That Works Across AWS and Azure](https://daily.dev/posts/beyond-iam-temporary-cloud-access-that-works-across-aws-and-azure-bz1gxdp1l) · AWS Fundamentals · 0 upvotes · 0 comments

---

Tags: [#automation](https://daily.dev/tags/automation), [#docker](https://daily.dev/tags/docker), [#iac](https://daily.dev/tags/iac), [#digitalocean](https://daily.dev/tags/digitalocean)

[View this post on daily.dev](https://daily.dev/posts/how-to-automate-digitalocean-with-kestra-2-0-full-tutorial--rwjkxkzlb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to Automate DigitalOcean with Kestra 2.0 (Full Tutorial)","url":"https://daily.dev/posts/how-to-automate-digitalocean-with-kestra-2-0-full-tutorial--rwjkxkzlb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-automate-digitalocean-with-kestra-2-0-full-tutorial--rwjkxkzlb"},"datePublished":"2026-09-16T15:10:52.990Z","dateModified":"2026-09-16T15:11:17.813Z","description":"A sponsored tutorial walks through automating DigitalOcean droplet creation using Kestra 2.0, the workflow automation platform's newest major release. It...","image":"https://i.ytimg.com/vi/jXbACP0nMFg/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/jXbACP0nMFg/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Learn Linux TV","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Learn Linux TV","logo":"https://media.daily.dev/image/upload/s--9jdbhQUw--/f_auto/v1743317312/logos/learnlinuxtv","url":"https://daily.dev/sources/learnlinuxtv"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-automate-digitalocean-with-kestra-2-0-full-tutorial--rwjkxkzlb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"automation,docker,iac,digitalocean","timeRequired":"PT14M","video":{"@type":"VideoObject","name":"How to Automate DigitalOcean with Kestra 2.0 (Full Tutorial)","description":"A sponsored tutorial walks through automating DigitalOcean droplet creation using Kestra 2.0, the workflow automation platform's newest major release. It...","thumbnailUrl":"https://i.ytimg.com/vi/jXbACP0nMFg/sddefault.jpg","uploadDate":"2026-09-16T15:10:52.990Z","duration":"PT14M","url":"https://api.daily.dev/r/rWjKxkzLB","embedUrl":"https://www.youtube.com/embed/jXbACP0nMFg"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Learn Linux TV","item":"https://daily.dev/sources/learnlinuxtv"},{"@type":"ListItem","position":3,"name":"How to Automate DigitalOcean with Kestra 2.0 (Full Tutorial)"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-automate-digitalocean-with-kestra-2-0-full-tutorial--rwjkxkzlb#faq","mainEntity":[{"@type":"Question","name":"What's new in Kestra 2.0 compared to previous versions?","acceptedAnswer":{"@type":"Answer","text":"Kestra 2.0 is described as the largest update in the project's history, featuring a completely rewritten execution engine, a redesigned UI, and MCP integration for AI agents. It also adds agent governance to limit what MCP-exposed flows can create, and workers are now stateless, communicating with the Kestra server over gRPC without holding database credentials, which simplifies firewall rules and improves security for airgapped deployments. Teams planning a Kestra upgrade can track version changes like these on daily.dev before rolling them out."}},{"@type":"Question","name":"How do I automate creating a DigitalOcean droplet with Kestra?","acceptedAnswer":{"@type":"Answer","text":"Create a Kestra flow using the official DigitalOcean plugin's create task, setting the API token from a base64-encoded DigitalOcean API key added to the Docker Compose configuration. Define values for name, region, size, and image, then execute the flow; adding input fields for these values lets each execution prompt for custom settings instead of hardcoding them into the flow. Developers wiring up cloud provisioning workflows can follow tool updates like this DigitalOcean plugin on daily.dev."}},{"@type":"Question","name":"Why did Kestra make its workers stateless in version 2.0?","acceptedAnswer":{"@type":"Answer","text":"Stateless workers have no database connection of their own; they only talk back to the Kestra server over gRPC. This means firewall rules only need to allow one outbound connection instead of exposing an entire database, and because workers never hold database credentials, a compromised worker cannot lead to a database breach, making airgapped or heavily restricted deployments practical. Anyone hardening automation infrastructure can follow architecture shifts like this on daily.dev."}}]}
```

