- We have an application running on EC2, that distributes software updates once in a while
- When a new software update is out, we get a lot of request and the content is distributed in mass over the network. It's very costly
- We don't want to change our application, but want to optimize our cost and CPU, how can we do it?
[ Our application current state ]
ELB + ASG , running on multi AZ
[ Easy way to fix things : Using Amazon CloudFront ]
Why CloudFront?
- No changes to architecture
- Will cache software update files at the edge
- Software update files are not dynamic, they're static (never changing)
- Our EC2 instances aren't serverless
- But CloudFront is, and will scale for us
- Our ASG will not scale as much, and we'll save tremendously in EC2
- We'll also save in availability, network bandwidth cost, etc
- Easy way to make an existing applicaition more scalable and cheaper
'infra & cloud > AWS' 카테고리의 다른 글
[AWS] 18. Choosing the right database (0) | 2021.09.23 |
---|---|
[AWS] 17-5. Big Data Ingestion Pipeline (0) | 2021.09.22 |
[AWS] 17-4. Distributing paid content (0) | 2021.09.17 |
[AWS] 17-3. Micro Service Architecture (0) | 2021.09.17 |
[AWS] 17-2. Serverless Website : MyBlog.com (0) | 2021.09.17 |