Infrastructure as Code, Master AWS Cloud Development Kit CDK

Infrastructure as Code, Master AWS Cloud Development Kit CDK

English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 53 lectures (3h 47m) | 1.63 GB

AWS Cloud Development Kit (AWS CDK) Create and provision AWS infrastructure as code. Deployments predictably &repeatedly

AWS Cloud Development Kit (AWS CDK)

Welcome to the AWS Cloud Development Kit (AWS CDK) Developer Guide. This document provides information about the AWS CDK, which is a software development framework for defining cloud infrastructure in code and provisioning it through AWS CloudFormation.

AWS CloudFormation enables you to:

Create and provision AWS infrastructure deployments predictably and repeatedly.

Leverage AWS products such as Amazon EC2, Amazon Elastic Block Store, Amazon SNS, Elastic Load Balancing, and Auto Scaling.

Build highly reliable, highly scalable, cost-effective applications in the cloud without worrying about creating and configuring the underlying AWS infrastructure.

Use a template file to create and delete a collection of resources together as a single unit (a stack).

Use the AWS CDK to define your cloud resources in a familiar programming language. The AWS CDK supports TypeScript, JavaScript, Python, Java, and C#/.Net.

What you’ll learn

  • What is the CDK – Cloud Development Kit
  • What is the CDK doing behind the scenes
  • How to use Infrastructure as Code
  • How to use Infrastructure as Code on AWS
  • How to track Infrastructure using version control
Table of Contents

Introduction to CDK
1 Introduction to AWS CDK
2 Creating an AWS account
3 Initial Environment setup to use the CDK, appendix section and checking for node
4 Installing the AWS CLI and configuring it
5 Installing the AWS CDK (Cloud Development Kit)

Creating our first simple application with the CDK
6 Creating our first CDK app in TypeScript using CDK int
7 Adding a S3 Bucket to our Stack using CDK
8 Learning to navigate the AWS CDK Documentation

Deploying our simple CDK application to Amazon AWS
9 Bootstrapping our application with CDK Bootstrap
10 Deploying our Bucket to AWS using the CKD

Testing our CDK Infrastructure
11 Creating our Template file using CDK synthesize
12 Testing for the resource and the output infrastructure creation from CDK
13 Installing the assert package and creating testing on the CDK Resource Created

Creating a lambda function using the AWS CDK
14 Laying the groundwork for our lambda function created with CDK
15 Creating the handler of our CDK lambda function in TypeScript
16 Creating our AWS Lambda Resource in the CDK
17 Creating and deploying our TypeScript Lambda Content to the CDK Lambda
18 Testing our CDK Lambda function and understand CloudWatch logs

Deploying assets to our S3 Bucket using AWS CDK
19 Deploying assets to the S3 Bucket and passing it name to the CDK Lambda Function

Accessing the S3 Bucket from our CDK Lambda Function
20 Linking our S3 bucket to our Lambda Function using the AWS CDK
21 Generating Signed URL with expired to access our Photos in the CDK S3 Bucket

AWS CDK and IAM rules
22 Creating IAM rules using AWS CDK

Creating a API Gateway with CDK to be able to access our Lambda Functions
23 Adding a APIGateway using the AWS CDK
24 Creating the API Lambda integration and Access Routes with CDK

Creating and deploying our React app to AWS using AWS CDK
25 Creating our React App using TypeScript with the AWS CDK
26 Creating a S3 bucket with public read access to host our React Website

Connecting our React website to a cloudFront with CDK
27 Creating our CloudFront using AWS CDK

Displaying the protected and encoded images on our website using AWS CDK
28 Adding Axios and Bootstrap to our React app (and a little clean up)
29 Making request from our React App to our Lambda Function
30 Showing a Bootstrap Image Carousel from our photos
31 Making our Website good looking with Bootstrap

Re-Deploying our new Website using AWS CDK
32 Deploying the changes on the Website to the S3 Bucket in AWS
33 Cleaning the CloudFront cache

Clean up, how to deleting a Stack using the AWS CDK
34 Removing the CloudFormation Stack with CDK destroy

It is time for a course and a CDK update
35 Updating all packages to latest including CDK CLI
36 Re-Deploying with the new CDK version and fixing the getAllPhotos endpoint

Multiple stacks and development and production stagings using the AWS CDK
37 Creating multiple stacks and staging environment
38 Removing multiple stacks at once

Adding our own domain using Route53 and Certificate Manager on AWS CDK
39 Reverting the Staging changes
40 Creating a new DNS Stack
41 Creating a HostedZone in Route53
42 Passing data from different Stacks in CDK
43 Create a HTTPS Certificate using AWS Certificate Manager using the CDK
44 Updating the CloudFront to use our new Certificate
45 Creating a ARecord using the AWS CDK
46 Deploying our DNS stack
47 Deploying main stack

Creating Custom Constructors for AWS CDK
48 Creating a custom constructor for the S3 Bucket creation and deployment
49 Passing the value of the bucket back
50 Passing props to the new custom constructor
51 Small but important fix to pass the bucket value
52 Deploying our stack with Custom Constructor

Bonus Section – Including Amazing Deals
53 Bonus – Because the learning can never stop