Deployment to AWS Elastic Beanstalk #1220
Unanswered
callumagmo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm new to both medusajs and AWS.
Currently, I manage to deployed medusa starter template to AWS using EB CLI, but the server always returns the error 502 bad gateway.
This is what I got in the logs.
Mar 20 07:21:30 ip-172-31-45-26 web: > [email protected] start
Mar 20 07:21:30 ip-172-31-45-26 web: > medusa develop
Mar 20 07:21:30 ip-172-31-45-26 web: sh: /var/app/current/node_modules/.bin/medusa: Permission denied
I have tried the following solutions but seems no luck.
https://stackoverflow.com/a/46001517
ember-fastboot/fastboot-aws#4 (comment)
Then I have tried to deploy a simple express project and the server works fine.
Appreciate if anyone can help.
Do let me know if you need more information.
Beta Was this translation helpful? Give feedback.
All reactions