简体   繁体   English

亚马逊S3或EBS

[英]amazon S3 or EBS

I created Amazon EC2 instance to host mvc.net developed application. 我创建了Amazon EC2实例来托管mvc.net开发的应用程序。 Now I have an requirement where I need to store images for my resources.which is best place to use store images and how to fetch them during runtime? 现在我有一个要求,我需要为我的资源存储图像。这是使用存储图像以及如何在运行时获取它们的最佳位置? Amazon S3 or EBS ? 亚马逊S3还是EBS? how to do it. 怎么做。 please help me 请帮我

I have architected solutions on AWS for Stock photography sites which stores millions of images spanning TB's of data, I would like to share some of the best practice in AWS for your requirement: 我在AWS上有针对库存摄影网站的架构解决方案,它存储了数百万TB的数据图像,我想根据您的要求分享AWS中的一些最佳实践:

P1) Store the Original Image file in S3 Standard option P1)将原始图像文件存储在S3 Standard选项中

P2) Store the reproducible images like thumbs etc in the S3 Reduced Redundancy option (RRS) to save costs P2)将可再现的图像(如拇指等)存储在S3 Reduced Redundancy选项(RRS)中以节省成本

P3) Meta data about images including the S3 URL can be stored in Amazon RDS or Amazon DynamoDB depending upon the query complexity. P3)根据查询的复杂性,可以将包含S3 URL的图像的元数据存储在Amazon RDS或Amazon DynamoDB中。 Query the entries from Amazon RDS. 查询Amazon RDS中的条目。 If your query is complex it is also common practice to Store the meta data in Amazon CloudSearch or Apache Solr. 如果您的查询很复杂,通常的做法是将元数据存储在Amazon CloudSearch或Apache Solr中。

P4) Deliver your thumbs to users with low latency using Amazon CloudFront. P4)使用Amazon CloudFront向低延迟用户表达您的意见。

P5) Queue your image conversion either thru SQS or RabbitMQ on Amazon EC2 P5)通过Amazon EC2上的SQS或RabbitMQ对您的图像转换进行排队

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM