The CI/CD and DevOps Blog

Continuously deploy to Amazon ECS

Amazon provides a hosted Container Service for Docker called EC2 Container Service (ECS) as part of its container focused suite of services. Many of our customers seem to love the ECR (EC2 Container Registry) and ECS combination to store and run their applications. Amazon ECS can be accessed by going to your AWS Management Console, selecting EC2 Container Service from the list of Services. 

In part I of this series, I demonstrated a simple scenario where we built and pushed a Docker image to ECR as part of the CI build workflow. In this blog post, I will show how you can set up deployment of the same sample application into Amazon ECS, In the last part of this series, I'll show how you can complete your Continuous Delivery pipeline with deployment into subsequent environments, promotion workflows between environments, and release management.

If you want to follow along with the step by step tutorial you can fork our sample, sign in to Shippable, and set up the CI/CD workflow as described. 

Sign in for free

Pushing your Docker image to Amazon ECR after CI

Amazon provides a hosted private registry for Docker images called EC2 Container Registry (ECR) as part of its container focused suite of services. Many of our customers seem to love the ECR and ECS (EC2 Container Service) combination to store and run their applications. Amazon ECR can be accessed by going to your AWS Management Console, selecting EC2 Container Service, and clicking on Repositories in the left sidebar. 

In this blog post, I will go through a simple scenario with a sample project where we enable a project for CI, build a docker image as part of the workflow, test the image, and then push it to Amazon ECR. In the next blog, we will then set up the rest of the Continuous Delivery pipeline for the sample application.

If you want to follow along with the step by step tutorial you can fork the sample used in this tutorial, sign in to Shippable, and set up the CI/CD workflow as described. 

Sign in for free

Setup a Container Cluster on AWS with Terraform Part 1-Provision a VPC

This post will be the first in a series of posts covering the basics of using Terraform to configure a container cluster on AWS and run a service on the cluster.  If you're not already familiar, Terraform is a pretty incredible open source tool from Hashicorp for configuring and launching infrastructure across a variety of providers.  By enabling you to manage your infrastructure provisioning and configuration as code (i.e. "Infrastructure as Code"), Terraform gives you repeatability and consistency, which you'll find tremendously useful when setting up complicated infrastructures, such as a container cluster and its underlying infrastructure on AWS.