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
0 answers

Amazon route 53 ERR_NAME_NOT_RESOLVED

I've just transferred my domain to Route 53 successfully, and have some issues around resolving my name. After the transfer, I can't remember if I created it or if it was created automatically, but I clicked on the new hosted zone. This hosted zone…
Killesk
  • 2,734
  • 3
  • 22
  • 29
4
votes
2 answers

How to run 'rake db:drop' in Elastic Beanstalk

I have a rails app running on the Elastic Beanstalk service. When I deploy my app, some pages didn't work. I think the problem is that after I delete a model and create a new model with the same name but different schema, the database didn't reset.…
Stephen
  • 3,822
  • 2
  • 25
  • 45
4
votes
1 answer

amazon beanstalk tcp app not responding

i am running a nodejs tcp app at my aws linux ec2 instance . the basic code is given below var net = require('net'); net.createServer(function(socket){ socket.write('hello\n'); socket.on('data', function(data){ …
4
votes
0 answers

AWS Elastic Beanstalk option_settings not applied

I am deploying a Java SE app to Elastic Beanstalk and want to ensure that the option_settings specified in my .ebextensions/otions.config file are applied as described in the docs. I want to adjust the ELB and ASG settings: option_settings: -…
4
votes
1 answer

AWS Elastic Beanstalk unable to assume role

I was following the tutorial here for a Ruby on Rails app to deploy to AWS using Elastic Beanstalk. I am getting the error Unable to assume role "arn:aws:iam::xxxxxxxxxx:role/aws-elasticbeanstalk-service-role". Verify that the role exists and is…
4
votes
2 answers

Why is ElasticBeanstalk ignoring my .ebignore file?

I'm trying to prevent my static files from being included in the source bundle uploaded with elasticbeanstalk. I'm not sure where exactly my .ebignore file belongs. Main_Direction /.ebextension /.elasticbeanstalk /Actual_Project //.... I put…
4
votes
1 answer

Nginx fail on Docker deployment to Amazon

I am trying to deploy .net asp web api application in Docker container to Amazon via elasticbeanstalk, but here is what I got: ERROR: Failed to start nginx, abort deployment ERROR: [Instance: i-ecf0d365] Command failed on instance. Return code: 1…
Fishman
  • 1,737
  • 1
  • 25
  • 42
4
votes
2 answers

Install firefox on elastic beanstalk using ebextensions config?

I need to install firefox on my elastic beanstalk deployment. How can I use the ebextions config to install firefox? I have to run headless firefox with Xvfb for generating screenshots from a URL.
Vineet
  • 1,139
  • 1
  • 11
  • 20
4
votes
1 answer

AWS Elastic Beanstalk Node.js npm install error

During the deployment of an application, npm install is unable to install a very particular dependency: npm ERR! enoent ENOENT: no such file or directory, chmod…
4
votes
1 answer

Monitor and scale Docker-based Celery workers cluster on AWS

so I have a docker image that runs a celery worker via supervisor and works just fine on single-docker Elastic Beanstalk (pretty long tasks, so acks late = true, concurrency = 1 and prefetch multiplier = 1). The trouble is I would like to scale…
gru
  • 4,573
  • 1
  • 22
  • 22
4
votes
1 answer

Static assets for flask return 404 error when pushed to elastic beanstalk

I am running a flask application that works fine when I run it locally. When I deploy it on elastic beanstalk, all of the static assets (css, js, img) return a 404 error. I am using jinja url_for in my template files to call the static assets…
4
votes
1 answer

Rails app migrating to AWS Elastic Beanstalk :: Bad Gateway (502)

So I'm migrating from Heroku to AWS Elastic Beanstalk and testing out the waters. I'm following this documentation: AWS Docs :: Deploy Rails app to AWS However after following the documentation I keep receiving a Bad Gateway 502 (error). Here's the…
4
votes
0 answers

Is it possible to associate a specific elastic IP to an Elastic Beanstalk application?

My problem: Elastic beanstalk environments automatically gets a new elastic IP when created, and it's not possible to force the use of an existing elastic IP when creating a new environment. Even associating an existing beanstalk environment with a…
4
votes
2 answers

Is there a way to deploy to Elastic Beanstalk if you are not using git?

I am developing an Elastic Beanstalk app. It is a Scala web application, built with sbt. I want to deploy the resulting WAR from the command line to an existing environment. All I can find is the eb CLI which appears to require you to use git:…
4
votes
1 answer

Connecting to RDS Instance from Elastic Beanstalk

This has been killing me all day. I've set up Elastic Beanstalk, working fine. Set up RDS, working fine and can access from my laptop. But when i try to connect to the RDS from my ES application i get a timeout error. Extra info is that i'm using a…