Using CloudFront and Lambda@Edge to allow password-protection of static website content hosted in S3
Hosting static websites in S3 is a well-understood domain; but what happens when you want to password-protect it? It’s a static website – there’s no webserver, so you can’t do password-based access control. Or can you? Read on to learn how.
There are a few key criteria I look for in CloudFormation – If I’m in a multi-account strategy then I must be able to deploy the CloudFormation in all accounts and/or regions. Additionally I must be able to stand up multiple copies of the same stack in the same VPC and account and/or regions.
Have you considered opening sourcing any of your work? It might seem daunting, but in reality it’s not all that difficult. Here’s a brief introduction based on my first open source experience.