Part 2 of 12 — 12 Hands-On AWS Projects
Introduction
Learning sticks better when you build something fun. In this project I will build a small web app that shows a random cloud or tech fun fact every time you open it, and I will put it on AWS with Terraform. It is a small project, but it teaches the full loop: write the code, provision the server, deploy the page, and share the link with friends.
What you will build
A fun facts web page in plain HTML and JavaScript
A button that shows a new random fact on every click
An EC2 instance hosting the page (with an S3 option below)
The whole setup provisioned with Terraform code
A public link you can share with anyone
Architecture
Terraform provisions the server, the server hosts the page, and the browser shows a random fact.
Prerequisites
An AWS account (the free tier works for this project)
Terraform installed on your laptop
AWS CLI configured with your access key (run aws configure )
A key pair created in the AWS console
A text editor and basic…