๐ Pulumi Deploy and Document Challenge Submission
This project is part of the Pulumi Deploy and Document Challenge, showcasing a fast and automated static website deployment on AWS S3 using Pulumi.
๐ What I Built
I created a fully automated static website hosted on AWS S3 using Pulumiโs Infrastructure-as-Code (IaC) approach. The website serves a simple "Hello, World!" page with static assets, making it easy to deploy, manage, and scale.
๐ Live Demo
๐ Project Repository
๐ My Journey
Throughout this project, I gained hands-on experience in:
โ
Setting up & configuring an S3 bucket for static hosting
โ
Defining infrastructure using Pulumi YAML
โ
Debugging common Pulumi YAML syntax issues
โ
Managing AWS S3 website endpoints & permissions
One major challenge was configuring the website properly. Initially, I mistakenly used website
instead of websiteConfig
, which caused deployment errors. Debugging Pulumiโs error messages helped me understand AWS resources better and improved my troubleshooting skills.
โ๏ธ Pulumi Features Used
๐น S3 Bucket Configuration โ Used aws:s3:BucketV2
for storage
๐น Website Hosting โ Configured aws:s3:BucketWebsiteConfigurationV2
๐น Static File Uploads โ Deployed index.html
& error.html
using aws:s3:BucketObject
๐น Pulumi Outputs โ Extracted the website URL dynamically for easy access
๐ Final Thoughts
This project was a fantastic introduction to Infrastructure-as-Code (IaC) with Pulumi! It simplified cloud infrastructure management, making deployments more efficient and reproducible. Looking forward to building more with Pulumi! ๐โจ
Top comments (0)