# Amazon CloudFront

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/amazon-cloudfront

> Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.

Practice exams covering Amazon CloudFront: [ANS-C01 AWS Certified Advanced Networking - Specialty](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty), [CLF-C02 AWS Certified Cloud Practitioner](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner), [SOA-C03 AWS Certified CloudOps Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate), [DVA-C02 AWS Certified Developer - Associate](https://blowstack.com/practice-exams/aws-certified-developer-associate), [DOP-C02 AWS Certified DevOps Engineer - Professional](https://blowstack.com/practice-exams/aws-certified-devops-engineer-professional), [AIP-C01 AWS Certified Generative AI Developer - Professional](https://blowstack.com/practice-exams/aws-certified-generative-ai-developer-professional), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty), [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate), [SAP-C02 AWS Certified Solutions Architect - Professional](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional).

## 5 key features of Amazon CloudFront

Amazon CloudFront offers a global CDN service integrated with AWS for secure, fast content delivery, featuring advanced security, high customizability and scalability, along with real-time analytics.

1. **Global Content Delivery Network**: Amazon CloudFront 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.
2. **Integration with AWS Services**: Seamlessly integrated with AWS services such as S3, EC2, AWS Shield for DDoS protection, and AWS Lambda for computing at edge locations, CloudFront provides a complete solution for secure and efficient content delivery.
3. **Advanced Security Features**: CloudFront offers advanced security features including AWS Shield Standard for DDoS protection, SSL/TLS encryption, and integration with AWS Web Application Firewall (WAF) to protect against web exploits.
4. **Highly Customizable and Scalable**: Offers flexible and scalable solutions to meet the demand of delivering content globally, with customization options for caching, origin fetch, and data compression strategies, ensuring optimal performance.
5. **Real-Time Analytics and Reporting**: Provides detailed real-time analytics and reporting tools that enable users to monitor and analyze the distribution of their content, making it easier to understand viewer behavior and optimize content delivery.

## Where Amazon CloudFront is used

Amazon CloudFront is used for optimizing content delivery with low latency, providing security and DDoS protection, and allowing for customized content delivery controls and protocols.

1. **Content Delivery Optimization**: Amazon CloudFront accelerates the delivery of web content by distributing it via a worldwide network of edge locations. When a user requests content, CloudFront serves it from the edge location with the lowest latency, ensuring faster page load times and a smoother user experience.
2. **Security and DDoS Protection**: CloudFront provides integrated security features to help protect your application against multiple types of attacks including network and application layer DDoS attacks. Its features such as AWS Shield Standard, for basic DDoS protection, and AWS Shield Advanced, for more sophisticated attacks, ensure your resources remain available and secure.
3. **Customization and Control**: With CloudFront, you can customize the way content is delivered, such as caching based on headers, cookies, or query strings. This flexibility allows for dynamic content delivery tailored to individual user experiences. Advanced SSL and TLS management further enables secure and optimized connections.

## How Amazon CloudFront is priced

Amazon CloudFront offers a Pay-As-You-Go model for flexible usage without commitments and a Reserved Capacity model for reduced prices with a minimum usage commitment.

- **Pay-As-You-Go**: Customers pay only for the actual data transfer and requests used without upfront commitments. Pricing varies by geographic region and is split between data transfer out to the internet and data transfer out to origin, with lower prices for higher usage tiers.
- **Custom Pricing**: Contact a specialist to discuss custom pricing.
- **Flat-Rate Pricing Plans**: Flat-rate plans combine CloudFront delivery with WAF, DDoS protection, DNS, TLS certificates, logging, serverless edge compute, and monthly S3 Standard storage credits for a monthly price with no overage charges.

## Services Amazon CloudFront works with

- **[Amazon API Gateway](https://blowstack.com/tools/cloud-services-hub/amazon-api-gateway)**: CloudFront can use a Regional API Gateway endpoint as an origin, caching selected API responses and applying edge security controls. API Gateway also uses a managed CloudFront distribution for edge-optimized REST API endpoints.
- **[Amazon Athena](https://blowstack.com/tools/cloud-services-hub/amazon-athena)**: CloudFront standard access logs stored in Amazon S3 can be queried with Athena using a table defined for the CloudFront log format. This lets you investigate popular URLs, error responses, and traffic patterns with SQL.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: CloudFront publishes distribution metrics to CloudWatch, including request counts, data transfer, and error rates, with additional metrics available through a monitoring subscription. CloudFront standard logging can also deliver access logs to CloudWatch Logs.
- **[Amazon Cognito](https://blowstack.com/tools/cloud-services-hub/amazon-cognito)**: Cognito provisions a CloudFront distribution when you configure a custom domain for a user pool's managed login pages. CloudFront serves the authentication interface through that domain using the certificate supplied during setup.
- **[Amazon Data Firehose](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-firehose)**: CloudFront standard logging can deliver access logs to a Data Firehose delivery stream. Firehose can then buffer, transform, and deliver those logs to a supported analytics or storage destination.
- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: CloudFront can retrieve content from a web server running on an EC2 instance. With a VPC origin, it can reach an instance in a private subnet without making the origin publicly accessible.
- **[Amazon EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-eventbridge)**: CloudFront API activity recorded by CloudTrail can be matched by EventBridge rules. For example, a rule can trigger an operational workflow when someone updates or deletes a distribution.
- **[Amazon Kinesis Data Streams](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-streams)**: CloudFront real-time logging sends request records to a Kinesis data stream using a configurable sampling rate and selection of fields. Stream consumers can process these records within seconds to detect traffic changes or delivery problems.
- **[Amazon Lightsail](https://blowstack.com/tools/cloud-services-hub/amazon-lightsail)**: Lightsail content delivery network distributions use CloudFront to cache and distribute content from supported Lightsail origins. You can place a distribution in front of a Lightsail instance, load balancer, or bucket.
- **[Amazon Route 53](https://blowstack.com/tools/cloud-services-hub/amazon-route-53)**: CloudFront distributions can be targets of Route 53 alias records, allowing a domain or zone apex to route directly to a distribution. The domain must also be configured as an alternate domain name on the distribution.
- **[Amazon S3](https://blowstack.com/tools/cloud-services-hub/amazon-s3)**: CloudFront can cache and deliver objects from S3 buckets, using origin access control to restrict a private bucket to authorized distribution requests. CloudFront can also store standard access logs in S3.
- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: CloudFront VPC origins connect distributions to supported load balancers or EC2 instances in private subnets. CloudFront creates service-managed network interfaces so the origin does not need a publicly reachable endpoint.
- **[AWS Amplify](https://blowstack.com/tools/cloud-services-hub/aws-amplify)**: Amplify Hosting deploys web applications through managed CloudFront distributions. Amplify manages content deployment, HTTPS delivery, and cache updates as new application versions are published.
- **[AWS App Runner](https://blowstack.com/tools/cloud-services-hub/aws-app-runner)**: CloudFront can use an App Runner service's public HTTPS endpoint as a custom origin. A distribution can cache suitable responses and apply AWS WAF protection before forwarding requests to the service.
- **[AWS AppSync](https://blowstack.com/tools/cloud-services-hub/aws-appsync)**: AppSync uses a managed CloudFront distribution when you configure a custom domain for a GraphQL API. The distribution provides HTTPS access to the API's GraphQL and real-time endpoints through the custom domain.
- **[AWS Certificate Manager (ACM)](https://blowstack.com/tools/cloud-services-hub/aws-certificate-manager-(acm))**: CloudFront uses ACM certificates to provide HTTPS for alternate domain names on a distribution. Viewer certificates must be requested or imported in the US East (N. Virginia) Region, and ACM manages renewal for eligible Amazon-issued certificates.
- **[AWS CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-cloudformation)**: CloudFront resources can be provisioned and managed through CloudFormation, including distributions, cache policies, origin access controls, functions, and VPC origins. Templates can deploy these resources together with their origins and security settings.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: CloudFront management API calls are recorded by CloudTrail, including changes to distributions and their configuration. These records identify who made a change, when it occurred, and the request parameters.
- **[AWS Config](https://blowstack.com/tools/cloud-services-hub/aws-config)**: CloudFront distribution configurations can be recorded and evaluated by AWS Config. Managed rules check settings such as access logging, HTTPS enforcement, origin access control, and AWS WAF association.
- **[AWS Control Tower](https://blowstack.com/tools/cloud-services-hub/aws-control-tower)**: CloudFront distributions can be checked by Control Tower proactive controls during CloudFormation provisioning. These controls can reject configurations that fail requirements such as access logging or secure viewer connections.
- **[AWS Elastic Beanstalk](https://blowstack.com/tools/cloud-services-hub/aws-elastic-beanstalk)**: CloudFront can use an Elastic Beanstalk application's public environment endpoint as a custom origin. Cache behaviors can serve static assets from edge locations while forwarding dynamic requests to the environment.
- **[AWS Firewall Manager](https://blowstack.com/tools/cloud-services-hub/aws-firewall-manager)**: CloudFront distributions can be protected by centrally managed Firewall Manager policies for AWS WAF and Shield Advanced. These policies apply consistent protection across distributions in multiple AWS accounts.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: CloudFront supports IAM policies for controlling access to distributions, functions, invalidations, and other resources. CloudFront origin access control also works with resource policies to authorize distribution access to private origins.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: CloudFront origin access control supports retrieving S3 objects encrypted with SSE-KMS. The KMS key policy must authorize CloudFront to decrypt objects for the permitted distribution.
- **[AWS Lambda](https://blowstack.com/tools/cloud-services-hub/aws-lambda)**: CloudFront invokes Lambda@Edge functions at viewer-request, origin-request, origin-response, and viewer-response events to customize delivery. CloudFront can also use a Lambda function URL as an origin and secure it with origin access control.
- **[AWS Marketplace](https://blowstack.com/tools/cloud-services-hub/aws-marketplace)**: CloudFront supports partner integrations that can be subscribed to through AWS Marketplace and deployed into a distribution's request-processing path. These integrations can add capabilities such as bot protection or request authentication using edge functions.
- **[AWS Security Hub](https://blowstack.com/tools/cloud-services-hub/aws-security-hub)**: CloudFront distributions are evaluated by Security Hub security controls for settings such as HTTPS enforcement, logging, origin protection, and AWS WAF association. Failed checks generate findings that can be tracked and remediated.
- **[AWS Shield](https://blowstack.com/tools/cloud-services-hub/aws-shield)**: CloudFront receives automatic network- and transport-layer DDoS protection through Shield Standard. Distributions can also be enrolled in Shield Advanced for enhanced detection, response capabilities, and application-layer protection.
- **[AWS Systems Manager](https://blowstack.com/tools/cloud-services-hub/aws-systems-manager)**: CloudFront configurations can be corrected with Systems Manager Automation runbooks, including AWS-provided remediation runbooks for access logging and HTTPS viewer policies. AWS Config remediation can invoke these runbooks when a distribution becomes noncompliant.
- **[AWS Trusted Advisor](https://blowstack.com/tools/cloud-services-hub/aws-trusted-advisor)**: CloudFront distributions are inspected by Trusted Advisor checks for delivery and security configuration issues. Checks include excessive header forwarding and problems involving alternate domain names or origin TLS certificates.
- **[AWS WAF](https://blowstack.com/tools/cloud-services-hub/aws-waf)**: CloudFront distributions can be associated with AWS WAF web ACLs to inspect viewer requests before content is delivered. Rules can block malicious requests, rate-limit clients, and apply managed protections against common web attacks.
- **[Elastic Load Balancing (ELB)](https://blowstack.com/tools/cloud-services-hub/elastic-load-balancing-(elb))**: CloudFront can use an internet-facing Application Load Balancer or Classic Load Balancer as a custom origin. VPC origins also support eligible private Application Load Balancers and Network Load Balancers, keeping the origin inaccessible from the public internet.

## What is Amazon CloudFront

Amazon CloudFront 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. CloudFront is designed to be highly scalable and integrates with Amazon Web Services (AWS) to offer developers and businesses an easy way to distribute content to end users with no minimum usage commitments.

CloudFront's flat-rate plans have Free, Pro, Business, and Premium tiers. Business adds bot protection, advanced DDoS protection, and private origin endpoints; Premium adds enhanced origin load reduction and additional availability features.

Flat-rate pricing plans have non-increasable quotas of 100 plans per AWS account, including at most three Free plans, and one apex-level domain per plan.

One of the foundational features of CloudFront is its network of edge locations spread across the globe. These edge locations store caches of your content closer to your end users, which means when a user requests your content, CloudFront delivers it from the nearest edge location. This drastically reduces latency because the data has less distance to travel. Consequently, this improves user experience significantly, an essential factor for retaining engagement in our fast-paced digital environment.

CloudFront also offers a multitude of sophisticated features designed to optimize both performance and security. Security is a paramount aspect of CloudFront, featuring integrations with AWS Shield for DDoS protection, AWS Web Application Firewall (WAF) to help protect your content from web exploits, and offering HTTPS support to ensure the integrity and the privacy of the data in transit. This commitment to security means that customers can trust their data is safely managed and delivered, a non-negotiable requirement in todays digital age.

Moreover, CloudFront is deeply integrated with Amazon S3, EC2, Elastic Load Balancing, and Route 53, among other AWS services. This integration provides a seamless environment for content storage and distribution. You can, for example, store the original versions of your files in S3, and CloudFront will cache these files and distribute them to global edge locations for faster delivery. CloudFront checks for updated content according to the cached file's expiration period and the origin's cache-control headers, rather than immediately refreshing cached copies whenever the origin changes.

VPC origins allow CloudFront to serve applications from Application Load Balancers, Network Load Balancers, and EC2 instances in private subnets accessible only through their CloudFront distributions. These origins can reside in a different AWS account from the distribution.

Another advantageous feature of CloudFront is its customizability. Users have control over how their content is cached and distributed. They can configure settings such as time-to-live (TTL) for their content, implement geo-restriction to restrict access to content based on the user's geographical location, and even prerender and compress files to improve loading times. This level of control allows users to optimize their content delivery strategies for diverse scenarios, enhancing the end-user experience.

The default per-distribution capacity quotas are 150 Gbps of data transfer and 250,000 requests per second, with higher quotas available on request. These two quotas do not apply to distributions subscribed to flat-rate pricing plans.

CloudFront limits a request or origin response to 32,768 bytes, including headers and query strings but excluding the body; the maximum URL length is 8,192 bytes.

CloudFront SaaS Manager provides a multi-tenant distribution model for sharing origin configurations, cache behaviors, and security settings across domains. A multi-tenant distribution supplies the shared configuration rather than serving traffic directly; distribution tenants associate individual domains and their TLS certificates with that configuration.

In summary, Amazon CloudFront stands out as a robust, secure, and highly scalable CDN service, designed to integrate seamlessly with a broad ecosystem of AWS services. It offers businesses and developers a powerful solution for delivering content efficiently and securely to a global audience, thereby enhancing user experience and engagement. Through its global network of edge locations, sophisticated caching options, comprehensive security features, and deep customization capabilities, CloudFront supports a wide range of content delivery needs, from simple static websites to dynamic, interactive applications and APIs.

## Free Amazon CloudFront tools

- [AWS CORS Configuration Generator](https://blowstack.com/tools/aws-cors-configuration-generator): Fix CORS errors and generate the CORS configuration for S3, API Gateway, function URLs and CloudFront.
- [AWS IP Address Lookup](https://blowstack.com/tools/aws-ip-address-lookup): Check if an IP address is AWS's and find its Region and service, or list AWS IP ranges.

## Concepts related to Amazon CloudFront

- [Access Control](https://blowstack.com/tools/cloud-concepts-hub/access-control): Access control determines which identities can perform which actions on which resources under specified conditions.
- [AWS global infrastructure](https://blowstack.com/tools/cloud-concepts-hub/aws-global-infrastructure): AWS global infrastructure is the worldwide arrangement of Regions, Availability Zones, and edge locations that provides the physical foundation for deploying and delivering cloud workloads.
- [Benefits of migrating to the AWS Cloud](https://blowstack.com/tools/cloud-concepts-hub/benefits-of-migrating-to-the-aws-cloud): Benefits of migrating to the AWS Cloud are the operational, financial, and business advantages of using on-demand cloud resources instead of owning and managing all underlying infrastructure.
- [Cache Invalidation](https://blowstack.com/tools/cloud-concepts-hub/cache-invalidation): Cache invalidation is the process of making cached data unusable or requiring it to be checked again when it may no longer match the authoritative source.
- [Cache-Aside](https://blowstack.com/tools/cloud-concepts-hub/cache-aside): Cache-aside is a caching pattern in which application code checks a cache first and, on a miss, reads from the authoritative data store and populates the cache.
- [Caching](https://blowstack.com/tools/cloud-concepts-hub/caching): Caching stores reusable copies of data or computed results closer to consumers or on faster storage to reduce retrieval time and repeated work.
- [Certificate management](https://blowstack.com/tools/cloud-concepts-hub/certificate-management): Certificate management is the lifecycle control of digital certificates and their associated private keys to establish trusted identities and secure connections.
- [Client Fingerprinting](https://blowstack.com/tools/cloud-concepts-hub/client-fingerprinting): Client fingerprinting identifies or groups requesting clients by combining observable connection, protocol, browser, or device characteristics into a recognizable signature.
- [Content Delivery Network](https://blowstack.com/tools/cloud-concepts-hub/content-delivery-network): A Content Delivery Network is a distributed network of edge servers that delivers content closer to users, often by caching responses from an origin.
- [Content Delivery Networks](https://blowstack.com/tools/cloud-concepts-hub/content-delivery-networks): Content delivery networks are geographically distributed systems that deliver content through edge locations near users, often caching responses to reduce latency and origin traffic.
- [Cross-Site Scripting](https://blowstack.com/tools/cloud-concepts-hub/cross-site-scripting): Cross-site scripting is a web application vulnerability that allows attacker-controlled code to execute in a user's browser within a trusted application's security context.
- [Data Egress](https://blowstack.com/tools/cloud-concepts-hub/data-egress): Data egress is the transfer of data out of a defined boundary, such as a cloud service, network, Region, or cloud provider.
- [Data Locality](https://blowstack.com/tools/cloud-concepts-hub/data-locality): Data locality is the placement of data and the workloads that use it close together to reduce network movement, latency, and transfer costs.
- [DDoS Mitigation](https://blowstack.com/tools/cloud-concepts-hub/ddos-mitigation): DDoS mitigation combines traffic filtering, distributed capacity, and resilient architecture to keep services available during distributed denial-of-service attacks.
- [Defense in Depth](https://blowstack.com/tools/cloud-concepts-hub/defense-in-depth): Defense in Depth is a security strategy that uses multiple complementary layers of protection so that failure of one control does not expose the entire system.
- [DNS](https://blowstack.com/tools/cloud-concepts-hub/dns): DNS (Domain Name System) is a distributed, hierarchical naming system that translates domain names into IP addresses and other resource information.
- [Geofencing](https://blowstack.com/tools/cloud-concepts-hub/geofencing): Geofencing defines geographic boundaries and uses location information to control access or trigger actions when a client or device is inside or outside those boundaries.
- [High performance](https://blowstack.com/tools/cloud-concepts-hub/high-performance): High performance is the ability of a system to meet workload-specific response-time and processing-rate targets under expected operating conditions.
- [Multicast](https://blowstack.com/tools/cloud-concepts-hub/multicast): Multicast is a network delivery method that sends packets to a group address so the network can distribute copies to participating receivers.
- [Networking, connectivity, and content delivery](https://blowstack.com/tools/cloud-concepts-hub/networking-connectivity-and-content-delivery): Networking, connectivity, and content delivery is the design of communication paths that connect cloud resources, users, and external networks while delivering application traffic efficiently and securely.
- [Object Storage](https://blowstack.com/tools/cloud-concepts-hub/object-storage): Object storage stores data as individually addressable objects containing a payload, metadata, and a unique key within a bucket or container.
- [OWASP Top 10](https://blowstack.com/tools/cloud-concepts-hub/owasp-top-10): The OWASP Top 10 is a periodically updated awareness document describing major categories of security risk in web applications.
- [Rate Limiting](https://blowstack.com/tools/cloud-concepts-hub/rate-limiting): Rate limiting controls how many requests or operations a client or workload can perform within a defined period.
- [REST](https://blowstack.com/tools/cloud-concepts-hub/rest): REST, or Representational State Transfer, is an architectural style for distributed systems that exposes resources through a uniform, stateless interface.
- [Retrieval Latency](https://blowstack.com/tools/cloud-concepts-hub/retrieval-latency): Retrieval latency is the delay between requesting stored data and the data becoming available to read.
- [Reverse Proxy](https://blowstack.com/tools/cloud-concepts-hub/reverse-proxy): A reverse proxy is an intermediary that receives client requests on behalf of backend servers and forwards those requests to the appropriate backend.
- [Same-Origin Policy](https://blowstack.com/tools/cloud-concepts-hub/same-origin-policy): The Same-Origin Policy is a browser security rule that restricts how scripts from one origin can access documents and data belonging to another origin.
- [SQL Injection](https://blowstack.com/tools/cloud-concepts-hub/sql-injection): SQL injection is an application vulnerability in which untrusted input changes the structure or meaning of a database query.
- [Threat Modeling](https://blowstack.com/tools/cloud-concepts-hub/threat-modeling): Threat modeling is a structured process for identifying how a system could be attacked and selecting controls and monitoring to reduce the resulting risks.
- [Time to Live](https://blowstack.com/tools/cloud-concepts-hub/time-to-live): Time to Live is a limit on how long data remains valid, reusable, or retained before expiration handling applies.
- [TLS Termination](https://blowstack.com/tools/cloud-concepts-hub/tls-termination): TLS termination is the process of ending a client’s encrypted TLS connection at an intermediary, which decrypts traffic before forwarding it to a backend.
- [Unicast](https://blowstack.com/tools/cloud-concepts-hub/unicast): Unicast is a network delivery method in which a sender addresses each packet to one destination rather than to a group of receivers.
- [Volume Discounts](https://blowstack.com/tools/cloud-concepts-hub/volume-discounts): Volume discounts reduce the price per unit when eligible consumption or purchasing volume reaches defined thresholds.
