How to do it...

  1. Log in to the AWS Console, navigate to Network & Content Delivery, and then select CloudFront.
Select CloudFront
  1. Navigate to Distributions and click on Create Distribution.
Create CloudFront Distribution
  1. After that, click on Select delivery method | Web | Get Started.
CloudFront Delivery Method
  1. Provide an Origin Domain Name (here you can provide the EC2 public name/ELB name/domain name as per your requirement).
CloudFront: ...

Get AWS Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.