Defining Cloud Infrastructure with Typescript - Proper Engineering ep01
Channel: Andrei Stefanie
Date: 2020-10-28

Get started with Infrastructure as Code (IaC) and AWS Cloud Development Kit (AWS CDK). In this video, we will define and deploy the de facto 2-3 tier AWS architecture including Security Groups, RDS, ASG, EC2, Application Load Balancer, and Secrets Manager.
AWS CDK allows us to actually code our infrastructure in languages such as Typescripts and Python. 

Timestamps:
0:00 - Intro
1:05 - CDK Intro
2:20 - The Architecture
5:58 - Initializing the Project
8:57 - Adding Tags
10:25 - The Plan
11:58 - Additional Packages
13:55 - VPC
16:40 - Security Groups
24:13 - Secret
27:29 - RDS
33:42 - ASG & EC2
39:08 - User Data
43:52 - Retrieving the Secret with the AWS CLI
46:24 - Application Load Balancer
50:38 - Granting Read Access for the Secret
52:40 - Outputs
53:50 - Specifying the Region
55:05 - Deploying the Stack

Resources:
The stack repo: https://github.com/AndreiStefanie/cdk-learning
CDK Docs: https://docs.aws.amazon.com/cdk/api/latest/
The demo app repo: https://github.com/AndreiStefanie/quotes-app-node

https://andreistefanie.com/