Parse Server on AWS Elastic Beanstalk
Hello~
I was set up Parse Server on AWS Elastic Beanstalk below guide link
http://mobile.awsblog.com/post/TxCD57GZLM2JR/How-to-set-up-Parse-Server-on-AWS-using-AWS-Elastic-Beanstalk
But This is for parse-server-example code.
When do i get official parse-server code on AWS Elastic Beanstalk?
Thank you
The parse-server-example has a dependency on parse-server (https://github.com/ParsePlatform/parse-server-example/blob/master/package.json#L15). The index.js (https://github.com/ParsePlatform/parse-server-example/blob/master/index.js) instantiates the Parse server.
So I am not need to install the parse-server on AWS Elastic Beanstalk? Using only the parse-server-example Can I use all the features?
It gets installed when you do npm install, which is what the one-step deploy will do for you (https://github.com/ParsePlatform/parse-server-example/blob/master/.ebextensions/app.config). You do not need to install parse-server yourself.
Oh I see. Thank you @rogerhu :)
@json-park I was set up Parse Server on AWS Elastic Beanstalk.
But I had some issues.
Please read this comment carefully.
- click "Deploy to AWS" on http://mobile.awsblog.com/post/TxCD57GZLM2JR/How-to-set-up-Parse-Server-on-AWS-using-AWS-Elastic-Beanstalk
- select "node.js"
- select "Upload your own code (advanced configuration)"
- upload zip file

- click "configure details"
- click "create app"

- waiting
- set Configuration(APP_ID, MASTER_KEY ...)

- click "apply"
- when I go to server URL, That says "502 Bad Gateway nginx/1.8.0"

So I can't test parse-server on my app.
index.js is following:
var api = new ParseServer({
databaseURI: databaseUri || 'mongodb://...', cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js', appId: process.env.APP_ID || '5...h', masterKey: process.env.MASTER_KEY || 'd...5', fileKey: process.env.FILE_KEY || '3...5'
});
I add my cloud code in main.js.
Now, what can I do? or what should I do?
Please help me.
Thanks,
There may be some answers in the following issue thread: https://github.com/ParsePlatform/parse-server/issues/916