This repository contains the completed code for the labs in the AWS Fundamentals Workshop created by superluminar. The workshop is designed to provide hands-on experience with core AWS services using AWS CDK (Cloud Development Kit) with TypeScript.
The repository is organized into multiple lab directories, each representing a different stage or concept in the workshop:
lab_1
: Introduction to AWS CDKlab_2
: Working with Lambda and S3lab_3
: Networking with VPC and Security Groupslab_4
: EC2 and S3 Integrationlab_5
: RDS Database Integration
Each lab directory contains its own CDK stack implementation and associated resources.
To run these labs, you'll need:
- An AWS account
- Node.js and npm installed
- AWS CDK CLI installed (
npm install -g aws-cdk
)
- Clone this repository
- Navigate to the desired lab directory (e.g.,
cd lab_1
) - Install dependencies:
npm install
- Deploy the stack:
cdk deploy
Basic CDK setup and a simple CloudFormation output.
Creates an S3 bucket and a Lambda function with permissions to interact with the bucket.
Sets up a VPC with public and private subnets, and configures security groups.
Deploys an EC2 instance with access to an S3 bucket, demonstrating IAM roles and security groups.
Adds an RDS MySQL instance to the existing infrastructure, showcasing database deployment and security configurations.
- Each lab builds upon the previous ones, gradually increasing in complexity. Labs 1 and 2 are intended to be reset before continuing with the other labs. Labs 3, 4, and 5 do not need to be reset.
- Make sure to destroy the stacks after you're done to avoid unnecessary AWS charges:
cdk destroy
- Review the AWS pricing for the services used in these labs.
For more information on the services and concepts covered in this workshop, refer to the official AWS documentation:
This project is licensed under the MIT License - see the LICENSE file for details.