Bootstrap FreeKB - Amazon Web Services (AWS) - Create CloudFront Distributions using the AWS CLI
Amazon Web Services (AWS) - Create CloudFront Distributions using the AWS CLI


CloudFront is an Amazon Web Services (AWS) Content Delivery Network (CDN) service. One option is to return objects (files) in an S3 Bucket. For example, let's say you have an index.html file in your S3 Bucket.

 

The aws cloudfront create-distribution command can be used to create a CloudFront Distribution. In this example, the CloudFront Distribution is associated with an S3 Bucket.

aws cloudfront create-distribution --origin-domain-name my-bucket-abc123.s3.amazonaws.com --default-root-object index.html

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter fd6ce1 in the box below so that we can be sure you are a human.