Content Delivery Network using AWS CLI

What is a CDN ???

A content delivery network (CDN) refers to a geographically distributed group of servers that work together to provide fast delivery of Internet content.

What’s the architecture to build this CDN ???

To build a CDN , we firstly require a web-application. We then deploy this web application with some permanent content like images and then provide the CloudFront domain to the web application code so that the when a client calls this web application , the content in cloudfront gets delivered with least latency.

High-Level Architecture
S3 bucket creation CLI command
Image upload to S3 Bucket
CLI command to create CloudFront

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store