cloud-deployment-expert

Cloud Deployment Expert

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cloud-deployment-expert" with this command: npx skills add duck4nh/antigravity-kit/duck4nh-antigravity-kit-cloud-deployment-expert

Cloud Deployment Expert

VPS Deployment (DigitalOcean/Linode/Vultr)

  1. Server Setup

SSH to server

ssh root@YOUR_IP

Initial setup

apt update && apt upgrade -y adduser deploy && usermod -aG sudo deploy

Install essentials

apt install -y git curl nginx ufw

  1. Install Node.js

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - apt install -y nodejs

  1. Clone & Build

su - deploy git clone YOUR_REPO app cd app && npm install && npm run build

Docker Deployment

docker-compose.prod.yml

version: '3.8' services: app: build: . ports: - "3000:3000" environment: - NODE_ENV=production - DATABASE_URL=${DATABASE_URL} restart: unless-stopped

nginx: image: nginx:alpine ports: - "80:80" - "443:443" volumes: - ./nginx.conf:/etc/nginx/nginx.conf - ./certs:/etc/letsencrypt depends_on: - app

docker compose -f docker-compose.prod.yml up -d

Domain & DNS Setup

DNS Records (at domain registrar)

A @ YOUR_SERVER_IP A www YOUR_SERVER_IP CNAME api @

For email

MX @ mail.provider.com (priority 10) TXT @ v=spf1 include:_spf.provider.com ~all

SSL Certificate

Certbot (Let's Encrypt)

apt install certbot python3-certbot-nginx -y certbot --nginx -d example.com -d www.example.com

Verify

curl -I https://example.com

Environment Variables

/home/deploy/app/.env

NODE_ENV=production DATABASE_URL=postgresql://user:pass@localhost:5432/db JWT_SECRET=your-secret-key

Health Check & Monitoring

Check if app is running

curl http://localhost:3000/health

Watch logs

pm2 logs # If using PM2 journalctl -u myapp -f

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

linux-server-expert

No summary provided by upstream source.

Repository SourceNeeds Review
General

pentest-expert

No summary provided by upstream source.

Repository SourceNeeds Review
General

webpack-expert

No summary provided by upstream source.

Repository SourceNeeds Review