Amazon CloudFront Flashcards

(7 cards)

1
Q

What are origins and distributions?

A

An origin is the source content retrieved by edge locations and set up in distributions.

A distribution is the assigned configuration that sets how origins content is distributed.

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

What is a regional edge cache?

A

It is an intermediary cache location that caches content for longer than in POPs.

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

How is it possible to control which origin’s content is retrieved when there are multiple origins for a distribution?

A

Through parh-based policies and behaviours.

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

What is a signed URL and signed cookies?

A

Signed URLs and cookies provide a mechanism of authentication to obtain origin’s content.

Signed URLs apply for single files only; signed cookies do apply for multiple ones.

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

What is OAI and OAC?

A

Methods for restricting S3 origin’s content only to CloudFront.

OAI uses a special CloudFront user.
OAC uses the CloudFront service principal.

This requires that users access content through CloudFront.

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

How SSL/TLS works in Amazon CloudFront?

A

SSL/TLS can be enabled between users and distributions and between distributions and origins.

  • User -> Distribution: Viewer protocol;
  • Distribution -> Origin: Origin protocol.

For viewer a third-party or ACM certificate may be used.

For origin it depends on the origin type:
- S3 -> S3 default certificate;
- ELB -> ACM
- EC2 -> Third-party

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

What is Lambda Edge?

A

Lambda Edge is a mechanism in which Lambda functions may execute in different phases of the request/response.

User -> Distribution
Distribution -> Origin
Distribution <- Origin
User <- Distribution

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