A detailed walkthrough on setting up a production-ready web server from scratch on the Amazon EC2 service.
This article is originally posted here...
For further actions, you may consider blocking this person and/or reporting abuse
I think Beanstalk (with Docker) + RDS for backend, S3 for frontend would be a better solution for production use. Way easier to manage, and you will get a bunch of handy features out of the box. (auto scaling, monitoring, alerts)
Agreed, S3 would have been a better option for serving the front end. I haven't worked with Beanstalk yet!
Agreed, please check this article and provide your feedback dev.to/hozefam/create-a-production...
What does this cost a month? I’m interested in building a small node app, it needs node + DB. I found a page that uses beanstalk with auto scale and provided cost was $27 approx per month. I have never done anything on AWS except CDN static assets. Thinking about hosting a node app there just for learning AWS reasons. Nice write up, will read it fully later.
Looks good. But I would rather pick s3 bucket for hosting the react app here.
Yeah, that could be done too 👍
Hi. It is really good. It is missing the command to install nginx via terminal.
Thanks a lot for pointing that out.
Hi Asim
How would you compare this with AWS Amplify? Which do you prefer?
Great tutorial no doubt, but why the hell have you made those nginx blocks like images, it would be a lot easier to just copy/paste the server block code...
Awesome, Asim! Congratulations! Could you tell me the approximate monthly cost to maintain an application like this on AWS? Would it be cheaper if I opt for the S3 + Beanstalk solution? Thanks!