AWS in Plain English

New AWS, Cloud, and DevOps content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

Member-only story

AWS CodePipeline for Amazon ECS, Part 1: A Rolling Updates Deployment Type

Ivan Polovyi
AWS in Plain English
10 min readJul 25, 2021

--

At the beginning of this tutorial, we will create the ECS cluster and deploy an app on it. Then we will create the pipeline to build and deploy the app to this cluster. The ECS cluster will be simple, I won’t focus match on security and high availability. I have a separate tutorial where I explain how to create an ECS cluster from scratch step by step. So if you would like to learn more, please check here.

The diagram below explains how the AWS CodePipeline integrates with the AWS ECS with rolling updates deployment type.

Tutorial diagram

1. Create a load balancer

Go to EC2 -> Load Balancing -> Load Balancers -> Create Load Balancer. Select Application Load Balancer and press Create. Give it a name, and select default VPC and at least 2 subnets, and press Next.

Configure load balancer page

Then select Create a new security group and give it a name press Next.

--

--

Published in AWS in Plain English

New AWS, Cloud, and DevOps content every day. Follow to join our 3.5M+ monthly readers.

Written by Ivan Polovyi

I am a Java Developer | OCA Java EE 8 | Spring Professional | AWS CDA | CKA | DCA | Oracle DB CA. I started programming at age 34 and still learning.

No responses yet

Write a response