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

7895 questions
36
votes
3 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,065
  • 2
  • 10
  • 24
36
votes
8 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
  • 14,302
  • 9
  • 56
  • 96
35
votes
4 answers

Docker Error - "jq: error: Cannot iterate over null"

So I'm trying to deploy a dockerfile on Elastic Beanstalk, but I can't get past this error - "jq: error: Cannot iterate over null". Successfully built [myContainerId] Successfully built aws_beanstalk/staging-app [2015-01-29T10:35:59.494Z] INFO …
YYZ
  • 659
  • 3
  • 8
  • 18
35
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,236
  • 1
  • 13
  • 23
34
votes
4 answers

Psycopg2 on Amazon Elastic Beanstalk

I'm trying upload my project (in python) that uses Psycopg2 for Amazon Elastic Beanstalk. I'm doing this with a zip file containing my project and an requirements.txt file. But I'm receiving this error: Downloading/unpacking psycopg2>=2.4.6 (from…
Eduardo
  • 1,337
  • 3
  • 22
  • 42
33
votes
4 answers

AWS - What are the exact differences between EC2, Beanstalk and LightSail?

What are the exact differences between EC2, Beanstalk and LightSail in AWS? What are good real time scenarios in which I should use these services?
33
votes
5 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
  • 74,635
  • 166
  • 442
  • 756
33
votes
4 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:…
32
votes
1 answer

AWS classic load balancer listener isn't created, then disapears.

I am trying to add an HTTPS listener to my EBS classic load balancer. I used the CLI upload-certificate tool to upload my cert (using the GUI never resulted in the cert showing up as an option on the load balancer form. No errors, logs, events). I…
32
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,892
  • 2
  • 18
  • 25
31
votes
2 answers

recommended way to install mongodb on elastic beanstalk

I have already taken a look at How to install mongodb in Elastic Beanstalk? dated 2014, which no longer works. as well as https://docs.mongodb.org/ecosystem/platforms/amazon-ec2/#manually-deploy-mongodb-on-ec2 I have set up a new elastic beanstalk…
amyloula
  • 1,496
  • 2
  • 15
  • 26
31
votes
6 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
  • 891
  • 4
  • 9
  • 20
30
votes
3 answers

Elastic Beanstalk Change ELB Type

Does anyone know if it's possible to change an existing AWS Elastic Beanstalk environment to an Application Load Balancer (instead of a classic one). As far as I know only Application ELB's can be protected with AWS WAF and DDOS "Shield" so any…
David
  • 5,464
  • 15
  • 47
  • 86
30
votes
3 answers

Websockets with socket.io on AWS Elastic Beanstalk

I'm trying to setup a websocket-server with socket.io on AWS Elastic Beanstalk. Got the initial request to /socket.io/1/?t=xxxx up and running but the websocket handshake fails with this error: WebSocket connection to…
funparko
  • 303
  • 1
  • 3
  • 4
29
votes
3 answers

AWS Elastic Beanstalk - How To Upgrade Existing Environment from Ruby 2.1 to Ruby 2.2

AWS Elastic Beanstalk - Cannot Clone With Latest Platform or eb upgrade from Ruby 2.1 to Ruby 2.2 I've been smashing my head on this one. Back in May, AWS announced that their Ruby Elastic Environments now offer Ruby-2.2 (e.g.…
Dan
  • 1,837
  • 16
  • 21