Menu
Lab

LAB: Setting Up Amazon ECS with an Application Load Balancer using AWS CDK

70 Enrolled
2 hour

Course Overview

Context

You work for a fictitious company, CloudCorp Solutions, specializing in cloud solutions. CloudCorp Solutions aims to deploy containerized applications using Amazon ECS (Elastic Container Service) along with an Application Load Balancer (ALB), leveraging AWS CDK for infrastructure as code.

Problem Statement

CloudCorp Solutions needs to deploy and manage containerized applications efficiently. Utilizing Amazon ECS for container orchestration, an ALB for load balancing, and AWS CDK for infrastructure as code, the company wants to set up a scalable and reliable deployment.

Lab Objectives

  1. Set Up AWS CDK Environment: Configure AWS CDK on your local machine.
  2. Initialize a CDK Project: Set up a new AWS CDK project.
  3. Install Necessary CDK Packages: Install required AWS CDK packages for ECS, ECR, and ALB.
  4. Write CDK Code: Define ECS cluster, ECR repository, and ALB in your CDK stack.
  5. Deploy the Infrastructure: Deploy the ECS cluster, ECR repository, and ALB.
  6. Verify Deployment: Ensure the deployment is successful and the services are running correctly.

Prerequisites

Before starting the lab, ensure you have the following:

  • Basic knowledge of AWS CDK.
  • An active AWS account.
  • AWS CLI installed and configured.
  • Docker installed locally.
  • AWS CDK installed.
  • TypeScript installed.
  • Node.js and NPM installed.

Détails

  • 1 Section
  • 1 Lesson
  • 2 Hours
Expand all sectionsCollapse all sections

Instructor

Avatar de l’utilisateur

Armel Ngando

4.8
7 Reviews
30 Students
95 Courses