NOTE: REFER GITHUB FOR SCRIPTS
cloudformation-template.yml Explanation:
π§± PARAMETERS
Parameters:
AmazonLinuxAMIID: ...
MyIP: ...
KeyName: ...
π‘ Purpose:
- Dynamic & reusable template. You donβt hardcode values like the AMI ID, IP, or KeyName β good CI/CD hygiene.
MyIP
is used to limit SSH access securely using /32
(single IP access).
π NETWORK INFRA
β
VPC, IGW, Subnet, Routing
VPC, InternetGateway, VPCGatewayAttachment, PublicSubnetA
Creates:
- Custom VPC:
10.11.0.0/16
- One Public Subnet:
10.11.0.0/20
- Internet Gateway + routing to
0.0.0.0/0
for full internet access.
π¦ Route Table + Subnet Association