Terraform for ECS Containers Overview


In this lesson, we show you how to use terraform in combination with AWS to create the necessary infrastructure to deploy a container to ECS Fargate.

Learning Objectives

  • Creating the required infrastructure for your containers
  • Creating the task definition that you can then deploy as a service
  • And we’ll cover some best practices around using Terraform

Intended Audience

  • Those interested in managing cloud resources in an automated fashion and deploying containers
  • Essentially anyone with a background in System Administration, DevOps, or Software Development


  • Scripting in general, although Terraform is NOT a computer language, it doesn’t hurt if you know how to code
  • AWS Services to run and support containers, such as ECS, EC2, Load Balancing, and Security groups
About the Author
Carlos Rivas
Sr. AWS Content Creator
Learning paths

Software Development has been my craft for over 2 decades. In recent years, I was introduced to the world of "Infrastructure as Code" and Cloud Computing.
I loved it! -- it re-sparked my interest in staying on the cutting edge of technology.

Colleagues regard me as a mentor and leader in my areas of expertise and also as the person to call when production servers crash and we need the App back online quickly.

My primary skills are:
★ Software Development ( Java, PHP, Python and others )
★ Cloud Computing Design and Implementation
★ DevOps: Continuous Delivery and Integration


Covered Topics