hands-on lab

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

Intermediate
Up to 2h 30m
36
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.
Lab 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

About the author
Avatar
Jeremy Cook, opens in a new tab
Content Lead Architect
Students
160,752
Labs
82
Courses
106
Learning paths
214

Jeremy is a Content Lead Architect and DevOps SME here at Cloud Academy where he specializes in developing DevOps technical training documentation.

He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 25+ years. In recent times, Jeremy has been focused on DevOps, Cloud (AWS, Azure, GCP), Security, Kubernetes, and Machine Learning.

Jeremy holds professional certifications for AWS, Azure, GCP, Terraform, Kubernetes (CKA, CKAD, CKS).

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