In this recipe, we'll learn how to secure an S3 bucket by adding a CloudFront distribution layer. We will enable SSL/TLS on the CloudFront distribution to allow only HTTPS traffic. We will configure this so that we can redirect HTTP requests to HTTPS requests. We will use the default CloudFront certificate (*.cloudfront.net) for this recipe.