TLDR InfoSec · STRATEGIES & TACTICS

HOW TO CREATE AN AMI HARDENING PIPELINE AND AUTOMATE UPDATES TO YOUR ECS FLEET

aws.amazon.com5 min read

Summary from the TLDR InfoSec newsletter

Amazon ECS allows for the use of EC2 instances as a container host to increase user control over the ECS environment. This tutorial from AWS walks through the process of setting up an EC2 Image Builder pipeline that begins with an Amazon ECS Optimized AMI and then applies the CIS Docker host benchmarks to the AMI. It then goes through how to use a Lambda step function to update the ECS fleet with the new AMI. The walkthrough includes a CloudFormation stack to deploy the infrastructure automatically.