Skip to content

Parse Server on AWS Elastic Beanstalk #394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
json-park opened this issue Feb 13, 2016 · 6 comments
Closed

Parse Server on AWS Elastic Beanstalk #394

json-park opened this issue Feb 13, 2016 · 6 comments

Comments

@json-park
Copy link

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

@rogerhu
Copy link
Contributor

rogerhu commented Feb 13, 2016

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.

@json-park
Copy link
Author

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?

@rogerhu
Copy link
Contributor

rogerhu commented Feb 13, 2016

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.

@json-park
Copy link
Author

Oh I see.
Thank you @rogerhu :)

@gfosco gfosco closed this as completed Feb 13, 2016
@topwebtek7
Copy link

@json-park
I was set up Parse Server on AWS Elastic Beanstalk.

But I had some issues.

Please read this comment carefully.

  1. click "Deploy to AWS" on http://mobile.awsblog.com/post/TxCD57GZLM2JR/How-to-set-up-Parse-Server-on-AWS-using-AWS-Elastic-Beanstalk
  2. select "node.js"
  3. select "Upload your own code (advanced configuration)"
  4. upload zip file
    untitled copy
  5. click "configure details"
  6. click "create app"
    untitled copy
  7. waiting
  8. set Configuration(APP_ID, MASTER_KEY ...)
    untitled copy
  9. click "apply"
  10. when I go to server URL, That says "502 Bad Gateway nginx/1.8.0"
    untitled copy
    untitled copy

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,

@mmislam101
Copy link

There may be some answers in the following issue thread:
#916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants