简体   繁体   English

在AWS EC2服务器上托管webapp。 我需要使用AWS“应用程序服务”进行搜索和电子邮件吗?

[英]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.

相关问题 AWS EC2上的电子邮件服务器 - Email server on AWS EC2 在Amazon AWS EC2上托管Web应用程序 - Hosting web application on Amazon AWS EC2 使用AWS Elastic Beanstalk / EC2时如何查看服务器日志? 我需要使用SSH吗? - How do I view server logs when using AWS Elastic Beanstalk / EC2? Do I need to use SSH? 如何将我的项目从 github 存储库转移到 aws 服务器? 我可以使用哪种类型的 aws 服务(ec2 或 s3)? - how can i transfer my project from github repository to aws server? which type of aws services(ec2 or s3) i can use to do so? AWS:如何使用 AWS Cognito 为 Cloudfront 和 EC2 实例托管的 Web 应用程序提供授权服务? - AWS: How can I use AWS Cognito to provide authorization service for a webapp hosted by Cloudfront and EC2 instances? 我是否需要将AWS S3或EC2用于我的iOS应用程序的后端? - Do I need to use AWS S3 or EC2 for backend of my iOS app? 我是否需要在我的 AWS EC2 实例中为我的 flask 应用程序使用 Apache? - Do I need to use Apache in my AWS EC2 instance for my flask App? 如何在AWS中从专用EC2服务器降级到默认EC2服务器? - How do I downgrade from a dedicated EC2 server to a default EC2 server in AWS? 如何在AWS EC2上设置REST API服务器使用我的域名? - How do I have the REST API server set up on AWS EC2 use my domain name? 在AWS Beanstalk或EC2上托管RESTful API服务器的安全性 - security of hosting a RESTful API server on AWS Beanstalk or EC2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM