How to set up a CloudFront distribution for Amazon EC2

How to accelerate your dynamic content with Amazon EC2 as an origin

Amazon CloudFront works seamlessly with Amazon EC2 to accelerate the delivery of your dynamic content. In addition, if you use AWS origins such as Amazon S3, Amazon EC2 or Elastic Load Balancing, you don’t pay for any data transferred between these services and CloudFront. Watch this AWS TechTips demo and learn how to set up a CloudFront distribution with your Amazon EC2 origin. Solutions Architect David Brown will walk you through the step-by-step process on getting started in the AWS Console, configuring your origin, and beginning testing your CloudFront distribution in just 10 minutes. The video features the following steps:

1. Go to the AWS Console
2. Create Amazon EC2 instances
3. Create an Application Load Balancer
4. Create target groups with EC2 instances
5. Create a CloudFront distribution
6. Configure your origin 
7. Configure default cache behavior
8. Configure set cache based on selected request headers to "all"
9. Save distribution
10. Test your CloudFront distribution

Additionally, we created a blog and a "Getting Started" template to help you get started. Read the blog. >>

AWS TechTips 10-minute demo

Discover more Amazon CloudFront resources

Visit the resources page
Ready to build?
Get started for free with Amazon CloudFront
Have more questions?
Contact us