hands-on lab

ECS Cluster Provisioning and Automatic Deployment of a Cloud-Native Application Using Terraform

Difficulty: Intermediate
Duration: Up to 2 hours and 30 minutes
Students: 71
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

Get ready to dive deep into the world of modern cloud infrastructure and witness the power of Terraform in action.

In this hands-on lab, you'll embark on a journey into the realm of AWS cloud infrastructure and application deployment using Terraform.

Learn how to provision and integrate ECS, Aurora, Cloud Map, and Secrets Manager together with several other AWS resources using Terraform. Once the AWS cloud resources are in place, Terraform will then be used to perform an automatic deployment of a Trading Stocks themed cloud-native application.

This lab has been designed to not only guide you through the step-by-step provisioning process but also to empower you with a takeaway blueprint and architecture that you can readily apply and adapt to your own projects.

Get ready to dive deep into the world of modern cloud infrastructure and witness the power of Terraform in action.

Learning objectives

Upon completion of this intermediate-level lab, you will:

  • Understand how to use Terraform to create a VPC, launch an ECS cluster within it, and provision an Aurora RDS serverless database
  • Understand how to structure and modularise a Terraform project
  • Understand how to containerise and deploy an ECS-hosted cloud-native application

Intended audience

  • Cloud Architects
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Terraform
  • Containers
  • Amazon Virtual Private Cloud (VPC)
  • Amazon Elastic Container Service
  • Amazon Relational Database Service (RDS)
  • AWS Cloud Map
  • AWS Secrets Manager

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

Covered topics

Lab steps

IDE Access
Perform Terraform Provisioning
Trading Stocks Cloud-Native Architecture Review
Confirm AWS Resources Have Been Terraformed
Trading Stocks Application Test
ECS Container Exec