I am working on a proof of concept static website and would like to use Amazon's S3 website hosting facility. I currently do not have a domain name but would like to secure the website with some form of username and password for access until we are ready.
I couldn't seem to find a quick and easy way to do this. I was thinking to use a NGINX docker image on my EC2 instance, use basic auth and serve the files from S3. Will this work or are there any other ways (lambda?) I can do this? Any pointers or example code would be much appreciated.