如何在已经具有PHP环境的AWS中在现有实例(EC2)中部署nodejs?
从标题中了解,我必须在现有实例上的nextJ上部署nodejs应用程序。 情况是:
- 我们可以用已经具有PHP环境的实例部署NodeJS吗? (我认为我们通常每天在本地计算机上工作,这是可能的)。
- 如何为此创建基本管道? (我在AWS中的弹性beanstalk上浏览了一些教程,但是它为我不想要的新实例创建了一个新实例
- 。文件夹。
另外,我听说有一些谣言,即当管道构建我们的项目时,它将删除该实例中的所有现有项目。 (这真的是真的)。
我只有书籍知识,但从未对此做任何实践。
请帮助我。
谢谢。
As you understand from the title, that I have to deploy an nodejs application build on Nextjs on the existing instance.
The situation is:
- can we deploy nodejs with the instance that already have php environment? (I think it is possible as we normally work on our local computer on daily basis).
- how to create a basic pipeline for that? (I go through some tutorials on the Elastic Beanstalk in AWS, but it creates a new instance for that which I don't want, is there is any alternative ways to do that.)
- how to connect pipeline with instance and also with the project folder.
Also, I've heard some rumors that, when the pipeline builds our projects, then it will delete all the existing projects in the instance. (is it really true).
I only have the book knowledge, but never done a practical on that.
Please help me out.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论