AWS - Network and Content Delivery
Network and Content Delivery
- Virtual Private Cloud(VPC) are virtual systems that are used to host services and application.
- Amazon DNS service is Route53(53 is DNS port).
- CloudFront is used for content delivery.
- Direct connect is used to physically connect AWS data centre through telephone lines.
CloudFront
- Content delivery network(CDN) is a system of distributed servers (network) that deliver webpages and web contents to requestor based on geographic locations of user.
- Edge location are the locations where the content will be cached, separate entity from AZ or region.
- Origin of content that is distributed by CDN are EC2, S3, Elastic load balancer or route53.
- Distribution is name given to the CDN which consists of the edge locations. Two type distribution Web for websites and RTMP(real time messg protocol) for adobe flash.
- User hits URL, a request is first sent to edge location, if the object found request is served else request sent to S3 bucket that contains requested object.
- Object from S3 is cached to edge location and then served to requestor.
- Time to live (TTL, in seconds, default 1day) a parameter that determines, How long the object will be available on edge location.
- Edge location, we can put object on edge location as well as read.
- To clear cached object manually, it is charged.
- Using CloudFront to Serve Private Content
Distribution
A distribution allows you to distribute content using a worldwide network of edge locations that provide low latency and high data transfer speeds.
- Create a web distribution if you want to:
- Speed up distribution of static and dynamic content, for example, .html, .css, .php, and graphics files.
- Distribute media files using HTTP or HTTPS.
- Add, update, or delete objects, and submit data from web forms.
- Use live streaming to stream an event in real time.
- Create an RTMP distribution to speed up distribution of your streaming media files using Adobe Flash Media Server's RTMP protocol. An RTMP distribution allows an end user to begin playing a media file before the file has finished downloading from a CloudFront edge location. Note the following:
- To create an RTMP distribution, you must store the media files in an Amazon S3 bucket.
- To use CloudFront live streaming, create a web distribution.
Comments
Post a Comment