DEV Community

Cover image for AWS CloudFront in 3 Minutes
Justin Wheeler
Justin Wheeler

Posted on

1

AWS CloudFront in 3 Minutes

Overview

AWS CloudFront is a Content Delivery Network (CDN). That means that it can provide better performance by combating latency. It achieves this by caching data at Edge Locations, which are closer to the user than the origin may be.

CloudFront follows the popular pay-as-you-go pricing. Although, it's pricing model is closer to serverless than to EC2 as you won't pay for idle time. Additionally, you can drastically reduce origin costs because the data is cached and not fetched everytime.

Features

Integrations

Origins

Most commonly S3 is used as the origin to set up a simple static website with ease. Actually CloudFront supports custom origins as an HTTP server, which leads to options like: API Gateway, EC2, and even on-prem.

Still you're not limited to a single origin. In a machine learning movie recommendation website, wheelerrecommends, I created I am using CloudFront with multiple origins.

I wrote another blog on that website if you'd like to learn more.

Wheeler Recommends Architecture

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistS3AndCustomOrigins.html

Resources

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more