Back to Browse

Amazon CloudFront Deep Dive: Optimizing performance, cost, and security [Cloud Masters #122]

4.0K views
Sep 26, 2024
37:47

In this episode, we dive into Amazon CloudFront, exploring its benefits, use cases, and cost optimization strategies. Specifically, we go into the importance of Average Object Size (AOS) when wanting to sign a CloudFront PPA. We also discuss how using CloudFront saves you on data transfer costs compared to alternative solutions, its versatility in handling both static and dynamic content, and the importance of page-loading time for user experience. We conclude with an examination of security considerations when using CloudFront, including strategies for mitigating DDoS attacks while keeping costs in check. Resources: - Python script for calculating your Average Object Size (AOS): https://github.com/doitintl/calculate-cloudfront-aos/blob/main/calculate_cloudfront_aos.py - Blog post on the importance of AOS for high-volume CloudFront users: https://www.doit.com/how-to-monitor-amazon-cloudfront-usage-with-average-object-size-aos/ Key moments: 00:00 Introduction 01:07 Intro to Amazon CloudFront 02:53 Using multiple CDNs for redundancy 05:32 When to split traffic between CDNs 07:52 The cost benefit of using CloudFront vs. other CDNs 12:50 Reducing CloudFront costs with the Security Savings Bundle 14:05 Why your Average Object Size (AOS) matters 17:30 Calculating your AOS 18:50 What happens when your AOS deviates 21:22 Using CSS Sprites to reduce # of requests 23:56 Resizing images to optimize CloudFront usage 25:50 Reducing page-loading time 28:09 Using CloudFront for dynamic content 31:01 Securing and mitigating DDoS attacks 35:02 Underutilized CloudFront features About the guest: Avi Keinan is a Senior Cloud Engineer at DoiT, and an AWS Hero. He specializes in AWS Infrastructure, serverless, and security solutions, and enjoys helping companies solve complex technical problems. #cloudfront #aws #cloudcomputing #cdn

Download

1 formats

Video Formats

360pmp487.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Amazon CloudFront Deep Dive: Optimizing performance, cost, and security [Cloud Masters #122] | NatokHD