To host a static website using amazon s3. Create an S3 bucket to store your files and AWS provides an S3 endpoint URL to access the files directly in your browser. To use a custom domain S3 integrates with the CloudFront CDN.