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

AWS 'eb deploy' always returns returncode 0

I'm using 'eb deploy' in my continuous integration script. I'm having 2 problems with it: It always returns returncode 0, even if there is an error. This breaks my deploy pipeline, because there is no way to detect an error. It displays output only…
andr111
  • 2,982
  • 11
  • 35
  • 45
4
votes
1 answer

Target WSGI script '/opt/python/current/app/application.py' does not contain WSGI application 'application'

Pulling my hair out! I am trying to deploy a Python FLask application to AWS Elastic Beanstalk and I am getting the error Target WSGI script '/opt/python/current/app/application.py' does not contain WSGI application 'application' The web page is…
4
votes
1 answer

Configure SSL certificate by ACM on single instance tomcat on AWS

I have created a single instance web application on AWS with Elastic Beanstalk. Now I want to add ssl certificate to enable https access on it. I created a ssl certificate using ACM and I was folowing this! link to add it to my web app in Elastic…
4
votes
2 answers

AWS Certificate Manager (ACM Certificate) with Elastic Beanstalk

I have tried the following solutions but no one of them solved my problem: Using AWS Certificate Manager (ACM Certificate) with Elastic Beanstalk Set load balancer listener ssl certificate - can not give a link because I don't have 10 reputation…
4
votes
1 answer

Provide environment variables to elastic beanstalk docker deployment

I have a Dockerfile that pulls a private repo from github, by using a user Access Token: ARG DEPLOYMENT_TOKEN RUN git clone https://$DEPLOYMENT_TOKEN:x-oauth-basic@github.com/company-org/api.git /tmpapp/ Now when I am creating a new app, and…
user1658296
  • 1,398
  • 2
  • 18
  • 46
4
votes
0 answers

Parse Server CloudCode - 502 Bad Gateway in AWS Elastic Beanstalk when updating cloud folder

So I created my Parse Server on AWS EB using the press button method here: https://github.com/ParsePlatform/parse-server-example And then it set up and was running fine. I then created a directory on my local machine (I already have EB CLI…
4
votes
1 answer

How to change settings for logrotate in AWS Elastic Beanstalk docker instances

I realized that the default logrotation for AWS EB's docker is 5 files of 10M each. That's not enough for me. I found the config at /etc/logrotate.elasticbeanstalk.hourly/logrotate.elasticbeanstalk.applogs.conf and it reads as follows: $ cat…
4
votes
1 answer

Elastic Beanstalk : how to deploy only file modification without deploying all

With AWS Beanstalk (load balancing auto-scaling mode) I can deploy my application from a git repository. But if I want to make modifications on some files, I find no solutions ... I must deploy all again. My first question is how I can upload only…
Fanny
  • 43
  • 3
4
votes
3 answers

Elastic Beanstalk not loading assets for Ruby on Rails

I have a ruby on rails application that works locally in production locally but will not work when I upload it to EB, It breaks everything. When it is local it looks like this And here is my eb site, I have included on with the errors form the…
4
votes
2 answers

Elastic Beanstalk CLI deploy jar

I'm stuck with Beanstalk. Hopefully some of you can help for me a bit. I was able to deploy a Spring Boot fatjar via the "Upload and Deploy" window on the web interface. My question is that how can I deploy a jar from the CLI? I have a Atlassian…
Lakatos Gyula
  • 3,949
  • 7
  • 35
  • 56
4
votes
1 answer

WebP support with AWS ElasticBeanstalk

I try to support the use of the webp format with EB, however it's not working as expected... I created a .config file in .ebextensions with this: commands: 01-command: command: wget…
4
votes
3 answers

Not able to install nltk data on django app on elastic beanstalk

I am using nltk_tokenize in an django app . To do the same I need to do nltk data download so that I can use it for stemming . I am deploying the django app on cloud through Elastic beanstalk . Right now I have included nltk.download('punkt') in…
4
votes
1 answer

deploying node js web app on aws elastic beanstalk - shows 502 bad gateway nginx/1.8.0

I already changed my web app's port from 3030 to 8081(eb-default). But I still get the "502" bad gateway error. here is my log file. [2016-03-26T03:26:57.709Z] DEBUG [12162] : Reading config file:…
4
votes
1 answer

ERROR: Unknown or duplicate parameter: NodeVersion in Rails Elastic Beanstalk

I'm trying to create to deploy a Rails app to AWS Elastic Beanstalk. I'm using EB CLI for that. I'm able to do the "eb init" without a problem, but when I try to create and environment with "eb create" I always get the following: ERROR:…
4
votes
1 answer

Can't stop my AWS EC2 instance properly

Newbie to AWS, I have a t2.micro EC2 instance supporting my Elastic Beanstalk application. It was created while I deployed my WAR file to Elastic Beanstalk. My EB application does not need to run 24 hrs a day so it only needs to work during a…
alextc
  • 3,206
  • 10
  • 63
  • 107