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.