This project shows how to host a fast and secure static website using AWS services.
It uses Amazon S3 to store the site and CloudFront to deliver it globally with HTTPS.
- S3 → Stores website files (HTML, CSS, JS, images).
- CloudFront → Speeds up delivery and adds HTTPS.
- ACM → Provides SSL certificate for secure access.
- Route 53 → Optional, for custom domain setup.
| Feature | Benefit | 
|---|---|
| Simple | Easy to set up and manage | 
| Low cost | Pay only for storage and traffic | 
| Secure | HTTPS with managed certificates | 
| Fast | Global delivery via CDN | 
- Personal portfolios
- Company landing pages
- Marketing microsites
- Documentation sites
- Architecture diagram
- Terraform code for S3, CloudFront, ACM, and Route 53
- Example static website with logo and assets
- Deployment scripts
Here are a couple of screenshots of the deployed site:
# 1. Configure Terraform variables
# Edit terraform.tfvars with your project details
# project_name   = "YOUR_PROJECT_NAME"
# domain_name    = "YOUR_DOMAIN_NAME"
# hosted_zone_id = "YOUR_HOSTED_ZONE_ID"
# 2. Deploy the infrastructure
cd scripts
./deploy.sh
# 3. Verify your website
# 4. Destroy the infrastructure (optional)
cd scripts
./destroy.sh

