CloudFront and Global Accelerator Flashcards

1
Q

What is AWS CloudFront?

A

It is a Content Delivery Network (CDN) that improves read performance by caching the data at an edge location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the characteristics of CloudFront?

A
  • 216 Points of presence globally (edge locations)
  • DDos protection
  • integration with Shield
  • can be used as an AWS Web Application Firewall
  • can expose to external HTTPS and talk to internal HTTPS backends
  • can be used as an ingress (to upload files to S3)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a CloudFront Origin?

A

The data source of an object to be retreived such as …

  • S3 Bucket which uses Origin Access Identity (OAI)
  • or Custom: which includes ALB, EC2, S3 Website, or any HTTP backend you want
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is CloudFront Geo Restriction?

A

A means to restrict who can access your content via whitelist or blacklist countries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the differences between S3 Cross Region Replication and CloudFront?

A

CloudFront uses

  • Global Edge Network
  • Cached files are for a TTL

S3 CRR uses

  • Region specific setups for replication to happen
  • Near real-time updates
  • Read only replication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can we limit content access to a user(s) through CloudFront?

A

By using Signed URL (individual file access) or signed Cookies (access to multiple files) with an attached policy to include…

  • URL expiration
  • IP range limit to access data from
  • Trusted Signers which are the AWS accounts that can create signed URLs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the difference between a CloudFront Signed URL and an S3 Pre-Signed URL?

A

CloudFront Signed URL

  • allows access to a path no matter the origin
  • uses Account wide key-pair that can only be managed by the root user
  • can filter by IP, path, date, or expiration
  • can leverage caching features

S3 Pre-signed URL

  • can issue a request as the person who pre-signed the URL
  • uses the IAM key of the signing IAM principal
  • has a limited lifetime
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the difference between Unicast IP and Anycast IP?

A

Unicast IP is where one server hold only one IP address.

Anycast IP is where all servers hold the same IP address and the client is routed to the nearest one.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Global Accelerator?

A

It is a means to speed up access to your application by using Anycast IPs to send to Edge Locations which then send traffic to your application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the characteristics of the Global Accelerator?

A
  • Works with Elastic IP, EC2, ALB and NLB (public and private)
  • maintains consistent performance through intelligent routing, caching, and using AWS internal Network
  • provides security by whitelisting only 2 external IPs and using DDoS protection via AWS Shield
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the difference between CloudFront and Global Accelerator?

A

CloudFront

  • improves performance for cacheable content (such as images and videos)
  • provides dynamic content (such as API acceleration and site delivery)
  • content is served at the edge

Global Accelerator

  • improves performance for applications over TCP or UDP
  • provides proxying packet at the edge to applications in one or more regions
  • Good fit for non-HTTP needs such as gaming(UDP), IoT(MQTT), or Voice over IP
  • Good fit for HTTP cases that require a static IP address
  • Good fit for HTTP cases that require deterministic fast regional failover
How well did you know this?
1
Not at all
2
3
4
5
Perfectly