{"id":379,"date":"2021-11-03T09:17:50","date_gmt":"2021-11-03T09:17:50","guid":{"rendered":"http:\/\/18.141.20.153\/?p=379"},"modified":"2025-08-21T10:14:32","modified_gmt":"2025-08-21T10:14:32","slug":"how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/","title":{"rendered":"How to set up an AWS CloudFront distribution to speed up content delivery?"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p><img src=\"https:\/\/lh3.googleusercontent.com\/roYO7k9-cu370Xqy4HhIGfm1CDlisO1FdY_7gNXt-gv89TiJ1CS9f-6Z-xxR6Pul-lh7VIAJXGBjyKXmj5K3uHmZ04GLM6GBOsqmDxPKXU9Qp83YPh3QkX0vC53q4c2BQmzYxf5eJs07RzPC-h_jRw\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Do you know which of the world\u2019s largest live events and leading online video platforms (OVPs) use which services for their industry-leading security, performance, reliability, and full AWS stack integration? The answer is AWS CloudFront. Yes, you read it right! AWS CloudFront is the&nbsp; Content Delivery Network that has been highly optimized for Media &amp; Entertainment industry workloads. AWS CloudFront is the major player in delivering massive video-on-demand catalogs or live-stream content to millions,&nbsp; no matter where the audience is! In this blog, we will discuss everything about this amazing service followed by hands-on to create a distribution network via AWS CloudFront to cache the images stored in the Amazon S3 bucket and thus speed up the content delivery for your web application.<\/p>\n\n\n\n<p>In this blog, we will cover:<\/p>\n\n\n\n<ul><li>Companies using AWS CloudFront<\/li><li>What is a Content Delivery Network (CDN)?<\/li><li>How CDN works?<\/li><li>What is the AWS CloudFront?<\/li><li>AWS CloudFront and AWS S3 match made in heaven<\/li><li>How does the AWS CloudFront work?<\/li><li>Use cases of the AWS CloudFront<\/li><li>Benefits of the AWS CloudFront<\/li><li>Uses of the AWS CloudFront<\/li><li>What is the solution available for processing video-on-demand content on AWS?<\/li><li>Pricing Estimation<\/li><li>Hands-On<\/li><li>Conclusion<\/li><\/ul>\n\n\n\n<h2>Companies using AWS CloudFront<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">What is common between all these companies which are listed in the image below? The answer is &#8211; These all are media and entertainment companies using AWS Cloudfront service to optimize the workload and provide the fastest services!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/wdmCFwKyJ0GAkFArtVn9CcnWQ6banoifijFs6gnO1jDi0tBIKJszB7i3qW99WdEk45thT9WeLcOWmPVhbRediTtL_oPRA13L-iJ0fpd6qJWVkIRA8KwDFcSopic2GWH5XY7zULXiz-chLEn9m8ciaA\" alt=\"Companies using AWS CloudFront\"\/><\/figure>\n\n\n\n<ul><li>Amazon Prime Video &#8211; Amazon prime video provides video-on-demand, streaming, and rental services. Once they got the rights to NFL Thursday night football games. Integrating with AWS services they reached 18 million customers across 200 countries. The platform uses AWS services, including CloudFront combined with other 3rd party CDNs to provide low latency during live streaming across the Globe.<br><\/li><li>Sky News &#8211; During the Royal Wedding in the UK, Sky News used the Amazon CloudFront content delivery network to unify the content for faster distribution to viewers.<br><\/li><li>JioSaavn &#8211; JioSaavn relies on Amazon CloudFront to securely deliver 15 petabytes of music and video to global customers every day. It is not only the largest audio and video service provider in India, but they have digital Bollywood listeners and subscribers all over the world.<br><\/li><li>M6 &#8211; M6 French media company on AWS services &#8211; \u201cAfter testing a selection of CDNs for our video-on-demand needs, we selected Amazon CloudFront for the superior performances in terms of the video start time, throughput, and the lower rebuffering rate. We love how easy it is to set up distribution, having full control over the features, as well as the seamless integration with other AWS services such as Amazon S3. On top of that, we like the security features in CloudFront such as the signed URL we use to secure the distribution of our content.\u201d<br><\/li><li>HULU &#8211; Hulu is an American subscription video-on-demand service owned by Hulu LLC, a joint venture with The Walt Disney Company, 21st Century Fox, Comcast, and Time Warner. Hulu provides a great viewing experience on Live tv with a combination of AWS infrastructure.<br><\/li><li>PBS &#8211; It is a private, non-profit corporation, that provides content through television, the Web, and mobile applications. Their internet and mobile presence improved once they integrated with AWS and utilized the content delivery service Amazon CloudFront and increased its existing usage of Amazon S3.<br><\/li><li>Discovery Communications &#8211; Discovery Channel, TLC, Animal Planet, Science and Investigation Discovery, as well as US joint venture networks OWN: Oprah Winfrey Network, The Hub, and 3net, the first 24-hour 3D network. Discovery also is a leading provider of educational products and services to schools and owns and operates a diversified portfolio of digital media services, including Revision3. Discovery uses Amazon CloudFront for static, dynamic, and API delivery.&nbsp;<\/li><\/ul>\n\n\n\n<h2>What is the Content Delivery Network (CDN)?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">CDN stands for content delivery network. A CDN&nbsp; is a system of distributed servers (i.e Network) that deliver websites and different varieties of internet content to user-supported geographic locations of that user, the origin of the online page, conjointly a content delivery server.<\/p>\n\n\n\n<h2>How CDN works?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">The primary task of CDN is to create caches. Then this process leads to faster performance and low costs at scale. A cache acts like a high-speed data storage layer that stores a subset of data. The data present in a cache is generally stored in fast-access hardware such as RAM.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">For instance, after the successful configuration of Cloudfront for content, here\u2019s what happens when a user tries to access your content &#8211;&nbsp;<\/p>\n\n\n\n<ul><li>Users visit your website or application to request files like multimedia or HTML files.<\/li><li>DNS routes the request to CloudFront POP which (edge location) best serves the request.<\/li><li>In the POP CloudFront checks its cache for the requested file If the files are in the cache, CloudFront returns them to the user.&nbsp;<\/li><\/ul>\n\n\n\n<p>If the files are not in the cache, it does the following:&nbsp;<\/p>\n\n\n\n<ul><li>CloudFront compares the request with the specifications in your distribution and forwards the request for the files to your origin server for the corresponding file type \u2014 for example, to your Amazon S3 bucket for image files and your HTTP server for HTML files.<\/li><li>The origin servers send the files back to the edge location.<\/li><li>As soon as the first byte arrives from the origin, CloudFront begins to forward the files to the user. CloudFront also adds the files to the cache in the edge location for the next time someone requests those files.<\/li><\/ul>\n\n\n\n<h2>What is the AWS CloudFront?<\/h2>\n\n\n\n<p class=\"has-text-align-justify\"><a href=\"https:\/\/aws.amazon.com\/cloudfront\/\" target=\"_blank\" rel=\"noreferrer noopener\">Amazon CloudFront<\/a> is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, and high transfer speeds, all within a developer-friendly environment.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">CloudFront works seamlessly with <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-fetch-contents-of-json-files-stored-in-amazon-s3-using-express-js-and-aws-sdk\/\">Amazon S3<\/a>, <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-launch-ec2-spot-instances-using-amazon-ec2-auto-scaling-and-aws-application-load-balancer-part-2\/\">Elastic Load Balancing<\/a>, <a href=\"https:\/\/www.workfall.com\/learning\/blog\/15-awsome-years-of-amazon-ec2-and-still-going-strong\/\">Amazon EC2<\/a>, or any custom HTTP origin. With CloudFront using the secure and programmable edge computing feature AWS Lambda@Edge, you can also customize your content delivery.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/dzuBB4qltigUqwt0PC0Drdn_0Jt0fwS-XtBusJE45fyGX9E4b6405FpzJZxctYeDK_fIueK7_1ALUrUnY9ZTvNnf7yUAnX28d1OF8ChQwmrnUVx2GZ3l2LPUoS6r1G5YE8wUadCHOnh9l23W0HRbng\" alt=\"How CDN works?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">CloudFront offers advanced security such as HTTPS support, and field-level encryption, and, is seamlessly integrated with <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-secure-web-applications-using-aws-waf-and-aws-shield\/\">AWS Shield<\/a>, <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-secure-web-applications-using-aws-waf-and-aws-shield\/\">AWS Web Application Firewall<\/a>, and <a href=\"https:\/\/www.workfall.com\/learning\/blog\/how-to-send-s3-event-notification-email-using-lambda-and-ses\/\">Route 53<\/a> to protect against multiple types of attacks including network and application layer DDoS attacks. These services co-reside at edge networking locations \u2013 globally scaled and connected via the AWS network backbone \u2013 providing a more secure, performant, and available experience for users.<\/p>\n\n\n\n<h2>AWS CloudFront and AWS S3 match made in heaven<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">Amazon CloudFront is a content delivery network(CDN) that caches and proxies web data at edge locations as close to users as possible.<\/p>\n\n\n\n<p>Amazon CloudFront has two types of distributions :<\/p>\n\n\n\n<ul><li>RMTP &#8211; Used for media streaming<\/li><li>Web Distribution &#8211; Used for websites.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/li><\/ul>\n\n\n\n<p>Whereas, Amazon S3 is designed for large capacity, low-cost file storage in one specific geographical region. The storage and bandwidth costs are quite low.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/-guTPH7pmI2CPyrj-zpjsCIzydTwAczpQXhZHFuXCon-fh_G4YS_7WEldRTPxT87FVksI8BJG_TSpIiHTH6yDrWjVzo2-ha1Fc9De-htfOBmAtIuc2z1_K_pV_SvuxP7ouOYKdkBxOOSyTNYSWzWpw\" alt=\"AWS CloudFront and AWS S3\"\/><\/figure>\n\n\n\n<p>Although when combined they provide a fleet of advantages such as &#8211;&nbsp;<\/p>\n\n\n\n<ul><li>Storing and Delivering your Content with Speed and Scale<\/li><li>Secure contents like geo-restrictions signed URLs and signed cookies<\/li><li>Measures and compares site and content load times from different geographic locations.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/gQz2h0LXWmtMp5n2hF02BhjnC74dViSHOsD-422UOfVJWz5ndkT8ucfeB4CioVOvOfysUtrZA3BmWfebhXKQGdwphNYMcb-U71IpatmnolJ3BCBdNpSpGVVLIrliOCMC8-W7VSa0rwSKmpnqhuM9iw\" alt=\"AWS CloudFront and AWS S3\"\/><\/figure>\n\n\n\n<h2>How does the AWS CloudFront work?<\/h2>\n\n\n\n<p>Step 1: The client accesses a website and requests to download a file&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Fuj2VQH90NKVeYRCp9SXpCDW62In-TJY81bJZ71MAYak7bjUoxp1VLV1bKvOwZ4Kd7i3pngD55R-huvQb0N0wb4V0cYbROPcMQtkhfB4w7a6uflMWEOlY0ejNQoadvvefnuHzmOMtX8QfvDwfxk3gg\" alt=\"AWS CloudFront and AWS S3\"\/><\/figure>\n\n\n\n<p>Step 2: DNS routes the client request to the nearest edge location through CloudFront to serve the user request.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Qs1pfJhLbz9tnAiw8jE9MQnarNHHoRqk4zGo1q1T2PjzdB44nmWvNL-VD2dZFiej8d1fp0H7jy5lZt6yvn-t-i3E0M-CqOt_yq0EguL2-C2lQlOWdPJReuHKOCqSfAxqmjWORVyauwBjVr77KlryGg\" alt=\"AWS CloudFront and AWS S3\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Step 3: At the edge location, CloudFront looks for its requested cache file. Once the file is found, CloudFront sends the file to the user.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/34isfVvA23fVGfsYYGVzD6KXCSiW0kZtEZ9j8Pajouj2YhoZtssYm_VCxbzfBmz5sophPATjfGzIgu3yLB1OWJuQEUoTgaY4DIGuOIXU8AmoozHuTGGOUsdtN5QBbqhRaDwEPHIKTUalTOVHgnN2Dg\" alt=\"AWS CloudFront and AWS S3\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Step 4: If the file is not found then CloudFront compares the requirements with the specifications and shares it with the respective server.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/GNXIjaC9IG1StVMHTk9MnGS3aOJo1E6HtkKPBF5UgzTZJH-NUDRKJ1IUGcY4Fr-hYjv0yMjdZp_hfIlT0SKEjQsSbMZHeChyFSEEmphSei5x_mkHdlge4ZTMnk_bXlt91RXxSE12ppBF5Cw3ZUWsRA\" alt=\"AWS CloudFront and AWS S3\"\/><\/figure>\n\n\n\n<p>Step 5: The web server responds to the request by sending the files back to the CloudFront edge location.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/8gWHYQ8sOg5NjJSaCrk1JLIuSlOMMqieIzW7iSJT6IZJ50livYRFnoTJ14ySsLbXnHhl7qv-vWDiuU7m675dECrUJsNySX18Opj2VPaF6JKy6CfELtiUFAL5XfX9Y5NcxcFT6fvaB5uxzESVSf7H4w\" alt=\"AWS CloudFront and AWS S3\"\/><\/figure>\n\n\n\n<p>Step 6: As soon as CloudFront receives the file, it shares it with the client and adds the file to the edge location.<\/p>\n\n\n\n<h2>Use Cases of the AWS CloudFront<\/h2>\n\n\n\n<h3><strong>Live Streaming&nbsp;<\/strong><\/h3>\n\n\n\n<p class=\"has-text-align-justify\">CloudFront is optimized for live streaming with an architecture built for high request volumes. It can handle millions of users calling for the same manifest or video segments while maintaining a low latency stream. It can be configured to deliver streams with a sub-three second camera device screen latency and sub-one second synchronization. It is fully integrated with an optimized low-latency origin server built for live streaming, AWS Elemental MediaStore, moreover AWS Elemental MediaLive for video encoding, and AWS Elemental MediaConnect for video transcoding.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/tUGcB-MwuOVIiHB5w25uaR0uqT_gFBo0rAtj11RbTKFRGZgsApnWgFagJFCMWroLnW1Nn7oXAV-h0alQ53GhV0CrCpkHkKf2sIr9voiIkU3q6xZkPQqsG908DjJDAlM_H41xC63hHl2zkQX3I6IyOA\" alt=\"Use Cases of the AWS CloudFront\"\/><\/figure>\n\n\n\n<h3><strong>On-Demand Video&nbsp;<\/strong><\/h3>\n\n\n\n<p class=\"has-text-align-justify\">CloudFront allows you to deliver large, long-tail content catalogs to audiences all over the globe. CloudFront is a fully integrated, easy-to-use, CDN for both simplified and sophisticated video production workflows. It works in conjunction with AWS Media Services like AWS Elemental MediaConvert and AWS Elemental MediaPackage.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/kunmcHp3EOhNrctn0en-IZSCunmSN0IycUhxVEfAvIA9VWrI5u6YZf8pDF9gSxkWQstiFnbzktRc7_7Yy1_E-Etm3I7YAkj4hEh8W8fwxX2itBRyIvP7IYo8cN4dHXlfPZSaY09DD_bUk5Il_mWmdg\" alt=\"Use Cases of the AWS CloudFront\"\/><\/figure>\n\n\n\n<h2>Benefits of the AWS CloudFront&nbsp;&nbsp;<\/h2>\n\n\n\n<h1><img src=\"https:\/\/lh3.googleusercontent.com\/9huOOwas1DkqfRoCbAaxDvdnfJrsIF_e0mAM7BqNbNGPBGpCKqp_BeovzGh8k2DK-MSXVEmASretleyJWu00GECWeSXorbBlhkimIPJDxKay2sGv5or424OLm27U7IRPrgm5GQmczXIpIbDglt6UVw\" style=\"width: 1600px;\">&nbsp;<\/h1>\n\n\n\n<h2>Uses of the AWS CloudFront<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/EdCZZvR8qucEpYMDT2AjSFh9Dg4Ek3KJKUeZB7PKDevlXODq6u0pF9oF-3FvVNuNbPf7i9jO_UCv05T6VUP4Aosa4XXhePgH0DA_DYrQbvuHp7JD-0lwrz0JapiRDQ4b3fFCSjDR49EqXYhMxgFNZg\" alt=\"Uses of AWS CloudFront\u00a0\u00a0\"\/><\/figure>\n\n\n\n<h2>What solutions are available for processing video-on-demand content on AWS?&nbsp;&nbsp;<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">The Video on Demand on AWS solution, and the Video on Demand on AWS Foundation solution both provision the AWS services required to build scalable, distributed VOD processing and delivery workflows.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Sz3oIgDZUpdxVdirO-lK3ePf-jWAjDsvvhx-3y4TZNuWE_lpIXEh-09hUJ8II4RaWfEOpp0mc1ASsYd7Oti4zKwarFoPReA9uBISV0BwGutZAtoHXO6KLGWCF6RDTe8jaYC_QCjq31uld0s5U3b-fA\" alt=\"What solutions are available for processing video-on-demand content on AWS?\u00a0\u00a0\"\/><\/figure>\n\n\n\n<h2>Pricing Estimation&nbsp;<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/CjbQ_tYu7zP7OP-qu4ZRIL-nT7VsoTGqTh0e850beFgWjpHfHFu63Sh94NRZ5gXLQS4hJWufeElppH_-j9o-TT1Rawp0C5jIGMtLoONs5J44CbycGArj2fUi93qynNBP_7briK3PsAA3HLB-nGZc0w\" alt=\"Pricing Estimation\u00a0 of Amazon CloudFront\"\/><\/figure>\n\n\n\n<h2>Let\u2019s do hands-on<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this hands-on, we will see how we can deliver content faster resulting in a decrease in the end-user latency of your web application using Amazon CloudFront. We will be configuring an Amazon S3 bucket as the origin for CloudFront distribution. Amazon CloudFront thus helps in speeding up the content delivery by taking an advantage of its global network of data centers, also known as edge locations, to reduce the delivery time by caching your content close to your end users. CloudFront fetches your content from an origin, such as an Amazon S3 bucket and caches it in the nearest edge location for quicker delivery.<\/p>\n\n\n\n<p><strong>To implement this, we will do the following:<\/strong><\/p>\n\n\n\n<ul><li>Login to your AWS account and navigate to Amazon S3 to create a new bucket.<\/li><li>Upload an object in your newly created S3 bucket.<\/li><li>Navigate to the Actions selection for your object and make your object public.<\/li><li>Access the object via the Object URL.<\/li><li>Open the Amazon CloudFront dashboard and create a new distribution.<\/li><li>Select your newly created S3 bucket as an origin for the CloudFront distribution.<\/li><li>Note down the domain name of your created CloudFront distribution.<\/li><li>Create a new HTML file on your local machine, and add the domain name of your CloudFront distribution and the object name you added in your S3 bucket.<\/li><li>Access the web page on a browser to ensure that the content has been delivered and check if the object that you added in your S3 bucket loaded successfully.<\/li><\/ul>\n\n\n\n<p>Log in to AWS and navigate to the Amazon S3 dashboard to create a new bucket. Click on \u2018Create bucket\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/S9cq4mUC0G7WneNauTBss30BxNWuETjXpIo-0uOPb1uugVZ3lHKB_SHb4Vl9c-lXb8GoDrDajupJheXaXOc9pEBpp8srfkGjyuJM3aQhtAK48MkQX3cErLeY605HBEA0tSuH2fixWp_tS3ZS-0Kn-A\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p>Enter a name for your bucket and select a region based on your preference.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/RWWXO0NgDEgTWyJvXXp74Qz7kVtgTuUpnlY_mHmYXDuDOEK57UuMHOJWh8shvHYo3GtO_z6xBYHP2kcc36NEbufC46TyC6r8Zud1bcaFNYETkT0xTC-iBdkjg0waHm4xCF916wGP3SHNFqYJu55ToA\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Under the \u2018Block Public Access settings for bucket\u2019 section, uncheck block all public access and check that you acknowledge it because if need to make the objects public for Amazon Cloudfront to fetch it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/olJcgOtbBRKzy9vfU5m_IQskhRzq25pjywEddC1Z0UW2FBI87Km1V4ng1ZGUKB72ptUGN6JsBQVInqzxcp6D0ArZPv0V7dm1kbZ-4MAjEzuSTLrT-nqLqLyJSxNc4fTC4HkCl84mfHzLsWKOZ0BTJw\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Scroll down and add tags (if any) and if needed for your bucket. In this blog, we will not be adding any tags. Once done, click on \u2018Create bucket\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/nkL9xPpy6B_n02CVk_yUswZmdWyJx_JZAb-_KKAK0-nw0vTcUuHLTGFE58j_xfNw-cwZD_hzPrFL9VhAQ8VLBROmyhn4-cidrJMcQ53vtamV6p7wb_IOoWb8yhVnyR2EqCbzv0kGRVh1n592qSzCXw\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">After the successful creation of your bucket, you will view your newly created bucket in the list under the buckets pane on S3 dashboard. Click on your newly created bucket to enter the dashboard of your bucket.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/Vv_a9Ud2uRl2x-e7TIt52g4wFKI1UUOOaP46dHlF41yUzix-jEcuMqdKbmOFFwK_4vf9bFlq6gRwbY58QUKIrEBW3hXZIX5f8_NubLdJ9penLkJMbzIZ137IrqMGavI0c__fWENjUcWv_yrZe5VCfg\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Click on \u2018Upload\u2019 to upload an image into your newly created S3 bucket. We will be adding the below image into our S3 bucket.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/JV8Lbu4GesKmbYsxYY39m5dSolJ-vk3gCGzh0F-vxOeTY8djMeVBd9-EiOac594bnp4d-ujTP7l1mBDF9EToynFF63MfeetXMJ0cPKMBdWE2L8ZGf0JxVGPGUkD2Lrtq4Rwq7cz-br4wEvTobTmwLg\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p>Click on \u2018Add files\u2019 to select the image you want to upload.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/tKQJt_p2JWbI0RAucDxYSPuSjkFdYlDpZEcO6XV1G26uUNsBrhz3D7LyTPaIMoZr5NCQcklCnR1jVBt3OhQPz7VqUYAdmv9SDgEV8zKDaEqht1KswlhM0DM2EC_u_-dFapvfcRGhTSwheCOMa09p4g\" alt=\"\"\/><\/figure>\n\n\n\n<p>Once done uploading, scroll down and click on \u2018Upload\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Ydx7gcBPgslQIqi8yNw9c5qty7L9sTSXh0m8qAQLlg1sap_gZ-w3GYc4lyoBCoBs9lgn2hi3BSbwGZFBu7bLb92UudEiQMfuTC_GUeUNE0GTOwByOXRs48ffHDo-2fPAntT9jUOs2x78SSIpUxnN3g\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">One successful upload of the image, you will be able to see the newly uploaded image as an object in your bucket as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/-dfXXtkQRLSbJbi7IkaT8vsOi08TMvB3yMPCwmhxvsLwpXEDbc6eVE6sb0_B50ByoSAhuC8TUc9QXBpNXb0xIIQfs1jUKudx55oj59hWQnWm0QEXLYqEf6Wfp5DUI2mFFhAyBluVZ_hly5ytJ8-Ixw\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Select the checkbox on the left of your newly added object and click on \u2018Actions\u2019. Scroll down under the actions and select \u2018Make public\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/TalEpJNBrHlN2MZd8nwZ_SAZIe4sk8tTFMq4jnrON1jyzVJrtVOw1K9-m-hxSbh4iwuXuSMglgO6GoB2k_vo_s9_tOrNwX5TMFMj-x9MtxSrWYiAycZ5KsfmJVgWaH7tarqTaiINcHQSKCWucdnyBg\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p>On the displayed dashboard as shown below, click on \u2018Make public\u2019 to make your object public.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/_JbVQ8ahdl8TTYy5ePQmqL5mj2_Ha0f1bRZw966KJYlGXGoDWLubZhxExFGIRyaP6j6ApoHMz6WIeQSXTwtw4EqUjsxzYwQSQQ_L4KehqhAHRHV1hO95l82yZKToerpdqwE19DVgbIlRORyarHANeQ\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p>On success, you will be displayed a successful message as shown in the image below. Once checked, click on \u2018Exit\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/vWKP1JZzoFVX-thS2JN-iXC5u07ZkQP1097gWTkw7qMqrVaTCl9UCGrHpXR6Enqu4MNzu7LmSREMCLE2Xo2W232pzQi167RzWDXrr0DtfpVWjYsVUR39qBlo5bluh2a1rYCpwqrCcPA0V6llGgb3kA\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Now, click on your newly added image and enter the dashboard of your image. Under the \u2018Object URL\u2019, you will find a URL through which you can access your image on your browser.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/2rxJzZlxrLtWtEJ4w2t6fXznQVlcjhNDo34MM9TRnw3MsgIco7Bd69_iEzV7ZziYFY3f2r4Em40iT3mlgyPT0XUD9JdOvh5OxKK8XGrxeviyv_17tpKeMYcIrj7HWFSVfyuGIZtEa75HXTgKrxTeZQ\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Click on that URL and you will be navigated to a new tab that will display your newly added image that you uploaded in your S3 bucket.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/d4W3p8RZv-CZ7KJwHw9No_g-o3NI4Lasd4D_Wx1dji_bxmo08SQrUwIL24G5Of5bIXW4p8HdDLN80ZqUUqgvPvyEoNveuNS0rN2hZT8ow2ajs0aK-srKSdQCBG519Sf4Ex_7Dyu5iKhny5IzC9D2WA\" alt=\"\"\/><\/figure>\n\n\n\n<p>Once done, navigate to the Amazon CloudFront dashboard and click on \u2018Create Distribution\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/TpBH6hVEGUaaFXzVT8BTs029FiIpF3TereIoKJaaD5YDEWVoQXUb-_MWDlo7w_i1nkSndYLjn2slSYWeyTp95SThPXUlSyCcYA-bTpV9JEL7tqzFXQJ8RYVkXSunCDhysozYEvJ5Yt82DBo54gQhBA\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">For creating a distribution, two steps are to be followed. In the first step &#8211; Select a delivery method for your content, click on \u2018Get Started\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/HPkZM4oCo0iYNWMULq8M6-74Wk1BcVkKBqeOviK255mKaVvZCnqBEtF6-NY5PeHfd3iEuUk2jRGUpGAqnWI2S2ZA4d6DMyb-PQoW-0HYx3UuR5ecGVojPBqg16oBT_I28_uaPUk3pLWJevb2WK9Enw\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">In step 2 &#8211; under the \u2018Origin Settings\u2019 section, click on the text box besides \u2018Origin Domain Name\u2019 and from the dropdown, select your newly created S3 bucket as the origin.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/6y03duzV0kV0SOhLozI3KjRoQQz_VMVh5ehxx5DZxcBWYOvaW49BLFAEotNkIGUcZ1YI9oZmRrkrQIr5xnjh8RkO7fO8sj0yDhwQTR6ESwLyjzMy0AtkjatXksSIZcbjEoIfTwJVtsA4FAj45uQm7w\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now, scroll down to the bottom and click on \u2018Create Distribution\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/DSLuwb0XC8Vphj2MdW2EJwU8irxmMkbn6clzgWE5eYAAtcgTiYeUmiHu_FRF87wDLa3TikiRVQV8Vcu3Aja-qI28VoEuZct62BBxHtiZPITdATNjk45WyqQm_vcYzML9QCio8w0gsQ92LiHVHM0KFw\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">A new entry will be created under the \u2018Distributions\u2019 section on the Amazon CloudFront dashboard. You will see the status as \u2018In Progress\u2019 initially. It takes a few minutes to configure the distribution.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/qYLzKSHImmMNdV0bxSViIMmFu9reKbr04JiRtZIPLniTWnBSe_LPrYiMoPuDMwNqbgjAChha53U3izCpmQBQqTBzdJqJiw1hOoppQWWf3vuxZsd8fBfI8QNF63dWUUnkglv4ERTRluw2BYFtkgOTjQ\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">After a few minutes, hit refresh and you will see the status for your created distribution change to \u2018Deployed\u2019. Make a note of the \u2018Domain Name\u2019 as you will need it while configuring your HTML page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/XX9vbJHpuFWYpYXKsKrf68vJIIOxmKE_ab5fZeTjoZHbWYKY86FrvZ_RrvKNHyYj98wxwXTaIuRs8CnKai7h5ZxxT3Hbkb90aDBQYFyR5sebppUqir2hwKm4YVVtSdRivIk7CEZSwLAsMJMHef9oSQ\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Use the HTML template shown below. Make sure to replace the \u2018domain_name\u2019 (noted down above after the CloudFront distribution creation) and \u2018object_name\u2019 (with the name of your image uploaded in your S3 bucket which is selected as an origin). Create a new HTML file with the code below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/lX_53hKxiItEdxf4kBhYh1veCBt8J3K9UxptvJYLVKAakgfl7VZkNthnuVM5KeTtAViyOVEy-m-h6BARHghozSBmFANUw7aZ6bZLkJ6RVNCILOY_t0DAbFP7gMtidEkZjlw8LO-z7h4kiygdqmaaAQ\" alt=\"How to set up an AWS CloudFront distribution to speed up content delivery?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">The below template is what we have used for our blog. You can thus alter the template the way you like based on your preferences.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/NJIDBibOK9YmjfODy9eYThNj8R3kx_gvZkSdqSPYgLODmYhQMzgSaopDTu2VN7v0X3NPhbJlf2pWdZK0qTFrbEqNtthZGYGwfJKD-9L8wsHBDo4q3nQ6jx5eRznk1oIvFKrqBXCmyDnhpw9I5mKhqw\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Open your web page in a browser to ensure that you can see your content. You will see the image you added in your S3 bucket which is added as an origin to the CloudFront distribution. Thus, you can view your image using the CloudFront distribution domain name in your code.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/ZTq-bEnR4j2BsQ56SnLC8QVFTm1ILXToDicEsMhEmkyJpWxxCVnrl_y21Q-g3kMkwwgwujHW0at-XZZgGjQYHShzgmitgmD4lght9kTVGPqLxKsCHtSZLPsYtu1JPEXwLmVjqBoMumVxS0Fos_AbRQ\" alt=\"\"\/><\/figure>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, you have seen how the Amazon CloudFront distribution network helps in speeding up the content delivery for your web application by storing the image as a cache in an edge location closer to the user who is accessing your web application. This helps in reducing the response time for your web application and load content at a faster pace. We will discuss more of AWS Cloudfront and its other configurations in our upcoming blog. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.&nbsp;<\/p>\n\n\n\n<p>Meanwhile \u2026<\/p>\n\n\n\n<p><strong>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At Workfall, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at<a href=\"https:\/\/www.workfall.com\/partner\/\"> workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> Do you know which of the world\u2019s largest live events and leading online video platforms (OVPs) use which services for their industry-leading security, performance, reliability, and full AWS stack integration? The answer is AWS CloudFront. Yes, you read it right! AWS CloudFront is the&nbsp; Content Delivery Network that has been highly optimized for Media &amp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":380,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[3,108,110,109,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to set up an AWS CloudFront distribution to speed up content delivery? - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"AWS CloudFront is the major player in delivering massive video-on-demand catalogs or live-stream content to millions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up an AWS CloudFront distribution to speed up content delivery? - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"AWS CloudFront is the major player in delivering massive video-on-demand catalogs or live-stream content to millions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-03T09:17:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-21T10:14:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/18-141-20-153.plesk.page\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"19 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png\",\"width\":1200,\"height\":628,\"caption\":\"AWS CLoudfront - Workfall\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#webpage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/\",\"name\":\"How to set up an AWS CloudFront distribution to speed up content delivery? - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#primaryimage\"},\"datePublished\":\"2021-11-03T09:17:50+00:00\",\"dateModified\":\"2025-08-21T10:14:32+00:00\",\"description\":\"AWS CloudFront is the major player in delivering massive video-on-demand catalogs or live-stream content to millions.\",\"breadcrumb\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learning.workfall.com\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up an AWS CloudFront distribution to speed up content delivery?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#webpage\"},\"author\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How to set up an AWS CloudFront distribution to speed up content delivery?\",\"datePublished\":\"2021-11-03T09:17:50+00:00\",\"dateModified\":\"2025-08-21T10:14:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#webpage\"},\"wordCount\":2534,\"publisher\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png\",\"keywords\":[\"AWS\",\"cloudfront\",\"edgecomputing\",\"edlocation\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up an AWS CloudFront distribution to speed up content delivery? - The Workfall Blog","description":"AWS CloudFront is the major player in delivering massive video-on-demand catalogs or live-stream content to millions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/","og_locale":"en_US","og_type":"article","og_title":"How to set up an AWS CloudFront distribution to speed up content delivery? - The Workfall Blog","og_description":"AWS CloudFront is the major player in delivering massive video-on-demand catalogs or live-stream content to millions.","og_url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-11-03T09:17:50+00:00","article_modified_time":"2025-08-21T10:14:32+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/18-141-20-153.plesk.page\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"19 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/learning.workfall.com\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website","url":"https:\/\/learning.workfall.com\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learning.workfall.com\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png","width":1200,"height":628,"caption":"AWS CLoudfront - Workfall"},{"@type":"WebPage","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#webpage","url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/","name":"How to set up an AWS CloudFront distribution to speed up content delivery? - The Workfall Blog","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#primaryimage"},"datePublished":"2021-11-03T09:17:50+00:00","dateModified":"2025-08-21T10:14:32+00:00","description":"AWS CloudFront is the major player in delivering massive video-on-demand catalogs or live-stream content to millions.","breadcrumb":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learning.workfall.com\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How to set up an AWS CloudFront distribution to speed up content delivery?"}]},{"@type":"Article","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#article","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#webpage"},"author":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How to set up an AWS CloudFront distribution to speed up content delivery?","datePublished":"2021-11-03T09:17:50+00:00","dateModified":"2025-08-21T10:14:32+00:00","mainEntityOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#webpage"},"wordCount":2534,"publisher":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-set-up-an-aws-cloudfront-distribution-to-speed-up-content-delivery\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png","keywords":["AWS","cloudfront","edgecomputing","edlocation","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/cloudfront.png","jetpack-related-posts":[{"id":819,"url":"https:\/\/learning.workfall.com\/learning\/blog\/secure-web-applications-using-aws-waf-and-aws-shield\/","url_meta":{"origin":379,"position":0},"title":"How to secure web applications using AWS WAF and AWS Shield?","date":"December 16, 2021","format":false,"excerpt":"The world now runs on applications, from internet banking and remote work applications to entertainment delivery and e-commerce. It's no surprise that attackers target programs as a key target, exploiting design flaws as well as gaps in APIs, open-source code, third-party widgets, and access control. Modern cybersecurity attacks are undetectable\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Applications using AWS WAF - Workfall","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/12\/CoverImages_1200x628px-3.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":617,"url":"https:\/\/learning.workfall.com\/learning\/blog\/aws-is-in-love-with-rust-and-you-should-be-too\/","url_meta":{"origin":379,"position":1},"title":"AWS is in love with RUST and you should be too!","date":"November 11, 2021","format":false,"excerpt":"AWS is sponsoring the Rust programming language. And it is because it helps AWS write highly performant, safe infrastructure-level networking and other systems software. Why has Rust proved so popular at AWS? Let\u2019s discuss this in our blog! Rust has been voted Stack Overflow\u2019s most-loved programming language for five years\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS SDK for Rust","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Rust.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":322,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-create-publish-and-maintain-high-scalable-apis-using-aws-api-gateway\/","url_meta":{"origin":379,"position":2},"title":"How to create, publish and maintain high scalable APIs using AWS API Gateway?","date":"November 1, 2021","format":false,"excerpt":"To access data, business logic, and functionalities from backend services, API can act as an interface! Using API Gateway, we can enable two-way communication in real-time applications. In this blog, we will discuss Amazon API Gateway, its architecture, key concepts, use cases, and features. As part of hands-on, we will\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS API Gatway - Workfall","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/API-Gateway.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":640,"url":"https:\/\/learning.workfall.com\/learning\/blog\/aws-account-activities-using-aws-cloudtrailpart-1\/","url_meta":{"origin":379,"position":3},"title":"How to track AWS account activities using AWS CloudTrail (Part 1)?","date":"November 11, 2021","format":false,"excerpt":"Someone logged into your AWS Console and forced the shutdown of an EC2 instance, and you need to discover who did it as it was a critical instance for production, but you have no records. Here AWS CloudTrail comes to your rescue! In your AWS infrastructure, you can use AWS\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Cover-Images_Part2-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":37,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-track-aws-account-activities-using-aws-cloudtrail\/","url_meta":{"origin":379,"position":4},"title":"How to track AWS account activities using AWS CloudTrail?","date":"October 24, 2021","format":false,"excerpt":"There are chances where the employees\/users either intentionally or unintentionally make changes or delete the AWS resources. These scenarios cannot be traced or brought to our notice unless we have a proper monitoring and alerting mechanism to take action immediately to avoid any business interruptions. Proactive monitoring is one of\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Track AWS account activities using AWS CloudTrail","src":"https:\/\/i0.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/35.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":620,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-become-a-successful-aws-devops-engineer\/","url_meta":{"origin":379,"position":5},"title":"How to Become a Successful AWS DevOps Engineer?","date":"November 11, 2021","format":false,"excerpt":"In the last couple of years, we have seen a great shift in computation and also software development life cycles. Thus we see a huge demand for DevOps as well as AWS. As a result, the career opportunities for an AWS DevOps Engineer are highly promising. If you want to\u2026","rel":"","context":"In &quot;DevOps&quot;","img":{"alt_text":"How to Become AWS DevOps Engineer","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/DevOps.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/379"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":8,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":2532,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/379\/revisions\/2532"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/380"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}