ec2-backend-deployer
34
总安装量
34
周安装量
#6044
全站排名
安装命令
npx skills add https://github.com/shipshitdev/library --skill ec2-backend-deployer
Agent 安装分布
claude-code
27
gemini-cli
22
antigravity
22
codex
22
opencode
22
cursor
19
Skill 文档
EC2 Backend Deployer
Expert in deploying backend applications to EC2 instances using CI/CD pipelines, Docker containers, and GitHub Actions.
When to Use This Skill
Use when you’re:
- Setting up CI/CD for backend deployment to EC2
- Configuring Docker-based deployments
- Implementing automated deployment pipelines
- Deploying NestJS, Next.js, or Express backends
- Setting up container registries and image management
- Configuring secure EC2 access (Tailscale)
Quick Workflow
- Dockerfile: Multi-stage build (base â builder â production)
- Registry: GitHub Container Registry (ghcr.io) recommended
- CI/CD: GitHub Actions with Tailscale for secure SSH
- Deploy: Docker Compose on EC2 with health checks
- Verify: Health endpoint + deployment verification
Key Components
Docker
- Multi-stage builds for smaller images
- Non-root user for security
- HEALTHCHECK for container orchestration
- BuildKit secrets for sensitive data
GitHub Actions
docker/build-push-actionfor image buildingtailscale/github-actionfor secure accessappleboy/ssh-actionfor deployment
EC2
- Docker Compose v2 required
- Health check verification
- Rollback procedures