{"id":3033,"date":"2019-08-31T11:23:57","date_gmt":"2019-08-31T11:23:57","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=3033"},"modified":"2020-05-01T11:17:03","modified_gmt":"2020-05-01T11:17:03","slug":"cloudfront-2","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/","title":{"rendered":"CloudFront"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>Distributes traffic across multiple edge locations<\/li><li>It sorts requests so that valid HTTP\/HTTPS requests are sent to backend hosts.<\/li><li>Supports geoblocking, to prevent requests from particular geographic locations.<\/li><li>Helps to distribute content with less delay and higher speeds of data transfer<\/li><li>It is a self-service and easily configurable<\/li><li>It is pay-per-use service<\/li><li>No long term commitment or minimum fees is charged.<\/li><li>files are sent to end-users by utilizing edge locations spread globally<\/li><li>To use,\n<ul>\n<li>For static files, store definitive versions of files in one or more origin servers.<\/li>\n<\/ul>\n<ul>\n<li>Register origin servers with Amazon CloudFront through a simple API call.<\/li>\n<\/ul>\n<ul>\n<li>Include cloudfront.net domain name, or a CNAME alias that you create, in web application, media player, or website.<\/li>\n<\/ul>\n<\/li><li>global network of edge locations and regional edge caches are used to speed delivery<\/li><li>apt for distribution of frequently accessed static content<\/li><li>supports content that can be sent using HTTP or WebSocket protocols.<\/li><li>works with any origin server that holds original, definitive versions of content, both static and dynamic.<\/li><li>For every origin for CloudFront distribution, assign a backup origin to serve traffic if primary fails<\/li><li>use AWS Management Console to configure and manage CloudFront<\/li><li>edge locations&nbsp; are worldwide network of data centers called edge locations.<\/li><li>regional edge caches are located between origin web server and global edge locations<\/li><li>Geo Restriction feature needs list of countries in which users can access content.<\/li><li>can create custom error messages for HTTP 4xx and 5xx error responses.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"478\" height=\"400\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-138-478x400.png\" alt=\"\" class=\"wp-image-3717\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-138-478x400.png 478w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-138.png 598w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>specify origin servers, like S3 bucket or HTTP server<\/li><li>upload files to origin servers, called as objects. It can be\n<ul>\n<li>web pages,<\/li>\n<li>images<\/li>\n<li>media files<\/li>\n<li>anything that can be served over HTTP<\/li>\n<\/ul>\n<\/li><li>create a CloudFront distribution, to tell which origin servers to get files from<\/li><li>CloudFront assigns a domain name to new distribution<\/li><li>CloudFront sends distribution&#8217;s configuration to all of its edge locations<\/li><\/ul>\n\n\n\n<p><strong>CloudFront Reporting<\/strong><\/p>\n\n\n\n<p>Various CloudFront reports in CloudFront console are<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>CloudFront Cache Statistics Reports<\/li><li>CloudFront Popular Objects Report<\/li><li>CloudFront Top Referrers Report<\/li><li>CloudFront Usage Reports<\/li><li>CloudFront Viewers Reports<\/li><\/ul>\n\n\n\n<p><strong>CloudFront Cache Statistics Reports<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Total Requests is the sum of\n<ul>\n<li>total count of requests for all HTTP status codes (like, 200 or 404)<\/li>\n<\/ul>\n<ul>\n<li>total &nbsp;requests for HTTP methods (like GET, HEAD, or POST)<\/li>\n<\/ul>\n<\/li><li>Percentage of Viewer Requests by Result Type \u2013hits, misses, and errors as a percentage of total viewer requests<\/li><li>Bytes Transferred to Viewers \u2013total bytes and bytes from misses<\/li><li>HTTP Status Codes \u2013viewer requests by HTTP status code<\/li><\/ul>\n\n\n\n<p><strong>CloudFront Popular Objects Report<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>lists the 50 most popular objects<\/li><li>statistics about those objects<\/li><li>statistics including\n<ul>\n<li>the number of requests for object<\/li>\n<\/ul>\n<ul>\n<li>number of hits and misses<\/li>\n<\/ul>\n<ul>\n<li>hit ratio<\/li>\n<\/ul>\n<ul>\n<li>number of bytes served for misses<\/li>\n<\/ul>\n<ul>\n<li>total bytes served<\/li>\n<\/ul>\n<ul>\n<li>number of incomplete downloads<\/li>\n<\/ul>\n<ul>\n<li>total requests listed as per HTTP status code (like 3xx, 4xx).<\/li>\n<\/ul>\n<\/li><\/ul>\n\n\n\n<p><strong>CloudFront Top Referrers Report<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>report includes top 25 referrers\n<ul>\n<li>the count of requests from a single referrer<\/li>\n<\/ul>\n<ul>\n<li>total count of requests from a single referrer as&nbsp; % of total<\/li>\n<\/ul>\n<\/li><\/ul>\n\n\n\n<p><strong>CloudFront Usage Reports<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Number of Requests \u2013count of HTTP\/HTTPS requests from edge locations in specific region in a specific time duration<\/li><li>Data Transferred by Protocol \u2013total amount of data transferred over HTTP and HTTPS from edge locations in selected region during each time interval<\/li><li>Data Transferred by Destination\u2013total amount of data transferred over HTTP and HTTPS<\/li><\/ul>\n\n\n\n<p><strong>CloudFront Viewers Reports<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Devices \u2013types of devices (Desktop or Mobile) users use to access content<\/li><li>Browsers \u2013name and version of web browsers used to access content<\/li><li>Operating Systems \u2013name and version of the operating system used when accessing content<\/li><li>Locations \u2013 can see country-wise viewers accessing content<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Distributes traffic across multiple edge locations It sorts requests so that valid HTTP\/HTTPS requests are sent to backend hosts. Supports geoblocking, to prevent requests from particular geographic locations. Helps to distribute content with less delay and higher speeds of data transfer It is a self-service and easily configurable It is pay-per-use service No long term&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2474,"menu_order":20,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[7,503],"class_list":["post-3033","page","type-page","status-publish","hentry","category-amazon-aws","tag-aws","tag-cloudfront"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CloudFront | AWS | TestPrep Tutorials<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CloudFront | AWS | TestPrep Tutorials\" \/>\n<meta property=\"og:description\" content=\"Distributes traffic across multiple edge locations It sorts requests so that valid HTTP\/HTTPS requests are sent to backend hosts. Supports geoblocking, to prevent requests from particular geographic locations. Helps to distribute content with less delay and higher speeds of data transfer It is a self-service and easily configurable It is pay-per-use service No long term...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-01T11:17:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-138-478x400.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/\",\"name\":\"CloudFront | AWS | TestPrep Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-08-31T11:23:57+00:00\",\"dateModified\":\"2020-05-01T11:17:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Certified Security Specialty\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CloudFront\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CloudFront | AWS | TestPrep Tutorials","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:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/","og_locale":"en_US","og_type":"article","og_title":"CloudFront | AWS | TestPrep Tutorials","og_description":"Distributes traffic across multiple edge locations It sorts requests so that valid HTTP\/HTTPS requests are sent to backend hosts. Supports geoblocking, to prevent requests from particular geographic locations. Helps to distribute content with less delay and higher speeds of data transfer It is a self-service and easily configurable It is pay-per-use service No long term...","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-05-01T11:17:03+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-138-478x400.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/","name":"CloudFront | AWS | TestPrep Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-08-31T11:23:57+00:00","dateModified":"2020-05-01T11:17:03+00:00","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/cloudfront-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"AWS Certified Security Specialty","item":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-security-specialty\/"},{"@type":"ListItem","position":3,"name":"CloudFront"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/3033","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=3033"}],"version-history":[{"count":5,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/3033\/revisions"}],"predecessor-version":[{"id":5137,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/3033\/revisions\/5137"}],"up":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2474"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=3033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=3033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=3033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}