简体   繁体   English

如何在 AWS 上使用 VueJS 和 NodeJS 创建 Web 应用程序?

[英]How to create a web app with VueJS and NodeJS on AWS?

I've a web app executing locally but I want put it on AWS.我有一个在本地执行的 Web 应用程序,但我想将它放在 AWS 上。 The app consist on three parts:该应用程序由三部分组成:

  • VueJS app (frontend) VueJS 应用程序(前端)

  • NodeJS (backend/middleware) NodeJS(后端/中间件)

  • PostgreSQL PostgreSQL

I never worked with AWS and the tutorials just work with a single NodeJS app.我从未使用过 AWS,而且教程只适用于单个 NodeJS 应用程序。 So, which services and how use that to make my whole application?那么,哪些服务以及如何使用它来制作我的整个应用程序? Looking on the AWS's catalog I think that I can use the Beanstalk and AmazonRDS services, or AmazonS3 and AmazonRDS.查看AWS的目录,我认为我可以使用Beanstalk和AmazonRDS服务,或者AmazonS3和AmazonRDS。 Please anyone can help me?请任何人都可以帮助我吗?

There is all the services you need for your app with Amazon :亚马逊拥有您的应用程序所需的所有服务:

  • VueJS app => You can host it in a S3 bucket. VueJS 应用 => 您可以将它托管在 S3 存储桶中。 Amazon S3 seems good for it. Amazon S3似乎很适合它。
  • PostgresSQL => Amazon RDS is the service you need. PostgresSQL => Amazon RDS是您需要的服务。
  • NodeJS => You will need Amazon EC2 to host your nodeJS app. NodeJS => 您将需要Amazon EC2来托管您的 nodeJS 应用程序。

You can find a lot of tutorials into internet.你可以在网上找到很多教程。 There are so many... You can begin to deploy your app into S3 .有这么多......您可以开始将您的应用程序部署到 S3 中 It is the easy part.这是容易的部分。 Once you did that, you can look into how to deploy nodeJS app into EC2 .完成此操作后,您可以研究如何将 nodeJS 应用程序部署到 EC2 中 And finally connect your app to Amazon RDS .最后将您的应用程序连接到 Amazon RDS

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

相关问题 如何在 web 应用程序中使用 nodejs 创建微软团队会面链接 - How to create microsoft teams meet link using nodejs in web app 如何使用nodeJs创建Web服务器 - How to create web server with nodeJs 如何使用 nodejs 抓取 javascript (vuejs, reactjs) 网站 - How to crawl javascript (vuejs, reactjs) web site with nodejs 使用 Typescript 和 nodejs 创建一个不是 web 或 api 的应用程序? - Use Typescript and nodejs to create a app that is not web or api? 如何为 webapp 创建安全的用户身份验证流程? (VueJS | NodeJS | ExpressJS) - How to create a secure user authentication flow for a webapp? (VueJS | NodeJS | ExpressJS) 如何在一台服务器上部署Node.js API和Vue.js应用 - how to deploy nodejs api and vuejs app in one server 如何使用依赖项创建AWS nodejs lambda函数 - How to create AWS nodejs lambda function with dependency 如何将NodeJs应用程序部署到Azure Web应用程序 - How to deploy a NodeJs app to azure web app 您能否以编程方式创建 AWS Cognito 应用程序客户端? (节点) - Can you create AWS Cognito App Client Programmatically? (nodejs) 如何构建Angular 2 + NodeJS Web App? - How to build an Angular 2 + NodeJS Web App?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM