hands-on lab
Provisioning an Amazon ECS Cluster Using Terraform
Difficulty: Intermediate
Duration: Up to 45 minutes
Students: 239
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Description
Terraform is an infrastructure-as-code tool that makes handling infrastructure more straightforward and manageable. A Terraform module is a collection of configuration files that encapsulate groups of resources dedicated to one task. Modules can be used to package and reuse resource configurations, making it easier to manage larger application components like an Amazon ECS Cluster.
In this lab, you will provision an Amazon ECS Cluster into an existing Amazon VPC.
Learning objectives
Upon completion of this intermediate-level lab, you will be able to:
- Define a Terraform module that deploys Amazon ECS resources
- Apply an Auto Scaling Group Policy to respond to ECS metrics
- Deploy an Amazon ECS Cluster into an existing Amazon VPC using Terraform
Intended audiences
- Cloud Architects
- DevOps Engineers
- Software Engineers
Prerequisites
Familiarity with the following will be beneficial but is not required:
- Amazon Elastic Container Service
- Terraform
The following content can be used to fulfill the prerequisites:
Environment before
Environment after
Covered topics
Lab steps
Configure Terraform AWS Credentials
Reviewing the Existing AWS Infrastructure
Defining an Amazon ECS Cluster Using Terraform
Applying CloudWatch Monitoring and Auto Scaling to an ECS Cluster With Terraform
Deploying and Testing an Amazon ECS Application