A curated list of awesome ECS guides, development tools, and resources
Switch branches/tags
Nothing to show
Clone or download
nathanpeck Merge pull request #22 from jasonumiker/master
Added my Clair Fargate example
Latest commit 9f11622 Oct 19, 2018

README.md

A curated list of guides, development tools, and resources for Amazon Elastic Container Service (ECS). This list includes both community created content as well as content created by AWS.

Want to add something? Open a PR! 🙂

Pick your container hosting strategy:

  • AWS Fargate - AWS Fargate is a technology for Amazon ECS that allows you to run containers without having to manage servers or clusters.
  • Self hosted in EC2 - Running your own cluster of EC2 instances to host your containers gives you the most control over price (ability to run on spot instances or reserved instances) as well as configuration.

AWS Fargate

Setting up Fargate

  • fargate - Command line tool for interacting with AWS Fargate. With just a single command you can build, push, and launch your container in Fargate, orchestrated by ECS.
  • CloudFormation Templates - Sample CloudFormation templates to help you spin up a Fargate cluster, and service in that cluster automatically
  • Terraform - Use Terraform to deploy your docker containers in Fargate

Application Deployments in Fargate


Self hosted in EC2

Getting Started

Infrastructure as Code

Examples of using tools to describe your ECS infrastructure as code, for automation of deployments:

  • mu - Automates everything relating to ECS devops and CI/CD. This framework lets you write a simple metadata file and it constructs all the infrastructure you need so that you can deploy to ECS by simply pushing to your Git repo.
  • Sample CloudFormation templates for ECS - Examples of launching containers with both public, and private networking, behind a public facing load balancer, as well as behind a private, internal load balancer.
  • CloudFormation ECS - Reference architecture for deploying microservices to ECS in tiered VPC with NAT gateways and two availability zones.
  • Terraform ECS by Armin Coralic - Production ready AWS ECS infrastructure as code with Terraform
  • CloudFormation Templates by Cloudonaut
  • ecsq - A developer friendly tool for querying the state of an ECS cluster
  • deployfish - Write a simplified deployfish.yml file describing your deployment and let this tool handle the heavy lifting of deploying your service.

Build and Deploy Tools

Tools to help you interact with ECS to launch your containers on your cluster of self managed EC2 instances:

  • coldbrew - Fantastic tool that provisions ECS infrastructure, builds and deploys your container, and connects your services to an application load balancer automatically. Has a great developer experience for day to day use
  • ecs-cli - Docker Compose compatible deployment tool by AWS
  • empire - Control layer on top of ECS that provides a Heroku like workflow
  • broadside - Ruby based command line tool for deploying to ECS
  • UFO - Ruby based tool for building containers and shipping them to ECS
  • bash deployment script by Justin Kulesza
  • pnzr - Go based tool for building and pushing to ECS, also has integraton with AWS KMS for secrets management.
  • deplojo - Python based deployment tool using ECS
  • convox - Easily build, deploy and scale applications on ECS
  • ecsctl - Open source tool similar to Kubernetes kubectl for ECS.
  • ecs-deploy - Simple but powerful tool for initiating automatic blue green deploys on ECS
  • ecspresso - Minimalistic: JSON file goes in, service launches
  • shipctl - Tool that supports deploying a task on ECS, rolling back, or just running a one-off task
  • ecsdeploy - A client and simplified web interface for managing your ECS cluster, rolling out and rolling back application versions
  • ecs-service - CLI tool for deploying to ECS using CloudFormation with support for .env files for environment specific configuration of your containers
  • kms-env - CLI tool for managing secrets using AWS KMS in .env files which can be used in conjunction with ecs-service to supply secrets to your containers

Implementation Guides

Examples of how to do advanced customizations on your ECS cluster:

Open Source

  • Blox - Framework for advanced cluster management and scheduling
  • Watchbot - This tool by Mapbox helps you run data processing across an ECS cluster in response to external events
  • ecs-export - A tool for exporting ECS cluster metrics to Prometheus for advanced querying
  • docker-elk-ecs - Connecting Amazon ECS container logs to an ELK (Elasticsearch, Logstash, Kibana) stack
  • Sample task definitions - Sample task definitions for running applications like Nginx, Tomcat, Gunicorn, Wildfly, Kibana, and Jetty as containers under Amazon ECS

Reference Architectures

Continuous Integration / Continuous Deployment

Presentations

Tech Blogs

Courses