What is Cloud front?
AWS CloudFront is used for deliver your entire website ( static and dynamic ), streaming and Interactive content using a global network of edge locations.
When users are requested for your content are automatically routed to the nearest edge locations, so content is always delivered with the good performance.
AWS CloudFront is optimized to work with other amazon web services, like -:
- Amazon S3 ( Simple Storage Service).
- Amazon Elastic compute cloud EC2
- Route 53
- Elastic Load Balancing
Amazon CloudFront also works seamlessly with any non-AWS origin server, which stores the correct, original, definitive version of your files.
Cloud Front Key Terminology:-
1- Web Distribution -> It is used for website ( Static and dynamic)
2- RTMP -> It is used for media streaming
Cloudfront Exam Tips for ” amazon system associate exam” -:
1- Edge Locations :- This is the locations where content will be cached
2- Origin :- This is the origin of all the files that the CDN will distribute.this can be either on S3 bucket , Ec2 instances, Elastic Load Balancer or Route 53.
3- Distribution:- this is the name given the CDN which consist of a collection of edge locations.
* Web Locations
4- Edge locations are not just READ only, you can write to them too.
5- Object are cached for the life of the TTL ( Time to Live).
6- You can clear cached objects, but you will be charged.
7- you can clear or objects can expire automatically after 24 days.