[AWS SAA-C02 Study Note] Global Acceleration: CloudFront & S3 Acceleration

CloundFront

Content Distribution Network (CDN)

Creates cached copies of your website at various edge locations around the world.

CloudFront support both dynamic and static application.

Intro to CloudFront

CDN

Core Componets

Origin, Edge Location and Distribution

Distributions

A distributions is a collection of Edge Locations. You can specific the origin eg. S3, EC2, ELB, Route53

It replicates copies bases on your Price Class

There are 2 types of Distrobutions:

  1. Web (for websites)
  2. RTMP (for streaming media)

Lambda@Edge

Protection

By default a Distribution allows everyone to have access

OAI, Signed URLs, Signed Cookies

/img/AWS/CDN-CloudFront-Global-Accelerator/Untitled%205.png

CloudFront Cheat Sheet

/img/AWS/CDN-CloudFront-Global-Accelerator/Untitled%206.png

Global Accelerator

Improves the availability and performance of your applications with local and global users.

It provides static IP address that act as a fixed entry point to your application endpoint (ALB or EC2 instances).

/img/AWS/CDN-CloudFront-Global-Accelerator/Untitled%207.png

set static IP in Route53, and it will return static IP to redirect user to specific edge location

when application fail:

/img/AWS/CDN-CloudFront-Global-Accelerator/Untitled%208.png

pricing

Fixed fee + Fee per GB Usage

setup

both weight

dial → for region

weight → for specific endpoint

S3 Transfer Acceleration

Amazon S3 Transfer Acceleration can speed up content transfers to and from Amazon S3 by as much as 50-500% for long-distance transfer of larger objects. Customers who have either web or mobile applications with widespread users or applications hosted far away from their S3 bucket can experience long and variable upload and download speeds over the Internet.

!!!加速访问S3和上传到S3的速度!!!

S3 Transfer Acceleration (S3TA) reduces the variability in Internet routing, congestion and speeds that can affect transfers, and logically shortens the distance to S3 for remote applications.

S3TA improves transfer performance by routing traffic through Amazon CloudFront’s globally distributed Edge Locations and over AWS backbone networks, and by using network protocol optimizations. You can turn on S3TA with a few clicks in the S3 console, and test its benefits from your location with a speed comparison tool. With S3TA, you pay only for transfers that are accelerated.