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
13
votes
1 answer

Why should I gitignore the .elastbeanstalk folder?

I have an Elastic Beanstalk Python Application. So I already made my build script where I do generate a deploy.zip file that I do deploy into EB. It does work just as it suppose to. So after building my script for building an artifact (my…
wviana
  • 1,619
  • 2
  • 19
  • 47
13
votes
1 answer

What is the best way to use HTTP 2 with AWS Elastic beanstalk

I have a Ruby on Rails App hosted on AWS using Elastic-beanstalk which works with HTTP 1 now I want to use HTTP 2. Can someone suggest me the best approach
13
votes
2 answers

Elastic beanstalk fails to create

I am trying to run beanstalk with java installed on it very quickly. So what I do is just open the beanstalk console and after creating the application I create the environment and in the environment pre configuration I chose java. Then after…
Hamed Minaee
  • 2,480
  • 4
  • 35
  • 63
13
votes
1 answer

AWS EB deploying Node app: failed to run npm install

I am trying to deploy my node app to AWS. It won't even let me deploy the application (stays as Sample Application) using eb deploy. Version: 64bit Amazon Linux 2016.09 v4.0.1 running Node.js The logs say Failed to run npm install But am not too…
user3871
  • 12,432
  • 33
  • 128
  • 268
13
votes
3 answers

AWS Elastic Beanstalk: How to use environment variables in ebextensions?

We are trying to store environment specific application configuration files in s3. The files are stored in different subdirectories which are named after the environment and also have the environment as part of the file name. Examples…
13
votes
1 answer

AWS EB Deploy shows missing Dockerrun.aws.json after deploying

I'm trying to deploy my application to Elastic Beanstalk (running docker) but during the deploy it always fails with something like this: Activity execution failed, because: cat: /var/app/current/Dockerrun.aws.json: No such file or directory cat:…
Jānis
  • 131
  • 1
  • 3
13
votes
2 answers

Multiple instances of celerybeat for autoscaled django app on elasticbeanstalk

I am trying to figure out the best way to structure a Django app that uses Celery to handle async and scheduled tasks in an autoscaling AWS ElasticBeanstalk environment. So far I have used only a single instance Elastic Beanstalk environment with…
wuser92
  • 479
  • 3
  • 16
13
votes
7 answers

Deploy docker on AWS beanstalk with docker composer

I'm trying to deploy multiple node.js micro services on AWS beanstalk, and I want them to be deployed on the same instance. It's my first time to deploy multiple services, so there're some failures I need someone to help me out. So, I tried to…
13
votes
7 answers

Install WKHTMLTOX (WKHTMLTOPDF + WKHTMLTOIMAGE) on AWS ElasticBeanstalk

I need WKHTMLTOX to be installed with my AWS EB app. I found this tutorial and it works except it supports old version. Did anyone install the latest (0.12.3) version on AWS EB as this is a bit different folders structure?
Strabek
  • 2,391
  • 3
  • 32
  • 39
13
votes
1 answer

AWS beanstalk environment isn't rotating docker container logs

I am running a scala app on elastic beanstalk and the server gets overfilled with container logs which are not rotated. The default scheme of beanstalk rotates docker logs in the /var/log/eb-docker/containers/eb-current-app/* folder, but additional…
Yaron Idan
  • 6,207
  • 5
  • 44
  • 66
13
votes
1 answer

NPM error when deploying NodeJS to Elastic Beanstalk

I'm getting the following error: 5065 verbose linkBins sse4_crc32@4.1.1 5066 verbose linkMans sse4_crc32@4.1.1 5067 verbose rebuildBundles sse4_crc32@4.1.1 5068 verbose rebuildBundles [ 'bindings', 'nan' ] 5069 info install sse4_crc32@4.1.1 5070…
Phil Hudson
  • 3,819
  • 8
  • 35
  • 59
13
votes
3 answers

ElasticBeanstalk - application changes not showing

I'm hosting an application with AWS, using elasticbeanstalk. I'm using the toolbelt to push my application from my local machine. Up until a couple weeks ago, everything was working fine, but recently my changes aren't taking effect. I can see in…
jordan
  • 9,570
  • 9
  • 43
  • 78
13
votes
2 answers

Go Web app on AWS with Elastic Beanstalk not showing output in logs

This is sort of an in-depth question, so I'll try to explain it as best I can. I've built a small API service in Go that I'm trying to deploy to AWS using the relatively new AWS Elastic Beanstalk Docker support. Here's what I've done (the code is…
rdegges
  • 32,786
  • 20
  • 85
  • 109
13
votes
4 answers

Nginx client_max_body_size not working in Docker container on AWS Elastic Beanstalk

I'm having a problem where nginx seems to be ignoring (or overriding) my upped client_max_body_size directive in a Ubuntu Docker container on AWS Elastic Beanstalk. This is preventing users from uploading files any larger than the nginx default of…
chapmandu
  • 266
  • 1
  • 2
  • 8
13
votes
1 answer

JSON stored in AWS EB environment variables is retrieved without quotes

I'm running a node.js EB container and trying to store JSON inside an Environment Variable. The JSON is stored correctly, but when retrieving it via process.env.MYVARIABLE it is returned with all the double quotes stripped. E.g. MYVARIABLE looks…
Vadim
  • 17,897
  • 4
  • 38
  • 62