A personal static website hosted on Amazon S3 for storage and static site hosting. Amazon CloudFront for secure, fast content delivery via CDN
- Go to Amazon S3 → Create a bucket.
- Name it exactly as your bucket.
- Enable Block all public access.
- Upload your site files.
- Add a Bucket Policy to allow Origin Access so only Cloudfront can read from Amazon S3
- Origin: S3 bucket’s website endpoint
- Viewer Protocol Policy: Redirect HTTP to HTTPS
- Default root object: index.html
- Enable compression and caching
- Use CloudFront’s default domain (e.g., d1234.cloudfront.net)
- Visit the CloudFront domain in your browser
Confirm:
- Site loads correctly
- HTTPS is active
- Assets (CSS, images) are served properly