Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 35 ยท Getting Started

What Is DigitalOcean? Products, Regions and When to Use It

Meet DigitalOcean: Droplets, managed databases, Spaces, App Platform, Kubernetes and more. Learn how the pieces fit together and when a simple cloud is the right choice.

DigitalOcean is a cloud provider built around simplicity. Instead of hundreds of services with long names, you get a small set of building blocks that cover most small and medium products: virtual machines (Droplets), managed databases, object storage (Spaces), a platform for deploying code (App Platform), managed Kubernetes (DOKS), load balancers, and networking tools. Pricing is mostly flat and predictable, which is why many startups, agencies and indie developers choose it.

This track teaches DigitalOcean step by step: how to create and secure servers, store data, deploy applications, run Kubernetes, automate everything with doctl and Terraform, and keep costs under control. You will not need to know any other cloud first, only basic Linux and web concepts.

About the examples. A DigitalOcean account is not available on this site, so the console menus, doctl commands and API calls in these lessons are read-only. Every runnable <TryIt> is a clearly labelled stand-in: a small Python program that teaches the same idea (a request builder, a firewall evaluator, a cost calculator) without touching your account. Output is shown only when it is certain. Prices and limits change, so always confirm them on the official pricing page before you commit.

The product map

Most DigitalOcean products fall into five groups. Knowing the group tells you which tool to reach for.

Compute

Droplets Linux virtual machines you control
App Platform Push code, get a running app
Functions Small serverless handlers
Kubernetes Managed clusters (DOKS)
1 / 4

Droplets: the core building block

A Droplet is a virtual machine running Linux (Ubuntu, Debian, Fedora, Rocky and others) on shared physical hardware. You choose a region, an image (the operating system), a size (CPU, memory, disk) and an authentication method (an SSH key). A minute later you have a public IPv4 address and root access.

Droplets are the right choice when you need full control: custom software, background daemons, unusual ports, or a classic LAMP or Docker setup. You are responsible for patching the operating system, configuring the firewall and keeping backups. The later chapters show how to do each of those properly.

Managed services: let DigitalOcean run it

For common infrastructure you can pay for a managed service instead of running it yourself:

  • Managed Databases give you PostgreSQL, MySQL, Valkey (the Redis-compatible cache), MongoDB, Kafka or OpenSearch with automatic backups, updates, standby nodes and TLS.
  • App Platform builds your code from a Git repository or container image and runs it behind HTTPS. You never log in to a server.
  • DOKS is Kubernetes with a free control plane; you pay for the worker nodes.
  • Spaces stores files (images, backups, static assets) and speaks the S3 API, so most S3 tools work.

The trade-off is control versus effort: managed services cost a little more per unit than a DIY Droplet but save you from operating them.

Regions

Every resource lives in a region, identified by a short slug such as nyc3 (New York), sfo3 (San Francisco), ams3 (Amsterdam), fra1 (Frankfurt), lon1 (London), sgp1 (Singapore), blr1 (Bangalore), tor1 (Toronto) or syd1 (Sydney). Pick the region closest to your users, and keep related resources together: a Droplet and its database in the same region talk over a free private network, while cross-region traffic goes over the public internet.

Not every product is available in every region. Always check availability before designing around one.

flowchart LR
  U["Visitors"] --> LB["Load balancer"]
  LB --> D1["Droplet 1"]
  LB --> D2["Droplet 2"]
  D1 --> DB["Managed database"]
  D2 --> DB
  D1 --> S["Spaces (files)"]
  D2 --> S
  subgraph R["One region, one VPC"]
    LB
    D1
    D2
    DB
  end

A typical small production layout: everything inside one region and one private network.

When DigitalOcean is a good fit

DigitalOcean shines for web applications, APIs, SaaS products, CI runners, game servers, WordPress and Laravel hosting, and learning projects. Its documentation and community tutorials are strong, and the console is easy to understand.

It is less suited to workloads that need a huge catalog of specialized services (advanced machine-learning pipelines, dozens of compliance regimes, deep enterprise integrations). Those are cases where larger clouds such as AWS have more to offer. Many teams run on DigitalOcean for years and only move specific pieces elsewhere.

A tiny stand-in: pick a service

The program below is a deliberately simple decision helper. It is not an official tool; it encodes the rule-of-thumb from this lesson so you can experiment with the reasoning.

Python Stand-in: which DigitalOcean product fits?

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Python Stand-in: region slugs and latency groups

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is a Droplet?

    Droplets are virtual machines. You choose the region, image and size, and you manage the operating system yourself.
  2. 2. Which product would you choose to deploy code straight from a Git repository without managing servers?

    App Platform builds your code and runs it behind HTTPS; there is no server to log in to.
  3. 3. Why should a Droplet and its database usually be in the same region?

    Same-region resources can use the VPC private network. Cross-region traffic crosses the public internet and adds latency.
  4. 4. Which statement about Spaces is true?

    Spaces speaks the S3 API, so tools that work with S3 usually work with Spaces.

Summary

  • DigitalOcean offers a small, consistent set of products: Droplets, managed databases, Spaces, App Platform, Functions, DOKS, load balancers and networking.
  • Choose Droplets for control and managed services for less operational work.
  • Every resource lives in a region; keep related resources in the same one.
  • Prices and limits change, so verify them on the official pricing pages.
  • Runnable code in this track is a labelled stand-in, never your real account.

Next: Account, Projects and Teams