AWS-based media Sharing System Architecture

Source: Internet
Author: User
Tags amazon cloudfront

AWS-based media Sharing System Architecture

Media sharing is one of the most popular markets on the Internet. Customers have a strong desire to put photos and videos on their social networking websites and share their media content in custom online albums. The increasing popularity of media sharing means that website owners are facing increasing storage and bandwidth needs, accelerating the market commercialization, and providing faster performance than competitors.

Because most enterprises have limited manpower, budget, and data center space, AWS provides a unique set of implementation and expansion methods, so that enterprises do not have to invest in hardware and personnel, or extra data center space, using AWS is a very effective way. Different services can be used independently based on different projects. Displays a highly available, durable, and cost-effective media sharing and processing platform.

1. The first step to share content is to upload media files online. In this configuration, Elastic LoadBalancer distributes incoming requests to the upload server group-a group of dynamic Amazon EC2 instances. amazon CloudWatch monitors these servers, while AutoScaling manages them to automatically increase or decrease EC2 capacity based on load. In this example, an independent node is used to receive uploaded media content to reduce the load on the web site.

2. The uploaded original files are stored in Amazon Simple StorageService (Amazon S3.

3. to process uploaded files, the upload server pushes messages to the Amazon simple Queue Service (Amazon SQS) Queue. This queue serves as the communication channel between the file receiving and file processing components.

4. A processing pipeline is a dedicated set of EC2 instances used to perform any post-processing tasks (such as video transcoding and image size adjustment) on uploaded media files ). To automatically adjust the required capacity, Auto Scaling manages this set of servers. Similarly, SpotInstances can be used to dynamically expand the group capacity to reduce file processing costs.

5. Once the processing is completed, Amazon S3 stores these output files. Because the original files are also stored in S3, the processed files should be stored with reduced redundancy.

6. media-related data can be stored in mazon RDS or AmazonSimpleDB.

7. The third group of EC2 instances are used to host the web Front-end of the media sharing service.

8. Media files in Amazon S3 are distributed to end users through Amazon CloudFront. Amazon CloudFront is a CDN service provided by global service nodes.

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.