I recently built and deployed a static website that showcases DevOps tools and concepts, using:
✅Terraform — Infrastructure as Code
✅Amazon S3 — Website file storage
✅Amazon CloudFront — Content delivery
✅CloudFront Origin Access Control — Secure access to the private S3 bucket
S3 bucket is private while still allowing CloudFront to securely retrieve and serve the website files.
The entire AWS infrastructure was provisioned using Terraform, including the S3 bucket, public access block, OAC, bucket policy, website files, and CloudFront distribution.
The complete project is available in my GitHub repository for anyone who wants to clone it, review the Terraform configuration, and deploy it in their own AWS environment.