Skip to content

CDN

leverage-aws-ec2 AWS Cloud Front

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. CloudFront is integrated with AWS – both physical locations that are directly connected to the AWS global infrastructure, as well as other AWS services. CloudFront works seamlessly with services including AWS Shield for DDoS mitigation, Amazon S3, Elastic Load Balancing, API Gateway or Amazon EC2 as origins for your applications, and Lambda@Edge to run custom code closer to customers’ users and to customize the user experience. Lastly, if you use AWS origins such as Amazon S3, Amazon EC2 or Elastic Load Balancing, you don’t pay for any data transferred between these services and CloudFront.

Load Balancer (ALB | NLB) & S3 Cloudfront Origins

leverage-aws-cloudfront

Figure: AWS CloudFront with ELB and S3 as origin diagram. (Source: Lee Atkinson, "How to Help Achieve Mobile App Transport Security (ATS) Compliance by Using Amazon CloudFront and AWS Certificate Manager", AWS Security Blog, accessed November 17th 2020).

API Gateway Cloudfront Origins

leverage-aws-cloudfront

Figure: AWS CloudFront with API Gateway as origin diagram. (Source: AWS, "AWS Solutions Library, AWS Solutions Implementations Serverless Image Handler", AWS Solutions Library Solutions Implementations, accessed November 17th 2020).