In this workshop, we will setup a simple stack using AWS CDK. We will then vary this stack to two different environments, and deploy it using Github Actions.
You'll need the following before starting this workshop:
- AWS Account
- A Github Account
Warning
While every effort has been made to minimise AWS costs arising from this workshop, you may incur higher than expected costs depending on how long you leave your infrastructure running. Be sure to cleanup all resources (described in the last step) once you've completed this exercise.
And locally, you'll need these tools to complete this workshop:
- Node.js
- Git
- AWS CDK CLI (
npm i -g aws-cdk)
Tip
This repository is configured to setup a Github Codespaces which can help you get setup quickly. More information on Github Codespaces can be found here
A few technologies we'll be working with:
- AWS CDK (w/ Typescript) & Cloudformation
- Github Actions
- AWS EC2
- Nginx
To get started with the workshop, please fork this repository into your own account/organisation. Be sure to untick the "Copy the 0-intro branch only" option. Once you're set up, switch to the 1-setup branch.