CI and CD
insecure/
a nodejs project with insecure dependenciesmashup/
some messed up JSunittesting/
some unit tested js
see Github Actions, Getting started
- Get CI to test for insecure modules
- Fix issues
- recommit
- Get CI to detect messed up JS
- Fix issues
- recommit
- Mash it up again
- recommit
- Get CI to run unit testing
- Fix issues
- recommit
- Add a new test case for Bulgarian
- recommit
- Create a new project called
combined/
which outputs a hello greeting depending on the language you pass in the url- It must lint
- It must check for known security vulns in dependencies
- It must run unit tests for new languages
- Add secrets scanning (
git-secrets
?talisman
?)
-
Create VPC:
10.0.0.0/22
-
Get Github actions to deploy your IaC
-
Create Pub subnets:
- a:
10.0.0.0/24
- b:
10.0.1.0/24
- a:
-
Create Pvt Subnets:
- a:
10.0.2.0/24
- a:
-
Create IGW
-
Create Public Route Tables
-
Create NAT gateway
-
Create Private Route Table
- Clickops a
t3.micro
instance in a public subnet with port 22 open and ssh in - Delete that instance and script a
t3.micro
instance into the private subnet - Create Network load balancer (NLB)
- Connect load balancer to instance
- Deploy application to private instance