Skip to content
Free · Scenario lab

DigitalOcean Security Lab: Firewalls, Tokens, Spaces

This is a hands-on DigitalOcean security lab. You take over a fictional start-up's DigitalOcean team and make 12 scored decisions on sign-in, roles, API tokens, Cloud Firewalls, VPC networks, Droplets, Spaces, backups and monitoring.

Feedback cites DigitalOcean documentation. Read the secure DigitalOcean architecture guide for the design behind the answers, or score your own team with the DigitalOcean Security Checklist.

No download, no card
Template & sample scenario. A fictional rehearsal built on common real-world patterns, not a record of any real organisation, audit or deal. Generated from a PlayCISO template as a starting point: it is not legal, audit, certification, investment or professional advice. Review, adapt and validate it for your organisation before you rely on it.

You are Dana Whitfield, the first security hire at Brightwave Labs, a fictional start-up that grew on DigitalOcean: a handful of Droplets, a managed database, a Spaces bucket and a CI pipeline, all in one team. Across 12 decisions you secure it: team sign-in and roles, API token scopes, Cloud Firewalls, VPC networks, Droplet hardening, Spaces keys and bucket exposure, backups, monitoring and posture scans. Each call is scored 0 to 10 and the feedback cites the DigitalOcean documentation behind it. All names, addresses and ids are invented (example.com and documentation IP ranges).

Make it yours

Replace the sample names so the scenario and the debrief you export are about your organisation.

TL;DR

What this is

5 points
  • A scenario lab where you secure a fictional start-up's DigitalOcean team: Droplets, a managed database, a Spaces bucket and a CI pipeline.
  • You make 12 scored decisions on: secure sign-in and 2FA, team roles, personal access token scopes, a leaked token, Cloud Firewalls by role, deny rules, VPC networks and NAT gateways, Droplet hardening, Spaces access keys, public bucket exposure, backups, snapshots and versioning, and monitoring with posture scans.
  • Each decision scores 0 to 10. Feedback cites the DigitalOcean documentation read on 4 November 2026. Our own reasoning is labelled PlayCISO practice.
  • Free to play. All names, addresses and ids are invented. The lab teaches what to set and why; it contains no attack steps.
  • Read the secure DigitalOcean architecture guide for the reference design, or score your own setup with the DigitalOcean Security Checklist.

Frequently asked questions

What does the DigitalOcean Security Lab teach?

It teaches how to secure a DigitalOcean team and what runs in it: requiring secure sign-in, choosing narrow team roles, scoping API tokens, building Cloud Firewalls by role with deny rules, separating environments in VPC networks, hardening Droplets, scoping Spaces access keys, keeping buckets private, backing up and monitoring, and running posture scans.

Why does the lab prefer custom-scope tokens over Full Access?

DigitalOcean says custom scopes let a token do only things like create Droplets or update cloud firewalls, so you grant only the permissions a workflow needs. A Full Access token has the api:write alias scope over everything your team role allows. You also choose an expiration, and the secret is shown only once.

Do Cloud Firewalls and UFW conflict?

They are separate. DigitalOcean says the Cloud Firewall service is separate from firewall software such as UFW on the Droplet, rules in one are not reflected in the other, and you should make sure they do not conflict. Cloud Firewalls block all traffic that is not expressly permitted by a rule.

Can a Spaces bucket use both a bucket policy and a limited-access key?

No. DigitalOcean says per-bucket limited-access keys are not compatible with S3-compatible bucket policies: you cannot create a limited-access key for a bucket that uses a policy, and you cannot apply a policy to a bucket that already has a limited-access key. Decide which model a bucket uses.

Does DigitalOcean scan my account for misconfigurations automatically?

Its Cloud Security Posture Management feature evaluates resource configuration and shows findings by severity, but DigitalOcean says all scans are started manually and there are no scheduled or automated scans. Plans and pricing were not checked for this lab.

Sources

All read on 4 November 2026. Lines marked “PlayCISO practice” are our own reasoning, not a vendor statement.

The tools people use most on PlayCISO.

All tools
🖤 Black Friday: new customers get 3 months of Pro for $5, then $5/month. Ends 30 Nov. Claim 3 months for $5 →