In this demo, we will:
1. Create an S3 bucket and upload a sample HTML file.
2. Create a CloudFront distribution.
3. Configure the S3 bucket for CloudFront access.
4. Test the CloudFront distribution.
5. Enable additional CloudFront features.
6. Clean up resources.
my-cloudfront-demo-bucket-297312
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CloudFront Demo</title> </head> <body> <h1>Hello from CloudFront!</h1> <p>This content is being served through Amazon CloudFront.</p> </body> </html>
Copy Distribution URL
http will get automatically redirected to https
By Deepak Dubey
Amazon CloudFront - Hands-On Demo