A simple Hello World hosted on Amazon's S3.
- Create AWS account
- Install AWS CLI (version 2)
- Create IAM user with sufficient permissions (e.g., PowerUserAccess)
- Configure AWS CLI
aws s3 mb s3://hello-s3.lukket
aws s3 website s3://hello-s3.lukket --index-document index.html
aws s3api put-bucket-policy --bucket hello-s3.lukket --policy file://website-bucket-policy.json
aws s3 cp index.html s3://hello-s3.lukket/index.html
http://hello-s3.lukket.s3-website.eu-central-1.amazonaws.com/
aws s3 rm s3://hello-s3.lukket/index.html && aws s3 rb s3://hello-s3.lukket