Amazon Elastic Container Service (ECS) Cluster With CentOS Image Using Terraform Registry

Troy Ingram
4 min readJun 7, 2021

Elastic Container Service (ECS)

Amazon Elastic Container Service is a fully managed container orchestration service, which integrates with the AWS platform and helps to deploy, manage, and scale containerized applications. Amazon ECS allows you to quickly launch containers using various compute options and even integrates with CI/CD and automation tools. Containers are defined in a task definition that are used to run individual tasks or tasks that are in a service. Tasks and services can be run on a cluster of Amazon EC2 instances or serverless infrastructure that is managed by AWS Fargate. AWS Fargate leverages serverless to deliver autonomous container operations resulting in reduced time spent on configuration, patching, and security.

Terraform Registry

Terraform Registry is a repository of modules written by the Terraform community. It can help you quickly get started with Terraform by using a module that someone else has already written rather than starting from scratch. Within Terraform Registry, you can find verified modules that are maintained by third party vendors, such as AWS.

Prerequisites

--

--

Troy Ingram
Troy Ingram

Written by Troy Ingram

Cloud DevOps Engineer | 5x AWS Certified | Terraform Associate | Python | Linux | DevOps