Cloud & DevOps · Beginner
AWS · CI/CD · GitHub Actions
Build an Immutable EC2 Web Server with AWS CDK
Build and deploy a complete immutable EC2 web-server solution on AWS using TypeScript and Infrastructure as Code. Learners will create their own AWS account, write a small TypeScript CDK project, build a reusable Windows EC2 image with the application pre-installed, deploy the immutable instance, connect to it securely, and verify the deployed HTTPS website in a browser. The final application displays a BBTrain demo page confirming that the learner successfully deployed a website on an immutable EC2 server.
What you’ll be able to do
- Understand immutable infrastructure and why servers are replaced instead of modified
- Create and configure an AWS account for hands-on cloud labs
- Build AWS infrastructure using TypeScript and AWS CDK
- Create a reusable EC2 image with application dependencies pre-installed
- Deploy an immutable Windows EC2 web server from the custom image
- Configure networking and secure web access
- Connect to the EC2 instance using Remote Desktop
- Validate the deployed application through HTTPS using Microsoft Edge
- Update the application by rebuilding and replacing the immutable EC2 instance
- Destroy lab resources safely and understand basic AWS cost controls
Course plan
01AWS Account, IAM and Cost SafetyWeek 1
02TypeScript and AWS CDK FundamentalsWeek 2
03Build the BBTrain Demo Web ApplicationWeek 3
04Create the Immutable EC2 Image and Component ScriptWeek 4
05Deploy the Immutable EC2 InfrastructureWeek 5
06RDP, HTTPS Validation, Immutable Update and Final ProjectWeek 6