A streamlined static website generator deployed to AWS S3 + CloudFront using Pulumi, featuring blazing-fast build times with Vite.js (React framework), automated HTTPS via Let's Encrypt, custom domain integration, and a CI/CD pipeline with GitHub Actions.
Key challenges faced were related to state management, CDN purging, and cost optimization. Solutions included implementing remote state locking with AWS S3 + DynamoDB, adding automated CloudFront invalidation for stale content, and implementing tiered caching with cache behaviors.
Pulumi offers real code infrastructure configuration, cross-cloud compatibility, a rich ecosystem with 80+ pre-built resource providers, and an enjoyable developer experience with Visual Studio Code previews and AWS billing integration for cost monitoring.
The project follows best practices such as using pulumi import for existing resources, implementing rollback strategies, separating config values using .env files, and monitoring costs with Pulumi's built-in AWS billing integration.