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
19
votes
2 answers

How to use conditional in .ebextensions config (AWS Elastic Beanstalk)

I wish I could use conditional for .ebextensions configuration, but I don't know how to use it, my current case are : One of .ebextensions configuration content are create a folder, actually the folder that must be created it's only once, because if…
Khalid
  • 887
  • 2
  • 13
  • 26
19
votes
4 answers

Get environment variables in symfony2 parameters.yml

I'm trying to get my symfony2 app running on elastic beanstalk. I'm trying to get environment variables (RDS_USER, RDS_PASSWORD, etc...) in my parameters.yml in order to get the database credentials. The thing is symfony2 needs the environment…
18
votes
6 answers

Certificate in Pending state in AWS Certificate Manager

Our project is deployed on Elastic Beanstalk and I want to run this on HTTPs. I created my certificate on AWS Certificate Manager and choose DNS verification option. I added provided data in my Godaddy DNS records. Below is my sample data Domain…
18
votes
1 answer

AWS Elastic Beanstalk - Environment must have instance profile associated with it

I am working on a project that will programmatically create environments in AWS elastic beanstalk. I am using the AWS SDK for PHP Version 3. My script creates the environment. From the AWS console, the environment is displayed in gray and says that…
18
votes
2 answers

How to use the latest version of python (3.6) on Amazon's Elastic Bean Stalk Via virtual env

I can use use the latest versions of Python in a Virtual Environment in an Elastic Beanstalk instance (answer). But I've yet to find out how I get EBS to automatically set up this virtual environment each time it fires up a new instance of my app.…
andyw
  • 3,505
  • 2
  • 30
  • 44
18
votes
2 answers

Difference between rolling, rolling with additional batch and immutable deployments in AWS?

I am using Elastic Beanstalk to handle my deployments. I read the explanation for these deployment options but it was not quite clear to me. Could someone explain it in simpler words?
sp497
  • 2,363
  • 7
  • 25
  • 43
18
votes
6 answers

Django; AWS Elastic Beanstalk ERROR: Your WSGIPath refers to a file that does not exist

I am using this tutorial: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html I create the .ebextensions directory inside the root directory, and put this django.config file in it: option_settings: …
18
votes
6 answers

NodeJS connect() failed (111: Connection refused) while connecting to upstream

I am running into an issue today where all of a sudden my Elastic Beanstalk app is sending me to a 502 Bad Gateway page. Now I have run into this issue in the past and the reason why this was happening was because the Node command could not start my…
cphill
  • 5,596
  • 16
  • 89
  • 182
18
votes
2 answers

Exclude directories from elastic beanstalk deploy

I have some directories that I would like to be in my local git repository, but NOT in the remote repository when I deploy to my beanstalk environment. I have googled a bit, and found a few years old posts like…
Gio
  • 841
  • 1
  • 5
  • 11
18
votes
6 answers

git aws.push: No module named boto

i'm trying to follow the tutorial: deploy django on aws Elastic Beanstalk when i'm doing the Step 6's substep 5: git aws.push I get a ImportError message: (tryhasinenv)Lee-Jamess-MacBook-Pro:tryhasin h0925473$ git aws.push Traceback (most recent…
user2988464
  • 3,251
  • 6
  • 21
  • 25
18
votes
7 answers

How to deploy structured Flask app on AWS elastic beanstalk

After successfully deploying a test app using the steps outlined here: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_flask.html I tried to deploy my actual flask application which has the following structure: myApp/ …
alh
  • 2,569
  • 6
  • 29
  • 42
18
votes
3 answers

Stop and Start Elastic Beanstalk Services

I wanted to know if there is an option to STOP Amazon Elastic Beanstalk as an atomic unit as I can do with EC2 servers instead of going through each service (e.g. load balancer, EC2..) and STOP (and START) them independently?
Liron Harel
  • 10,819
  • 26
  • 118
  • 217
18
votes
2 answers

AWS Elastic Beanstalk - why would I use leader_only for a command?

I am writing a django app which I plan on deploying to AWS via Elastic Beanstalk. I am trying to understand why I would need to specify 'leader_only' for a container command I want to run for my app. More details about this can be found here. It…
capcom
  • 525
  • 7
  • 16
18
votes
4 answers

How do you enable gzip of HTML/JavaScript/CSS on Amazon Beanstalk and Tomcat

I want to gzip the JavaScript, HTML, CSS in my war before it goes over the wire. standard web stuff. Beanstalk uses an AMI to scale up. I see the directions on how to create a new AMI, but I don't even see where Tomcat is located. The current AMI…
17
votes
2 answers

How is Deploying Flask on AWS Elastic Beanstalk different from running script?

What is the difference between deploying a Flask application on an ec2 instance (in other words running your script on any computer) and deploying a Flask application via AWS Elastic Beanstalk? The Flask deployment documentation says that: While…
Michael
  • 13,244
  • 23
  • 67
  • 115