CloudFront Flashcards

1
Q

What does CDN stand for??

A

Content Delivery Network
(Think CloudFront)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • Content Delivery Network (CDN)
  • Improves read performance, content is cached at the edge
  • Improves users experience
  • 216 Point of Presence globally (edge
    locations)
  • DDoS protection (because worldwide), integration with Shield, AWS Web Application Firewall
A

Amazon CloudFront

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

What are the 2 type of CloudFront Origins?

A

S3 Bucket
Custom Origin (HTTP)

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

CloudFront – Origins -
* For distributing files and caching them at the edge
* Enhanced security with CloudFront Origin Access Control (OAC)
* OAC is replacing Origin Access Identity (OAI)
* CloudFront can be used as an ingress (to upload files to S3)

A

S3 bucket

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

CloudFront – Origins -
* Application Load Balancer
* EC2 instance
* S3 website (must first enable the bucket as a static S3 website)
* Any HTTP backend you want

A

Custom Origin (HTTP)

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

What is the difference between CloudFront vs S3 Cross Region Replication

A

CloudFront:
- Global Edge network
- Files are cached for a TTL (maybe a day)
- Great for static content that must be available everywhere

S3 Cross Region Replication
- Must be setup for each region you want replication to happen
- Files are updated in near real-time
- Read only
- Great for dynamic content that needs to be available at low-latency in few regions

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

What are the different CloudFront – Price Classes

A

Price Class All
Price Class 200
Price Class 100

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

CloudFront – Price Classes - all regions – best performance

A

Price Class All

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

CloudFront – Price Classes - most regions, but excludes the most expensive regions

A

Price Class 200

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

CloudFront – Price Classes - only the least expensive regions

A

Price Class 100

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

In case you update the back-end origin, CloudFront doesn’t know about it and will only get the refreshed content after the TTL has expired

However, you can force an entire or partial cache refresh (thus bypassing the TTL) by performing a _____________________

A

CloudFront – Cache Invalidations

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

You can force an ________ or ________ cache refresh (thus bypassing the TTL) by performing a CloudFront Invalidation

A

entire
partial

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

CloudFront – Cache Invalidations You can invalidate ________ or a ________

A

all files ()
special path (/images/
)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  • Leverage the AWS internal network to route to your application
  • 2 Anycast IP are created for your application
  • The Anycast IP send traffic directly to Edge Locations
  • The Edge locations send the traffic to your application
A

AWS Global Accelerator

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

What does AWS Global Accelerator work with??

A

Elastic IP
EC2 instances
ALB
NLB
public or private

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  • Intelligent routing to lowest latency and fast regional failover
  • No issue with client cache (because the IP doesn’t change)
  • Internal AWS network
A

AWS Global Accelerator - Consistent Performance

17
Q

Does AWS Global Accelerator perform Health Checks?

A

YES

18
Q
  • Global Accelerator performs a health check of your applications
  • Helps make your application global (failover less than 1 minute for unhealthy)
  • Great for disaster recovery (thanks to the health checks)
A

AWS Global Accelerator - Health Checks

19
Q
A
19
Q
  • only 2 external IP need to be whitelisted
  • DDoS protection thanks to AWS Shield
A

AWS Global Accelerator - Security