CloudFront Advanced Concepts
Some good to know for CloudFront
Pricing
Depends on the location cost different price
- Price classes
- All: all regions -- best performance
- 200: most regions -- excludes most expensive regions
- 100: only the least expensive regions
Multiple origin
Route to different origins based on the path
Origin group: consist of 1 primary and 1 secondary origin
If primary origin fail => Second origin is used
We can also do this with Amazon S3
Field level encryption
- Protect user sensitive information through application
- Sensitive information encrypted at edge close to the user
- Uses asymmetric encryption
- To use
- Speicfy set of fields in POST request that you want to encrypt (up to 10)
- Specify public key to encrypt them