
A short summary about myself and what we will do in this course.
I explain what AWS CDK is and why you should use it.
Why you should use CDK over writing YAML templates
Explaining more in details what Constructs are and which different kinds of those existing.
Here we are starting our API Gateway example which will be used through the entire tutorial.
Get a basic understanding of the aws-cdk-staging-pipeline.
Here I give an overview about the frontend and backend of the Todolist and present the staging pipeline
Here I will explain why you should use Projen and how you can setup Projen and AWS CDK for building amazing AWS CDK stacks
Here we will fork from my Todolist AWS CDK repos. After that I will show you how to create an GitHub access token and how to store it in AWS Secret Manager. We will need that later for the pipeline so that it acts as a webhook for new commits.
For letting AWS CDK creating and managing our AWS resources accross staging accounts
Setting up a new AWS CDK App with Projen.
Here we will setup the backend with AWS CDK.
Here we extend the AWS CDK Stack to be a stage.
Here we are setting up the staging pipeline for the backend stack.
Here we setup the frontend AWS CDK App with Projen.
In this section we use Projen to setup a React TS App.
Here we setup a little Projen script for starting the React TS App locally.
Here we defining a script for automatically fetching backend details like the AppSync URL
The GraphQL Code Generator generates TypeScript Code out of an GraphQL
Schema file.
We setting up the login screen for the Todolist.
Here we define the Navbar for the React TS App.
Here we define the Router for the React TS App.
Here we setup the Todolist component.
Here we are extending the AWS CDK Stack to be a Stage.
Here we setup the frontend pipeline for deploying the React TS App to a dev and afterwards to a prod stage.
Here we setup integration tests for the frontend and backend which run after the deployment to AWS.
In this section I want to give thanks.
Infrastructure as Code (short IaC) is a powerful method to create and maintain you deployments. AWS CDK is a very famous way of defining your deployment with IaC. AWS CDK synthesize to AWS Cloudformation which looks back on many years of use in divers productions. So yes AWS CDK is production ready!
In this course you are learning about the basics of AWS CDK which is an open source framework to generate Cloudformation templates out of code written in languages like Java, JavaScript, TypeScript or Python. CDK uses Constructs to describe one or more Cloudformation resources.
After that we build a Todolist platform consisting of a frontend React TS App hosted in an S3 Bucket and a backend with AppSync, Cognito and DynamoDB. Frontend and Backend are supported by a deployment pipeline. Each new commit triggers a new run of the AWS CodePipeline frontend or backend pipeline.
For setting up the projects and maintaining them we are using Projen which is a very helpful templating tool with a lot of useful tools for working with AWS CDK.
So lets join me in having a very nice DevOps like experience with AWS CDK and Projen.
Feel free to provide any feedback. Find my handles on: https://martinmueller.dev
:)