Member-only story
AWS CDK
Cloudfront Invalidation using CDK for S3 Websites
Writing IaC using AWS CDK | S3 + Cloudfront
This article explores S3 website hosting with CloudFront content delivery and CDK for infrastructure provisioning and Cloudfront invalidation management.
Amazon CloudFront is a highly reliable and scalable content delivery network (CDN) that accelerates the delivery of your websites, APIs, video content, and other web assets.
Simple Storage Service (S3) is an object storage service offered by AWS. It provides a scalable and cost-effective way to store various types of data, including static website content (e.g., HTML, CSS, JavaScript), images, videos, and more. S3 offers a convenient and cost-effective option for hosting simple static websites, it has limitations for dynamic functionalities.
CloudFront with S3:
This is a very common approach where S3 stores your website files and CloudFront acts as a CDN, caching content at edge locations for faster delivery. This combination offers the benefits of S3’s scalability and cost-effectiveness with improved performance through CloudFront.