Transcription of Amazon CloudFront - Developer Guide - AWS Documentation
1 Amazon CloudFrontDeveloper GuideAmazon CloudFront Developer GuideAmazon CloudFront : Developer GuideCopyright 2023 Amazon Web Services, Inc. and/or its affiliates. All rights 's trademarks and trade dress may not be used in connection with any product or service that is not Amazon 's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon . All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by CloudFront Developer GuideTable of ContentsWhat is Amazon CloudFront ?..1 How you set up CloudFront to deliver static website content video on demand or live streaming specific fields throughout system at the private content by using Lambda@Edge CloudFront delivers CloudFront delivers content to your CloudFront works with regional edge edge the CloudFront managed prefix the price class for a CloudFront up for an AWS an administrative up the AWS Command Line Interface or AWS Tools for Windows an AWS started with a simple 1: Create 2: Upload 3: Create 4: Access the 5.
2 Clean started with a secure static the with of you can use with fields for creating and updating , updating, and deleting for creating a a that you that are a a a a continuous deployment to safely test for using CloudFront continuous with a staging distribution and continuous deployment a staging how continuous deployment and other considerations for continuous various CloudFront Developer GuideUsing an Amazon S3 a MediaStore container or a MediaPackage an Application Load a Lambda function Amazon EC2 (or another custom origin)..77 Using CloudFront origin custom an alternate domain an alternate domain name to a different an alternate domain wildcards in alternate domain for using alternate domain on using alternate domain the WebSocket protocol with the cache cache cache the managed cache the cache origin origin request origin request the managed origin request CloudFront request how origin request policies and cache policies work or removing response response headers the managed response headers response headers , removing.
3 Or replacing and accessing existing existing files using versioned file existing content using the same file content so CloudFront won t distribute file your own domain name ( )..136 Using a trailing slash (/) in signed URLs for restricted a default root to specify a default root default root object CloudFront works if you don t define a root between invalidating files and using versioned file which files to the files to files using the files using the CloudFront invalidation request for file compressed CloudFront to compress CloudFront Developer GuideHow CloudFront compression about CloudFront types that CloudFront header custom error error response a custom error page for specific HTTP status objects and custom error pages in different response codes returned by how long CloudFront caches secure access and restricting access to HTTPS with
4 HTTPS between viewers and HTTPS to a custom HTTPS to an Amazon S3 protocols and ciphers between viewers and protocols and ciphers between CloudFront and the for HTTPS alternate domain names and how CloudFront serves HTTPS for using SSL/TLS certificates with on using SSL/TLS certificates with CloudFront (HTTPS between viewers and CloudFront only)..171 Configuring alternate domain names and the size of the public key in an SSL/TLS RSA the quotas for SSL/TLS SSL/TLS from a custom SSL/TLS certificate to the default CloudFront from a custom SSL/TLS certificate with dedicated IP addresses to content with signed URLs and signed of serving private list for serving private between signed URLs and signed signed signed Linux commands and OpenSSL for base64 encoding and examples for signed access to an AWS access to a MediaStore access to an Amazon S3 access to Application Load CloudFront to add a custom HTTP header to an Application Load Balancer to only forward requests that contain a specific (Optional)
5 Improve the security of this AWS WAF to control access to your AWS WAF protections with one additional security an existing web restricting CloudFront geographic a third-party geolocation field-level encryption to help protect sensitive of field-level up field-level data fields at your CloudFront Developer GuideOptimizing caching and with edge your cache hit how long CloudFront caches your Origin based on query string based on cookie based on request Accept-Encoding header when compression is not media content by using Origin cases for Origin the AWS Region for Origin Origin Origin Shield Shield high Origin Shield interacts with other CloudFront availability with origin an origin origin timeouts and origin failover with Lambda@Edge custom error pages with origin cache headers to control cache duration for individual stale (expired) the amount of time that CloudFront caches headers to your objects using the Amazon S3 and query string and API settings for query string forwarding and string parameters and CloudFront standard logs (access logs).
6 291 Caching content based on content based on request and distributions the headers to base caching CloudFront to respect CORS caching based on the device caching based on the language of the caching based on the location of the caching based on the protocol of the caching for compressed caching based on headers affects the case of headers and header values affects that CloudFront returns to the distribution returns an InvalidViewerCertificate error when I try to add an alternate domain can't view the files in my message: Certificate: <certificate-id> is being used by error responses from your 400 status code (Bad Request)..301 HTTP 500 status code (Lambda execution error)..302 HTTP 502 status code (Bad Gateway).
7 302 HTTP 502 status code (Lambda validation error)..304 HTTP 502 status code (DNS error)..304 HTTP 503 status code (Lambda limit exceeded)..305viAmazon CloudFront Developer GuideHTTP 503 status code (Service Unavailable)..305 HTTP 504 status code (Gateway Timeout)..306 Load testing and response and response behavior for Amazon S3 CloudFront processes HTTP and HTTPS CloudFront processes and forwards requests to your Amazon S3 CloudFront processes responses from your Amazon S3 and response behavior for custom CloudFront processes and forwards requests to your custom CloudFront processes responses from your custom and response behavior for origin custom headers to origin cases for origin custom CloudFront to add custom headers to origin headers that CloudFront can t add to origin CloudFront to forward the Authorization range GETs are range requests to cache large CloudFront processes HTTP 3xx status codes from your CloudFront processes and caches HTTP 4xx
8 And 5xx status codes from your CloudFront processes errors when you have configured custom error CloudFront processes errors when you have not configured custom error 4xx and 5xx status codes that CloudFront on demand (VOD) and live streaming streaming video: video on demand and live video on demand (VOD)..340 Configuring video on demand for Microsoft Smooth live streaming video using AWS Elemental MediaStore as the live video formatted with AWS Elemental with edge between CloudFront Functions and with CloudFront : Creating a simple function code (programming model)..353 Managing with started creating and using Lambda@Edge IAM permissions and and creating and functions and with requests and on edge on all edge on CloudFront on metrics, and billing and usage reports for billing report for usage report for your AWS bill and the AWS usage report for console CloudFront Developer GuideCloudFront cache statistics popular objects top referrers usage viewers CloudFront metrics with Amazon CloudFront and edge function metrics metrics using the and edge function edge service standard logs (access logs).
9 511 Real-time function API requests with configuration changes with AWS up AWS Config with CloudFront configuration in at access to and Access with access using Amazon CloudFront works with policy managed and compliance best origin quotas on quotas on on CloudFront on on SSL on on key on WebSocket on field-level on cookies (legacy cache settings)..575 Quotas on query strings (legacy cache settings)..576 Quotas on Amazon CloudFront CloudFront Developer GuideCloudFront Developer tools and from the Amazon Web Services before CloudFront Developer GuideHow you set up CloudFront to deliver contentWhat is Amazon CloudFront ?
10 Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users. CloudFront delivers your content through a worldwide network of data centers called edge locations. When a user requests content that you're serving with CloudFront , the request is routed to the edge location that provides the lowest latency (time delay), so that content is delivered with the best possible performance. If the content is already in the edge location with the lowest latency, CloudFront delivers it immediately. If the content is not in that edge location, CloudFront retrieves it from an origin that you've defined such as an Amazon S3 bucket, a MediaPackage channel, or an HTTP server (for example, a web server) that you have identified as the source for the definitive version of your an example, suppose that you're serving an image from a traditional web server, not from CloudFront .