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

Deploying Django to Elastic Beanstalk, migrations failed

I'm trying to deploy a project I've been working on with django. In development, i've been using SQLite, in production i'm trying to use MySQL. Usually when I create the EB instance, everything runs fine, and the console says the status is OK. Upon…
BillieM
  • 195
  • 2
  • 11
15
votes
2 answers

Update Amazon RDS SSL/TLS Certificates - Elastic Beanstalk

AWS recently announced the need to: Update Your Amazon RDS SSL/TLS Certificates by October 31, 2019 I have a Rails application hosted with a classic Elastic Beanstalk load balancer, which connects to a Postgres DB using RDS. The required steps…
15
votes
3 answers

AWS elastic Beanstalk / nginx : connect() failed (111: Connection refused

I got this message connect() failed (111: Connection refused Here is my log: ------------------------------------- /var/log/nginx/error.log ------------------------------------- 2018/10/21 06:16:33 [error] 4282#0: *2 connect() failed (111:…
15
votes
4 answers

How to use spot instance with amazon elastic beanstalk?

I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support. So I create a second autoscaling from a launch configuration with spot instances. The autoscaling…
Gean Ribeiro
  • 1,025
  • 2
  • 10
  • 23
15
votes
5 answers

Bcrypt Elastic beanstalk nodejs deploy

I'm trying to deploy my nodejs backend with codeship to elastic beanstalk. But everytime I get the following error: bcrypt@1.0.3 install /tmp/deployment/application/node_modules/bcrypt node-pre-gyp install --fallback-to-build module.js:471 throw…
15
votes
4 answers

How to ensure AWS Elastic Beanstalk is free

I am wanting to deploy a Django webapp with a PostgreSQL database to AWS Elastic Beanstalk using this tutorial, but I am so confused about pricing. It says it uses services in the AWS Free Tier, but those seem to be limited to a certain number of…
FLOWMEEN
  • 375
  • 1
  • 3
  • 11
15
votes
2 answers

AWS Elastic Beanstalk with Amazon ECR Docker image

I'm new to AWS and I'm trying to deploy a multicontainer Docker application to Elastic Beanstalk. My Dockerrun.aws.json file is very simple, and it's the only thing that's uploaded to EB: { "AWSEBDockerrunVersion": 2, "containerDefinitions": [ …
15
votes
1 answer

What are the difference between worker-tier and web-tier in AWS beanstalk

While going through the documentation I came to know about these two tier of environment in AWS, but couldn't find any comparison between them. The suggested thing in documentation is, one should choose Worker Environment for a long running tasks…
John
  • 1,212
  • 1
  • 16
  • 30
15
votes
3 answers

Elastic Beanstalk CloudWatch Log streaming stops working – How to debug

My Elastic Beanstalk environment is stopping streaming node.js events to CloudWatch Logs. Streaming works fine for a view minutes on a new instance. After a view minutes no more logs show up in CloudWatch. I set up AWS Elastic Beanstalk to stream…
15
votes
1 answer

Amazon SQS how to control the number of retries

I am configuring a beanstalk worker environment to deal with periodic tasks When the requested URL is not responding with status 200 Elastic Beanstalk will put the task again in the queue. How can I configure the number or retries? I know the…
fguillen
  • 36,125
  • 23
  • 149
  • 210
15
votes
3 answers

Load balancing across different Elastic Beanstalk applications

In my AWS environment there are some load balanced / autoscaled Elastic Beanstalk applications. I would like to have a load balancer in front of them, so any request to http://loadbalancer.com/app1 is routed to the first Elastic Beanstalk app, …
15
votes
3 answers

Error: EACCES: permission denied when running `npm install` on Elastic Beanstalk

I've provisioned a default clean node.js app via Elastic Beanstalk, and have a node.js script trying to run npm install inside the project directory (/var/app/current/deploy-dist), however, the following permission error is thrown: npm WARN locking…
Sbbs
  • 1,610
  • 3
  • 22
  • 34
15
votes
4 answers

How to debug ElasticBeanstalk error "X% of the requests are failing with HTTP 5xx"

My problem is similar to AWS: None of the Instances are sending data but has a slightly different error message. I have a Rails application running on ElasticBeanstalk, and it appears to be running correctly. Periodically, Enhanced Health…
15
votes
3 answers

Elastic Beanstalk IAM developer permissions

I have been trying to figure out what permissions I need to set to let a developer do eb deploy, eb logs and eb ssh on a particular EB environment. I want to set it so that all the developers can do deploy and debug on our develop environment, but…
Gustaf
  • 1,299
  • 8
  • 16
15
votes
2 answers

Wipe out EB init config

Is there a way to wipe out a previous 'eb init' config? The previous config has resources that are non-existent on an earlier AWS account. I am using a new AWS account and want to initialize an existent Beanstalk environment. Thanks..