From the course: Hands-On Development in AWS

Unlock this course with a free trial

Join today to access over 24,400 courses taught by industry experts.

Using CloudFront with S3

Using CloudFront with S3

- CloudFront from AWS is a content distribution network. Essentially, you put data into some sort of origin location, you create a CloudFront distribution, and then that gets pushed, the configuration for your distribution gets pushed to all of the AWS edge locations and it allows you to get your data closer to your users. Amazon says, "Securely deliver content with low latency and high transfer speeds." With CloudFront, you're going to specify an origin server. That origin server is going to be the Gold Master content. So if you have a website that you want to distribute via CloudFront, a CDN, and you could store it in say a web server, an HTTP server, or you could put it in an S3 bucket and enable static website hosting on your S3 bucket. This origin server is considered the original version of your files. It is possible to use a non-AWS HTTP server, meaning that you don't have to use EC2 running, for example, Apache or Nginx hosting your content. You could use your own HTTP server…

Contents