Aperçu du cours
Introduction
In this laboratory, you will learn how to provision AWS EC2 instances with a load balancer using the Cloud Development Kit for Terraform (CDKTF). CDKTF allows you to use familiar programming languages, such as TypeScript, to define and manage your infrastructure.
Objectives
- Install and configure CDKTF and required tools
- Set up AWS infrastructure using TypeScript with CDKTF
- Provision EC2 instances and a load balancer
- Manage state with Terraform Cloud
Prerequisites
- Basic Knowledge of AWS Services: Familiarity with EC2, VPC, and Load Balancers.
- Basic Programming Skills: Knowledge of TypeScript or JavaScript.
- AWS Account: An active AWS account to deploy and manage resources.
Required Materials and Software
Materials:
- A Computer: With a modern processor, at least 8GB of RAM, and a stable internet connection.
- AWS Account: For deploying and managing AWS resources.
Software:
- Operating System: A Unix-based system (Ubuntu, CentOS, macOS) is recommended. Windows users can use WSL2.
- AWS CLI: For managing AWS services from the command line.
- Terraform: For provisioning infrastructure.
- CDKTF: For defining infrastructure using TypeScript.
- Node.js and npm: For managing JavaScript packages and running CDKTF.
- Text Editor/IDE: VS Code, WebStorm, or any preferred text editor.