EC2 Container Service (ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster of Amazon EC2 instances. To run an application on ECS, you need the following components: Docker image ECS cluster: EC2 instances running Docker and the ECS agent ECS service: […]
Archives for March 2017
Painlessly create or update a CloudFormation stack in an idempotent way
When integrating CloudFormation into your CI/CD pipeline you are faced with the challenge of creating a CloudFormation stack on the first run of the pipeline, while you need to update the stack for all following pipeline runs. If you use the AWS CLI this is painful. You may also have your code and template in […]
AWS Velocity Series: EC2 based app CI/CD pipeline
In the previous article, you learned how to use CloudFormation to describe a production-ready infrastructure for an EC2 based app. In this article you will learn to: Automate the creation of an AMI that contains the app with Packer Deploy a CloudFormation stack based infrastructure/ec2.yml with AWS CodePipeline Run the Acceptance tests on AWS CodeBuild […]
AWS Velocity Series: EC2 based app infrastructure
To run a production-ready application on EC2 gives you maximum freedom but also maximum responsibilities. By production-ready, I mean: Highly available: no single point of failure Scalable: increase or decrease the number of instances based on load Frictionless deployment: deliver new versions of your application automatically without downtime Secure: patching operating systems and libraries frequently, […]