Container Deployment to AWS is a devops workflow that chains Docker + AWS to automate a common task. Build, tag, push to ECR and deploy to ECS in one automated pipeline triggered by a git tag or manual dispatch. Once configured, it saves ~8 hours/week per DevOps engineer, plus elimination of deploy-day war rooms and runs through Claude Code, Cursor, Windsurf or any MCP-compatible AI agent.
Build, tag, push to ECR and deploy to ECS in one automated pipeline triggered by a git tag or manual dispatch.
None of these MCPs are hosted yet. Install and run the recipe locally:
mcpizy recipe install docker-aws-container-deployDocker packages your application into a reproducible image, and AWS ECS runs it at scale. Combining them through MCPs lets you go from git tag to live container without touching the AWS console or writing bespoke shell scripts. The SHA-based tagging ensures every deployment is fully traceable.
Manually build image, tag it, push to ECR, update task definition in AWS console, trigger deployment, watch logs and pray.
Push a git tag. The pipeline builds, pushes, deploys, health-checks, and notifies — end to end in one click.
Concrete ROI — not marketing fluff.
Time saved
~8 hours/week per DevOps engineer, plus elimination of deploy-day war rooms
This prompt is the workflow. Paste into Claude Code, Cursor, or Windsurf.
You are a container deployment agent. Triggered on git tag push (release tags: v*).
Given the git SHA and tag:
1. Call docker.build_image(context=".", tag="${ECR_REPO}:${SHA}") — fail if build errors
2. Call docker.push_image(tag) to push to Amazon ECR
3. Call aws.ecs_update_service(cluster, service, image=tag, force_new_deployment=true)
4. Poll aws.ecs_describe_services every 20s until deploymentStatus === "PRIMARY" stable (timeout 10min)
5. On failure: call aws.ecs_update_service with previous image tag (rollback) and report the error
6. Report final status: "Deployed <tag> → <service> — health: <count>/<desired> healthy"
Never deploy if tests haven't run (check CI status via preflight).How this workflow fires and what env vars you need.
Git tag push matching v*.*.* (add to CI pipeline or run manually with mcpizy recipe run)
DOCKER_HOSTDocker daemon socket (defaults to unix:///var/run/docker.sock)
e.g. unix:///var/run/docker.sock
AWS_SECRET_ACCESS_KEYAWS secret access key
e.g. wJalrXUtnFEMI/...
AWS_REGIONRegion where ECR + ECS live
e.g. us-east-1
ECR_REPOSITORYECR repo name
e.g. my-app
ECS_CLUSTERECS cluster name
e.g. prod-cluster
ECS_SERVICEECS service name
e.g. my-app-svc
Install everything — MCPs, prompt, env template — in a single call.
$ mcpizy recipe install docker-aws-container-deploy ✓ Installs all 2 MCP servers ✓ Writes prompt to ~/.mcpizy/prompts/docker-aws-container-deploy.md ✓ Generates .env.example in current directory ✓ Ready to paste into Claude Code
Requires mcpizy CLI v1.1+ — install via npm i -g mcpizy.
$ mcpizy install docker && mcpizy install awsEvery push to main triggers a Supabase migration automatically. Schema diffs are committed and applied with zero manual steps.
Open a PR and a Vercel preview URL appears as a comment within minutes. Branches are cleaned up automatically when PRs close.
Each PR gets its own Neon database branch for isolated testing. Branch is deleted automatically when the PR closes.
A Linear issue assigned to a developer automatically creates a git branch, syncs status changes, and opens a draft PR.
Container Deployment to AWS is a devops automation that uses Docker + AWS together via the Model Context Protocol. Build, tag, push to ECR and deploy to ECS in one automated pipeline triggered by a git tag or manual dispatch.
Setup takes around 30 min setup, fully automated deployments. You install the required MCP servers with `mcpizy install docker && mcpizy install aws`, connect your accounts, and the workflow is ready to run.
Once running, this workflow saves ~8 hours/week per DevOps engineer, plus elimination of deploy-day war rooms. The concrete business value: Cuts mean time to deploy from 45min to under 5min — release 10x per day instead of 2x per week; Rollback in 60 seconds instead of 30min incident calls — saves ~$8k per production incident on SaaS products.
You need 2 MCP servers: Docker (mcpizy install docker), AWS (mcpizy install aws). All are installable in one command via the MCPizy CLI and configured in your `.claude.json` or `.cursor/mcp.json`.
Yes. The workflow runs with any MCP-compatible AI agent — Claude Code, Claude Desktop, Cursor, Windsurf, VS Code with Copilot, and custom agents built on the MCP SDK. The MCP servers are identical across clients; only the config file path (`.claude.json` vs `.cursor/mcp.json`) changes.
Install the required MCPs from the marketplace and automate this in 30 min setup.
$ mcpizy install docker && mcpizy install aws
Free to install. Connect your accounts and this workflow runs itself.