lundzern lundzern - 2 years ago 269
Node.js Question

installing parse dashboard on amazon aws elastic beanstalk (or locally?)

I have been following this
guide to installing Parse Server on Amazon AWS with Elastic Beanstalk, and the set up is working fine, however that particular guide only addresses the installation of Parse Server and not the Parse Dashboard, which I would also like to have set up.

Being as Parse is a Node.js app, I was hoping I could get away with "npm install -g parse-dashboard" through the command line, but seeing as the changes on the instance might be overwritten by the load balancer I am not sure this is the right path.

I do know that Amazon has an EB CLI that can be used to install applications but I am not sure if that is the best/simplest way either?

What I would like is the easiest way to install Parse Dashboard and connect it with my AWS EB set-up, and I would also like for the Parse Dashboard to be easily updated when changes are made available through Github.

So my question really boils down to two alternatives, as I see it;

1) Should I install the Parse Dashboard on AWS, if so - what would be the best way to do this?

2) Can I perhaps set up a local install of the Parse Dashboard and connect it to my Parse Server hosted on AWS EB? If so, what would be the recommended method of doing this.

Answer Source

For question 1, you don't want to put the dashboard in public domain. Parse dashboard gives full access to modify your database.

If you still want to do it, it can be done just like the parse-server. Once you have clone the repository add an app.config file under /your_project_folder/.ebextensions/app.config with the following content:

    NodeCommand: "npm start"

and then follow this guide.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download