parse-community / docs

Parse Platform docs
https://docs.parseplatform.org
Other
313 stars 518 forks source link

Improve Parse Server AWS guide #893

Open MrMartinR opened 2 years ago

MrMartinR commented 2 years ago

Improve Parse Server AWS guide, issue https://github.com/parse-community/docs/issues/892

MrMartinR commented 2 years ago

Hi @parse-community/docs-review , can someone check this PR? I don't know what happens with the bundle.js, that is marked as modified but I am pretty sure I only commit the deploying-on-aws-ec2-ubuntu.md

mtrezza commented 2 years ago

@MrMartinR before going into the conversations of the review feedback, what do you think about the previous comment?

MrMartinR commented 2 years ago

Hi, maybe this guide is not beginner or the advisable/normal way to do things, I did choose this way of deployment for my personal situation. I don't remember why I decided or someone told me to include it in the docs, I wanted to make a guide for my future 'me', if you feel that is not appropriate to be included in the docs, we can just remove it, I have no problem with that.

I have no idea about AWS EB or Atlas (and to be honest I have no energy right now to play with that just to make a guide 🤔😅), and the option of having the EC2 instance for the app + the RDS for the DB was a bit expensive, thats why I decided to merge all in the same EC2, I am not sure if this guide is valid for linux OS / VM or even macOS.

your call... 🤔

mtrezza commented 2 years ago

Got it.

It's not a beginner's guide, as it chooses the rather unnecessarily complex way to deploy Parse Server directly on a EC2 instance. This raises more questions, as to how to secure the instance, how to make it accessible publicly in a controlled way (public gateway), how to preserve the logs in CloudWatch when the instance restarts, etc. This all comes out of the box when deploying in EB.

It's also not an advanced guide, as deploying Parse Server and a raw PostgresQL instance on a EC2 instance is rather unusual for a professional application, and there is likely no new info in the guide for an advanced user.

It provides a fragmented view of how to deploy Parse Server, picking some components and puzzling them together to "just make it work somehow" - a PoC if you will. It seems more an anecdotal account of a challenge you've set for yourself. I would remove the guide, as it doesn't seem to provide value beyond that, specifically for beginners.

@parse-community/server your thoughts?