Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Chapter 6 — Cloud, Infrastructure & CI/CD

Provision real cloud infrastructure, build serverless APIs, and automate deployments with GitHub Actions.

Labs

Lab Description
Lab 01 — EC2 + CI/CD Launch EC2 with Terraform, deploy nginx, automate with GitHub Actions
Lab 02 — Lambda S3 Trigger Trigger a Lambda function on S3 file upload, view logs in CloudWatch
Lab 03 — Lambda REST API Expose Lambda as a REST API via API Gateway (GET + POST)
Lab 04 — Lambda + MongoDB Full serverless stack: API Gateway → Lambda → MongoDB on EC2

Other Files

File Description
iam-policies.md IAM student policies — attach these to student IAM users
terraform/ Terraform template to provision EC2 with security groups
scripts/ec2-setup.sh EC2 bootstrap script
starter-apps/hello-cicd/ Starter app used in the CI/CD lab

Prerequisites

  • AWS CLI installed and configured (aws configure)
  • Terraform installed (terraform -version)
  • Git installed and GitHub account ready
  • AWS IAM user with student policies attached (see iam-policies.md)