Przejdź do treści
Biblioteka skilli
DevOps i chmura · Integracja z narzędziem

digitalocean

/digitalocean

Doradza w pracy z DigitalOcean: Droplets, App Platform, Managed Kubernetes (DOKS), Spaces i VPC, przy wdrażaniu i skalowaniu obciążeń.

Repozytorium
Agent-Skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
01.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 01.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Doradza w pracy z DigitalOcean: Droplets, App Platform, Managed Kubernetes (DOKS), Spaces i VPC, przy wdrażaniu i skalowaniu obciążeń.

Oryginalny opis (EN)

Expert DigitalOcean cloud assistance covering Droplets, App Platform, Managed Kubernetes (DOKS), Spaces (S3-compatible), and VPC. Use when deploying, scaling, and managing cloud workloads on DigitalOcean.

Jak działa

  1. When to Use
  2. Quick Start
  3. Core Concepts
  4. Common Patterns
  5. Best Practices
  6. Troubleshooting
  7. References
Sekcje z nagłówków SKILL.md, w oryginale · 157 linii, 544 słów
Podgląd SKILL.md
---
name: digitalocean
description: Expert DigitalOcean cloud assistance covering Droplets, App Platform, Managed Kubernetes (DOKS), Spaces (S3-compatible), and VPC. Use when deploying, scaling, and managing cloud workloads on DigitalOcean.
---

# DigitalOcean

DigitalOcean provides developer-centric cloud infrastructure, offering Droplets, managed Kubernetes (DOKS), App Platform PaaS, and S3-compatible Spaces storage.

## When to Use

- **Cost-Effective Cloud Infrastructure**: Simple, transparent pricing for Droplets, Managed Databases, and Volumes.
- **Managed Kubernetes (DOKS)**: Running containerized workloads without control-plane management charges.
- **App Platform PaaS Deployments**: Deploying web applications directly from GitHub/GitLab repositories with zero server configuration.
- **S3-Compatible Object Storage (Spaces)**: Storing media, backups, and static assets with built-in CDN.

## Quick Start

```bash
# Authenticate doctl CLI
doctl auth init

# Create Droplet with SSH key
doctl compute droplet create web-prod-01 \
  --region nyc3 \
  --size s-2vcpu-4gb \
  --image ubuntu-24-04-x64 \
  --ssh-keys "<ssh-key-fingerprint>"
```

## Core Concepts

### Declarative App Platform Specification (.do/app.yaml)

Deploying full-stack applications with managed PostgreSQL:

```yaml
name: saas-platform-prod
region: nyc
services:
  - name: web-api
    github:
      repo: org/saas-backend
      branch: main
      deploy_on_push: true
    build_command: npm run build
    run_command: npm start
    http_port: 3000
    instance_count: 2
    instance_size_slug: basic-m
    routes:
      - path: /api
    envs:
      - key: DATABASE_URL
        scope: RUN_TIME
        value: ${prod-db.DATABASE_URL}

databases:
  - name: prod-db
    engine: PG
    version: "16"
    production: true
    num_nodes: 1
    size: db-s-1vcpu-1gb
```

### DigitalOcean CLI (doctl) Scripting

Automating Droplet and Kubernetes cluster provisioning:

```bash
# Authenticate doctl with API token
doctl auth init --access-token "$DIGITALOCEAN_TOKEN"

# Provision a production Kubernetes cluster (DOKS)
doctl kubernetes cluster create k8s-prod-nyc \
  --region nyc3 \
  --version latest \
  --node-pool "name=worker-pool;size=s-2vcpu-4gb;count=3;auto-scale=true;min-nodes=3;max-nodes=8"

# Fetch kubeconfig credentials
doctl kubernetes cluster kubeconfig save k8s-prod-nyc
```

### Managed Spaces S3-Compatible Uploads with Boto3

Uploading backups to DigitalOcean Spaces:

```python
import boto3

session = boto3.session.Session()
client = session.client(
    's3',
    region_name='nyc3',
    endpoint_url='https://nyc3.digitaloceanspaces.com',
    aws_access_key_id='DO_SPACES_KEY',
    aws_secret_access_key='DO_SPACES_SECRET'
)

client.upload_file('backup.tar.gz', 'company-backups', '2026/backup-03-27.tar.gz')
```

## Common Patterns

### App Platform Specification (app.yaml) for Monorepos

**Problem**: Deploying both frontend SPA and backend API services from a single repository.

**Solution**:
Define unified DigitalOcean App Platform spec:

```yaml
name: ecommerce-app
region: nyc
services:
  - name: api-service
    github:
      repo: myorg/app
      branch: main
      deploy_on_push: true
    source_dir: backend
    run_command: npm start
    envs:
      - key: DATABASE_URL
        scope: RUN_TIME
        value: ${db.DATABASE_URL}
static_sites:
  - name: frontend
    source_dir: frontend
    build_command: npm run build
    output_dir: dist
```

## Best Practices

**Do**:

- Enable Cloud Firewalls on all Droplets, restricting SSH access to trusted VPN IP ranges.
- Use VPC networks to isolate private traffic between Droplets, Managed Databases, and DOKS nodes.
- Enable automated weekly backups and monitoring alerts on production Droplets.
- Leverage App Platform for microservices to offload OS patching, TLS certificates, and deployments.

**Don't**:

- Run stateful databases inside ephemeral Droplets without persistent Block Storage volumes.
- Use root passwords for Droplet access; strictly enforce SSH key authentication.
- Store unencrypted database backups in public Spaces buckets.

## Troubleshooting

| Error                                      | Cause                                                                    | Solution                                                                   |
| :----------------------------------------- | :----------------------------------------------------------------------- | :------------------------------------------------------------------------- |
| `doctl: Error: POST ...: 401 Unauthorized` | DigitalOcean API personal access token expired or revoked.               | Re-generate token in DO Console > API and re-run `doctl auth init`.        |
| `Droplet locked / action in progress`      | Previous resize, backup, or snapshot still executing.                    | Wait for active event to complete before executing subsequent mutations.   |
| `App Platform build failed: Out of memory` | Build process (e.g. large Webpack compile) exceeded build container RAM. | Upgrade instance size or build artifacts in external CI before deployment. |

## References

- [DigitalOcean Documentation](https://docs.digitalocean.com/)

Wersje

RepozytoriumWynikLicencja
Ta strona · G1Joshi/Agent-Skills100MIT
ericrisco/rsc-harness100MIT
j4flmao/agent-skills95MIT

Migawka bazy z 13.11.2026 · wersja paczki 6721fb24fef2 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90digitalocean-compute
    Dobiera i uruchamia zasoby obliczeniowe DigitalOcean: Droplety, App Platform, Functions, DOKS i GPU Droplets.
  • 100doks-manage
    Zarządza klastrami i pulami węzłów DigitalOcean Kubernetes przez serwer MCP: tworzy, skaluje, aktualizuje wersję i usuwa je.
  • 100digital-ocean
    Wdraża infrastrukturę na DigitalOcean z Dropletami, firewallami i VPC, wraz z integracją autoskalowania Kasm Workspaces do dynamicznego tworzenia agentów.
  • 100spaces
    Konfiguruje DigitalOcean Spaces, czyli magazyn obiektów zgodny z S3, dla aplikacji App Platform: uploady, CDN i logi dostępu.
  • 90digitalocean-storage
    Dobiera i zarządza storage w DigitalOcean: Spaces, Volumes, NFS, snapshoty i kopie zapasowe.
  • 100docr-access
    Pomaga zalogować się do DigitalOcean Container Registry, wysyłać obrazy z laptopa lub CI i naprawiać dostęp dla Kubernetes oraz App Platform.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.