[英]Hosting webapp on an AWS EC2 server. Do I need to use the AWS “application services” for search and email?
I want to host my app on an VPS/VPC and am currently leaning towards the AWS EC2 server. 我想将我的应用程序托管在VPS / VPC上,并且目前倾向于使用AWS EC2服务器。 I'm looking at the console right now and I see a bunch of services offered like CloudSearch(managed search service) and SES(email sending service).
我现在正在看控制台,看到一堆服务,例如CloudSearch(托管搜索服务)和SES(电子邮件发送服务)。
Considering the fact that I have already written code to do these things (at least for the search) that works locally, do I/should I still utilize these services? 考虑到我已经编写了代码来执行这些在本地工作的事情(至少用于搜索),我/我是否仍应使用这些服务? If so, why and how?
如果是这样,为什么以及如何做?
You do not need to use these services. 您不需要使用这些服务。 But there are limits on sending emails from EC2 instances.
但是从EC2实例发送电子邮件受到限制。 ( http://aws.amazon.com/ec2/faqs/#general , search for Are there any limitations in sending email from EC2 instances? ).
( http://aws.amazon.com/ec2/faqs/#general ,搜索从EC2实例发送电子邮件是否有任何限制? )。
If you intent to send huge amount of emails then you want to use SES. 如果您打算发送大量电子邮件,那么您想使用SES。
For creating webhosting in EC2 instance you can use Easyengine, refer the below link for it: 要在EC2实例中创建虚拟主机,您可以使用Easyengine,请参考以下链接:
http://docs.rtcamp.com/easyengine/install/aws.html http://docs.rtcamp.com/easyengine/install/aws.html
If you intend to send emails from your website you can either use Amazon SES or also any other mailing service. 如果您打算从您的网站发送电子邮件,则可以使用Amazon SES或任何其他邮件服务。
For sending e-mail using Amazon SES follow the below steps: 要使用Amazon SES发送电子邮件,请执行以下步骤:
Step 1) Verify the email address from which you need to send emails. 步骤1)验证您需要从中发送电子邮件的电子邮件地址。
Step 2) Use the credentials which you get from step1 in your web application to send email to your user. 步骤2)使用从Web应用程序的步骤1获得的凭据向用户发送电子邮件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.