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
82
votes
5 answers

Pause an Elastic Beanstalk app environment?

I want to shut down the app servers while I upgrade the database. Is there a way to pause or stop the app servers without terminating/destroying the environment? Can I just go to the Elastic Beanstalk load balancer and change that temporarily…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
79
votes
8 answers

How to fix 'Access Denied' while deleting empty S3 Elastic Beanstalk?

I've noticed some Elastic Beanstalk is drawing about $20 to $30 every month on my AWS account and it turns out it is an empty S3 bucket. I tried deleting it but it returns "Access Denied" error. I also tried to use life cycle to remove it, but it…
Aero Wang
  • 8,382
  • 14
  • 63
  • 99
74
votes
9 answers

Where can I find the Tomcat 7 installation folder on Linux AMI in Elastic Beanstalk?

I have a elastic beanstalk linux-tomcat ami instance with the sample application installed and working off the public dns. I'm able to ssh into the instance but cannot find where tomcat 7 lives (ie. the conf directory to edit server.xml). I've…
MikeW
  • 4,749
  • 9
  • 42
  • 83
72
votes
4 answers

Elastic Beanstalk without Elastic Load Balancer

I would like to switch off Elastic Load Balancer (ELB) for my Elastic Beanstalk environment. Currently I don't need it and I don't want to pay for it. It is possible to delete the ELB in EC2 managment window but then Elastic Beanstalk health state…
71
votes
6 answers

How to change the AWS account using the Elastic Beanstalk CLI

I deployed an app using elastic beanstalk to my personal AWS account..Now I want to change the AWS credentials so the eb cli knows to deploy to a different account. But it does not ask me for the AWS keys when I type "eb init". Where do I specify…
bpn
  • 3,082
  • 2
  • 19
  • 22
69
votes
2 answers

Celery: WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL)

I use Celery with RabbitMQ in my Django app (on Elastic Beanstalk) to manage background tasks and I daemonized it using Supervisor. The problem now, is that one of the period task that I defined is failing (after a week in which it worked properly),…
daveoncode
  • 18,900
  • 15
  • 104
  • 159
66
votes
3 answers

YAML How many spaces per indent?

Is there any difference if i use one space, two or four spaces per indent level in YAML? Are there any specific rules for space numbers per Structure type?? For example 4 spaces for nesting maps , 1 space per list item etc?? I am writing a yaml…
Anestis Kivranoglou
  • 7,728
  • 5
  • 44
  • 47
62
votes
5 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?
62
votes
4 answers

What is the difference between commands and container_commands configuration keys in Beanstalk?

When we setup Elastic Beanstalk extensions in .ebextensions I wonder what is the difference between commands and container_commands in Beanstalk configuration file keys. My command is like this container_commands: 04_insert_app: command: "cat…
t10508hn
  • 789
  • 1
  • 5
  • 10
60
votes
8 answers

How to get Elastic Beanstalk nginx-backed proxy server to auto-redirect from HTTP to HTTPS?

I've got a Node.js powered site that I'm running on Amazon Elastic Beanstalk. My Node.js app listens on port 8080, and I'm using the nginx elastic load balancer configuration with my EB app, listening on port 80 and 443 for HTTP and HTTPS. However,…
58
votes
4 answers

Accessing environment variables in AWS Beanstalk ebextensions

I am trying to access an environment variable that I have defined in the AWS Beanstalk configuration. I need to access it within a config file in .ebextensions or in a file that is copied in place in a config file. I have tried the…
ba0708
  • 10,180
  • 13
  • 67
  • 99
57
votes
7 answers

Elastic Beanstalk disable health state change based on 4xx responses

I have a rest api running on Elastic Beanstalk, which works great. Everything application-wise is running good, and working as expected. The application is a rest api, used to lookup different users. example url:…
Martin Hansen
  • 2,033
  • 1
  • 18
  • 34
56
votes
2 answers

Deploy a .NET Windows Service with Amazon Elastic Beanstalk with no Web Application

I want to create an Elastic Beanstalk configuration that allows me to deploy a .NET Windows Service but without deploying a web application. I have just read this blog post which explains how to use .ebextensions to deploy a Windows Service…
skeryl
  • 5,225
  • 4
  • 26
  • 28
56
votes
5 answers

avoid rebuilding node_modules in elastic beanstalk

We have a fairly simple node.js app, but due to AWS Elastic Beanstalk deployment mechanism, it takes about 5 minutes to roll-out a new version (via git aws.push) even after a single file commit. I.e. the commit itself (and upload) is fast (only 1…
54
votes
6 answers

How can I commit a single file using SVN over a network?

I am able to check out an entire svn repository using the following command: svn co https://myaccount.svn.beanstalkapp.com/myapp/ But I cannot figure out the command to commit a single file. If I make to change to myapp/page1.html. How can I…
ryy705
  • 627
  • 1
  • 5
  • 11