Questions tagged [amazon-elastic-beanstalk]

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service from Amazon Web Services that allows users to create applications and push them to a definable set of AWS services.

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service from Amazon Web Services that allows users to create applications and push them to a definable set of AWS services, including Amazon EC2, Amazon S3, Amazon Simple Notification Service (SNS), Amazon CloudWatch, auto scaling, and elastic load balancers.

AWS Elastic Beanstalk Documentation

9253 questions
42
votes
5 answers

Amazon Elastic Beanstalk node and npm non-standard install locations

Amazon Beanstalk installs node and npm into really obscure places - and I'm not sure they won't change if EB decides to use a newer version of node, which would cause my application to break. These are the locations for node and…
dubeegee
  • 781
  • 1
  • 6
  • 14
42
votes
5 answers

Elastic Beanstalk Ruby/Rails need to install git so bundle install works.. but is not

I'm having an issue deploying our rails app.. I created a hook like the example on the AWS blog howto http://ruby.awsblog.com/post/Tx2AK2MFX0QHRIO/Deploying-Ruby-Applications-to-AWS-Elastic-Beanstalk-with-Git like: packages: yum: git: [] even…
41
votes
10 answers

AWS Elastic Beanstalk environment variables in ASP.NET Core 1.0

How do I get environment variables from elastic beanstalk into an asp.net core mvc application? I have added a .ebextensions folder with app.config file in it with the following: option_settings: - option_name: HelloWorld value: placeholder -…
41
votes
8 answers

AWS Load Balancer with a static IP address

I have a set-up running on Amazon cloud with a couple of EC2 Instances running through a load balancer. It is important that the site has a unique(static) IP or set of IPs as I'm plugging in 3rd party APIs which only accept requests made from IPs…
40
votes
4 answers

AWS Elastic Beanstalk change RDS Endpoint

How do I change the configured RDS endpoint of an AWS Elastic Beanstalk environment? E.g. after the RDS database was deleted or should be replaced with a new RDS database.
tholu
  • 1,150
  • 2
  • 10
  • 24
39
votes
6 answers

Customize AWS ElasticBeanstalk NodeJS Install (use yarn)

Isit possible to configure EBS to install my NodeJS application using yarn package manager instead of NPM?
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
39
votes
4 answers

Is it possible (or efficient) to run a complete backend with AWS Lambda (vs say, Elastic Beanstalk)

I'm relatively new to the server world, so forgive me if some of this is basic (and the first bit of text will be me explaining my logic to make sure that's not flawed). All my questions will be bolded, to make your help easier :). I've been…
Matt
  • 1,392
  • 12
  • 24
39
votes
15 answers

AWS: None of the Instances are sending data

I'm trying to set up an Elastic Beanstalk application with Amazon Web Services however I'm receiving a load of errors with the message None of the instances are sending data. I've tried deleting the Elastic Beanstalk Application and the EC2 instance…
Pav Sidhu
  • 6,724
  • 18
  • 55
  • 110
39
votes
5 answers

How to change nginx config in amazon elastic beanstalk running a docker instance

After i login and the cookie is set I get error 502. When i read the log i get the error: 014/05/17 01:54:43 [error] 11013#0: *8 upstream sent too big header while reading response header from upstream, client: 83.248.134.236, server: , request:…
39
votes
7 answers

Failed to find package.json. Node.js may have issues starting. Verify package.json is valid or place code in a file named server.js or app.js

When I try to upload my Node.js project on Elastic Beanstalk I obtain the following error: Failed to find package.json. Node.js may have issues starting. Verify package.json is valid or place code in a file named server.js or app.js. However, I…
Michele Spina
  • 1,091
  • 4
  • 12
  • 21
38
votes
4 answers

How to delete empty S3 bucket which generated by Elastic Beanstalk?

In my console, I see an empty S3 bucket created by AWS Elastic Beanstalk. Its name is 'elasticbeanstalk-ap-northeast-1-xxxxxxx'. I already removed my Elastic Beanstalk project, however the S3 bucket still remains and I can't delete it. Is there any…
38
votes
4 answers

Referencing env variables from Elastic Beanstalk .ebextensions config files

Is it posssible to reference the PARAM1 / PARAM2 etc.. container environment properties from the .ebextensions config files. If so, how? I tried $PARAM1 but it seemed to be an empty value. I want to set the hostname on startup to contain DEV, QA or…
Kevin
  • 11,521
  • 22
  • 81
  • 103
38
votes
7 answers

How to add multiple keys for elastic beanstalk instance?

There is a very good question on [How to] SSH to Elastic [an] Beanstalk instance, but one thing I noticed is that, through this method, it is only possible to add one SSH key. How can I add multiple SSH keys to an instance? Is there a way to…
NT3RP
  • 15,262
  • 9
  • 61
  • 97
37
votes
2 answers

how to configure eb cli with eb env that is already running

I have taken over a project that has been deployed to elastic beanstalk. I would like to configure my eb cli to deploy to the existing environment without modifying that environment. From my research I get the impression that eb init is the proper…
laertiades
  • 1,992
  • 2
  • 19
  • 26
37
votes
3 answers

Exposing multiple ports from Docker within Elastic Beanstalk

From reading the AWS documentation, it appears that when using Docker as the platform on Elastic Beanstalk (EB) (as opposed to Tomcat, etc.), only a single port can be exposed. I'm trying to understand why Amazon created this restriction -- seems…
thinkski
  • 1,306
  • 1
  • 15
  • 25