lucaswxp
lucaswxp

Reputation: 2119

Node.js deploy - AWS Elastic Beanstalk

ey guys.

I'm just starting to learn how to deploy a node js application using AWS Elastic Beanstalk and I got stuck in this part from the tutorial:

From the directory where you created your local repository, type the following command:

eb start

Once the environment status is Green, AWS Elastic Beanstalk will output a URL for the application

At the end of the process, I got:

INFO    Command execution completed on all instances. Summary: Successful: 0, Failed: 1.

And no URL returned.

In the web panel I have the following in the log entries:

ERROR   Create environment operation is complete, but with errors. For more information, see troubleshooting documentation

What might have happened? I'm a beginner with AWS technologies and I'm totally lost! Here are the last 100 lines log: http://pastebin.com/r2wDUP1L

It seems it crashed while trying to npm install express... Can someone help me, please?

Upvotes: 0

Views: 953

Answers (1)

lucaswxp
lucaswxp

Reputation: 2119

For anyone interested, the problem was that GIT wasn't installed.

I was able to install git using Amazon ebextensions to manage the required packages to deploy and then just git aws.push. Everything worked out!

Upvotes: 1

Related Questions