home / skills / bobmatnyc / claude-mpm-skills / digitalocean-storage

This skill helps you select and manage DigitalOcean storage options like Spaces, Volumes, and NFS for reliable, scalable workloads.

npx playbooks add skill bobmatnyc/claude-mpm-skills --skill digitalocean-storage

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
3.4 KB
---
name: digitalocean-storage
description: DigitalOcean storage services including Spaces object storage, Volumes block storage, NFS, Snapshots, and Backups. Use when selecting or managing storage for DigitalOcean workloads.
progressive_disclosure:
  entry_point:
    summary: "DigitalOcean storage services including Spaces object storage, Volumes block storage, NFS, Snapshots, and Backups. Use when selecting or managing storage for DigitalOcean workloads."
    when_to_use: "When working with version control, branches, or pull requests."
    quick_start: "1. Review the core concepts below. 2. Apply patterns to your use case. 3. Follow best practices for implementation."
---
# DigitalOcean Storage Skill

---
progressive_disclosure:
  entry_point:
    summary: "DigitalOcean storage: Spaces object storage, Volumes block storage, NFS file storage, Snapshots, and Backups."
    when_to_use:
      - "When selecting object, block, or file storage"
      - "When designing backup and snapshot strategies"
      - "When attaching persistent storage to Droplets"
    quick_start:
      - "Choose Spaces, Volumes, or NFS"
      - "Provision storage in the target region"
      - "Attach or mount storage to compute"
      - "Enable snapshots or backups"
  token_estimate:
    entry: 90-110
    full: 3800-5000
---

## Overview

DigitalOcean storage includes S3-compatible object storage, network-attached block storage, managed NFS, plus snapshots and backups for recovery workflows.

## Spaces Object Storage

Use Spaces for large datasets, static assets, and logs.

- Create a Space in the required region.
- Generate access keys for S3-compatible tooling.
- Configure access controls for public or private objects.

## Volumes Block Storage

Use Volumes to add persistent block storage to Droplets.

- Create a Volume in the same region as the Droplet.
- Attach the Volume to a Droplet.
- Mount the Volume on the Droplet OS.

## NFS File Storage

Use managed NFS for shared file access across services.

- Provision an NFS file system.
- Mount from compute resources that require shared storage.

## Snapshots

Use snapshots for on-demand backups of Droplets or Volumes.

- Create snapshots before major changes.
- Use snapshots to create new Droplets or Volumes.

## Backups

Use scheduled backups for routine recovery points.

- Enable backups on Droplets.
- Restore from backups during recovery.

## Storage Selection Guide

- Use **Spaces** for object storage and static assets.
- Use **Volumes** for persistent block storage on Droplets.
- Use **NFS** for shared POSIX file storage.
- Use **Snapshots** for point-in-time recovery.
- Use **Backups** for scheduled system-level protection.

## Complementary Skills

When using this skill, consider these related skills (if deployed):

- **digitalocean-compute**: Droplets and App Platform storage attachment.
- **digitalocean-containers-images**: Image and registry workflows.
- **digitalocean-managed-databases**: Data backups and migration planning.

*Note: Complementary skills are optional. This skill is fully functional without them.*

## Resources

**DigitalOcean Docs**:
- Storage: https://docs.digitalocean.com/products/storage/
- Spaces: https://docs.digitalocean.com/products/spaces/
- Volumes: https://docs.digitalocean.com/products/volumes/
- NFS: https://docs.digitalocean.com/products/nfs/
- Snapshots: https://docs.digitalocean.com/products/snapshots/
- Backups: https://docs.digitalocean.com/products/backups/

Overview

This skill provides practical guidance for selecting and managing DigitalOcean storage: Spaces (S3-compatible object storage), Volumes (block storage), managed NFS, plus Snapshots and Backups for recovery. It helps you choose the right storage type, provision resources in the correct region, attach or mount storage to compute, and plan backup/snapshot workflows.

How this skill works

The skill explains capabilities and operational steps for each DigitalOcean storage offering. It covers creating Spaces and generating access keys, provisioning and attaching Volumes to Droplets, mounting managed NFS, and creating snapshots or enabling backups. It also summarizes when to use each option and links to recovery and migration patterns.

When to use it

  • Storing static assets, large datasets, or logs (Spaces).
  • Adding persistent block storage to Droplets for databases or applications (Volumes).
  • Providing shared POSIX file access across multiple compute instances (managed NFS).
  • Creating point-in-time images before major changes or cloning resources (Snapshots).
  • Maintaining scheduled system-level recovery points for Droplets (Backups).

Best practices

  • Provision storage in the same region as your compute to avoid latency and extra charges.
  • Use Spaces with lifecycle rules and access controls to manage costs and security for public/static content.
  • Attach Volumes to Droplets with matching filesystem setup and consistent mount management (fstab or systemd).
  • Take snapshots before upgrades or configuration changes and combine scheduled backups for broader recovery coverage.
  • Use NFS for workloads requiring shared file semantics, and monitor performance/IOPS limits to avoid contention.

Example use cases

  • Host a static website and CDN-backed assets in Spaces with public access for front-end delivery.
  • Attach a Volume to a Droplet running a database to provide persistent, expandable block storage.
  • Mount a managed NFS volume across multiple app servers for shared uploads and configuration files.
  • Take a snapshot of a production Droplet before applying major OS or application updates for fast rollback.
  • Enable Droplet backups for routine daily recovery points and use snapshots for ad-hoc cloning or migration.

FAQ

Can I use Spaces with S3 tools and SDKs?

Yes. Spaces is S3-compatible; generate access keys and use standard S3 clients, SDKs, or CLI tools.

Do Volumes need to be in the same region as Droplets?

Yes. Volumes must be created in the same region as the Droplet you plan to attach to.

When should I prefer snapshots vs backups?

Use snapshots for on-demand, point-in-time copies useful for cloning or quick rollback. Use backups for scheduled, automated system-level recovery.