ec2-deploy

Automate EC2 deployments and Docker Compose workflows with health checks.

182|19|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/adam-s/intercept --skill ec2-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ec2-deploy
Source: https://github.com/adam-s/intercept/tree/main/.claude/skills/ec2-deploy
Command: npx skills add https://github.com/adam-s/intercept --skill ec2-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploy to EC2 production servers and manage Docker Compose deployments, including health checks and database reseeding, in a repeatable, auditable workflow.

Core Features & Use Cases

  • Automated EC2 discovery and connection setup via AWS CLI.
  • Container lifecycle management: pull, build, up, and health verify services in production.
  • Safe database maintenance: migrations, reseeding, and health checks with rollback readiness.

Quick Start

Connect to your EC2 instance via SSH and run the deployment workflow to deploy code, rebuild containers, and verify health.

Frequently Asked Questions about ec2-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate EC2 deployments with Docker Compose?

You can automate EC2 deployments by using AWS CLI for instance discovery and SSH to orchestrate Docker Compose workflows, pulling images, rebuilding containers, and verifying service health in production.

What do I need to configure before deploying code to EC2 production servers?

Before deploying to EC2 production servers, you need AWS CLI configured with valid credentials, SSH access to the target instance, and a configured PROJECT_DIR containing a docker-compose file and environment settings.

Can I run database migrations and reseeding on AWS EC2 during a deployment?

Yes, you can perform safe database maintenance on AWS EC2 including migrations, reseeding, and health checks with rollback readiness as part of the Docker Compose deployment workflow.

What is the best way to manage Docker container lifecycle on EC2 for routine infrastructure maintenance?

The best way to manage Docker container lifecycle on EC2 is automating the pull, build, and up commands via Docker Compose, followed by health verification to ensure production services are running correctly.

Does this deployment workflow support hot redeploys on AWS?

Yes, the deployment workflow supports hot redeploys on AWS by orchestrating Docker Compose container rebuilds and applying health checks to maintain production availability during release pipelines.

Why does my EC2 deployment fail when connecting via SSH?

EC2 deployment via SSH requires the AWS CLI to be configured with valid credentials for automated instance discovery and proper SSH access to the target instance to execute Docker Compose commands.