AWS Elastic Beanstalk is a PaaS (Platform as a Service) service that allows you to quickly deploy and manage applications in the AWS cloud. Elastic Beanstalk handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring.

learn more… | top users | synonyms

0
votes
1answer
12 views

Signed ssl certificate not working on EBS AWS for Java Spring webapp

I am looking for help getting HTTPS working on my AWS EBS wepapp. I have loaded the cert into AWS however I still cannot connect to my site via HTTPS. My application uses Spring 4.1 and Spring ...
0
votes
0answers
24 views

Dockerun.aws.json referring to bucket of another account

I have the following Dockerrun.aws.json: { "AWSEBDockerrunVersion": "1", "Authentication": { "Bucket": "bucket-of-another-aws-account", "Key": "docker/.dockercfg" }, ...
0
votes
1answer
71 views

Setting up sub-domains to point to a single instance Elastic Beanstalk application

I have a multi-tenant application that I've deployed to Elastic Beanstalk. Each tenant has a distinct sub-domain that they access the application from. After I deployed to Elastic Beanstalk I was able ...
0
votes
2answers
99 views

AWS Beanstalk redirect entire application from http to https

I've been trying to figure this out for a while and have not had any luck. As I'm sure you guys are well aware, the aws load balancer forwards all https request onto the ec2 instance over port 80. I ...
0
votes
1answer
71 views

How do I set the beanstalk .ebextensions .config “sources” key “target directory” to the current bundle directory

I'm working in a python 2.7 elastic beanstalk environment. I'm trying to use the sources key in an .ebextensions .config file to copy a tgz archive to a directory in my application root -- ...
0
votes
0answers
70 views

AWS Elastic Beanstalk : Error creating an auto scaling group without vpc

I have the following error when I try to create a Node.js environment in Elastic Beanstalk : Creating Auto Scaling group named: awseb-e-neymbigw5a-stack-AWSEBAutoScalingGroup-1QX6LF04LAXUF failed ...
1
vote
1answer
56 views

Elastic Beanstalk auto scaling is adding nodes before moving app from ondeck to current

When the autoscaling rules in my group trigger the deployment of a new EC2 instance, or for example I change the instance size to simulate the behaviour the node is deployed but it is added to the ...
0
votes
1answer
49 views

New domain on aws elastic beanstalk

I have a nodejs app running on elastic beanstalk. I have a domain registered through GoDaddy and a cname that points to myapp.elasticbeanstalk.com. Can I point my domain to aws nameservers, instead ...
3
votes
0answers
62 views

Does AWS Elastic Beanstalk Swap Environment Url swaps environments for git push?

I have read the docs for zero downtime on aws but cant seem to understand what happens in this scenario? I have a environment running in production called 'red' I duplicate the environment as 'blue' ...
1
vote
2answers
62 views

How do I tag an Elastic Beanstalk environment when creating it with the “eb start” command line utility?

In May AWS introduced the ability to tag elastic beanstalk environments. We can't figure out how to tag an elastic beanstalk environment when we create it using "eb start." We use the "eb command ...
0
votes
1answer
76 views

aws elasticbeanstalk with static public ip

For a new web application I am looking at AWS ElasticBeanstalk. I like its auto-balancing and auto-rolling updates' system as well as all the other scaling-related features. But.. I need a static IP ...
0
votes
0answers
13 views

No key pair attached to the EC2 instance created by ElasticBeanstalk

After I create an application by ElasticBeanstalk, I found the key pair is not attached to the EC2 instance so that I can't access it through SSH or SFTP. Is there a way to attached a key pair for ...
0
votes
1answer
29 views

Switch between AWS Beanstalk accounts through the command line

I'm trying to deploy my application through AWS Beanstalk service. I have one environment setup for staging in account A and a different production environment in Account B. Is there a way to switch ...
0
votes
1answer
110 views

Is it possible to get metadata about the Elastic Beanstalk environment from the EC2 instance

I'd like to be able to extract information about the current elastic beanstalk environment from my EC2 instance, so that I can include this information in error emails sent from my servers. For ...
0
votes
0answers
24 views

One project configuration mechanism that will work on both Elastic Beanstalk and OpsWorks

We have an application that we are successfully deploying to Amazon's Elastic Beanstalk. We use .ebextensions/ to configure our application environment. For various reasons, we may need to begin ...
0
votes
0answers
57 views

Job Control/background process (using ampersand) in .ebextensions config commands

Take for example the following .config file in .ebextensions/ container_commands: 000_run_queue_daemon: command: "nohup php artisan queue:work --daemon &" test: "ps -ef | grep artisan ...
0
votes
0answers
133 views

Configuring VPC with Elastic Beanstalk

I followed the standard documentation for AWS, but I am unable to access the EB-created instances via SSH or get a healthy status check on them from the ELB. The relevant setup and security group ...
1
vote
0answers
282 views

Elastic Beanstalk git aws.push taking a long time and more

I am starting to use the git aws.push command from within a git repository for a certain project we are currently working on. Within the root of the repo I have got the .elasticbeanstalk directory ...
0
votes
1answer
558 views

Static IP address for outgoing traffic from AWS autoscaling group

I'm going to have a number of EC2 instances in an Elastic Beanstalk autoscaling group in a default subnet in a VPC. The app on these EC2 instances needs to connect to a third party service who uses an ...
1
vote
1answer
66 views

AWS EB Change db name via DBInstanceIdentifier

I'm using ElasticBeanstalk for many apps and many environments (not that many but just making a point here). I'd like to have my databases (RDS instances) have human-readable names. When I change a ...
1
vote
0answers
138 views

EC2 cannot connect to RDS on VPC. Subnet issues?

I was able to deploy our .NET app using the AWS toolkit for Visual Studio. I set up the RDS database manually (MySQL) and deployed the app using elastic beanstalk (set up on VPC). The issue was that ...
2
votes
0answers
124 views

AWS Elastic Beanstalk File Upload Limit Issue

I'm having an issue on an AWS Elastic Beanstalk instance, whereby I can't seem to upload a PDF file that is 6MB in size. First, let me provide a bit more background: The application running is an ...
0
votes
0answers
21 views

How do I change the deploy directory when using Elastic Beanstalks CLI tool?

When I deploy using the EB CLI tool, with: git aws.push It deploys to /var/app/current How do I change that to deploy to /var/www/html ? Thanks
1
vote
0answers
209 views

Enable the EPEL repository on AWS Elastic Beanstalk

I need to install some tools from the Extra Packages for Enterprise Linux repository (EPEL) that are not available in the default repositories of the Amazon Linux AMI. /etc/yum.repos.d/epel.repo ...
0
votes
1answer
72 views

What Amazon Cloudwatch metrics I should choose for scalability?

I have application is deployed by Elastic Beanstalk. It only connecting to ElasticCache. I am testing my script capacity using siege utility siege -c 500 -r 1000 -b myurl My summary: ...
0
votes
0answers
35 views

amazon beanstalk php suEXEC mechanism enabled

I'm not able to get my PHP Beanstalk setup working. After deploying, when I try to access my load balancer, I get a blank page. I saw in the error logs things start failing after the newrelic ...
1
vote
1answer
189 views

Why would you use AWS Elastic Beanstalk in conjunction with AWS CloudFormation?

It states here of Elastic Beanstalk and CloudFormation that... These services are designed to complement each other. From my reading, I don't understand why you would want to use them together. ...
1
vote
0answers
220 views

Elastic beanstalk access private git repo

I am trying to currently add an ssh key to my elastic beanstalk instances using .ebextensions commands. The keys I have stored are in my application code and I try to copy them to the root .ssh ...
0
votes
1answer
70 views

Is it possible to redirect an elastic beanstalk doman name to an EC2 doman?

I had a site running on elastic beanstalk and sent out the url for demonstration purposes. That site has now moved out of elastic beanstalk to a plain Amazon EC2 instance. I would like to keep the ...
1
vote
1answer
706 views

Rails app 502 with AWS Elastic Beanstalk running Puma & Nginx

I've been able to successfully get my application running on Beanstalk with Passenger, however I've had no luck with Puma. Whenever I deploy with to a Puma stack I get 502 Errors, my log files ...
-1
votes
1answer
122 views

Is it possible to use PHP on a website hosted on AWS S3 without using EC2 or Elastic Beanstalk?

I have a bit of PHP (a contact form to be exact) that isn't working right now on my website. I'd like to activate the PHP and I heard one of the ways is to use Elastic Beanstalk. However, Elastic ...
0
votes
0answers
181 views

Elastic Beanstalk worker issue with node.js

I have an elastic beanstalk worker running a node.js application. The worker used to work well but since I re-create the instance, sqs messages stay in the queue (I have 247 pending messages). I ...
1
vote
0answers
70 views

Unchanged Elastic Beanstalk transitions to RED health

I've got an application running on Elastic Beanstalk that seems to randomly transition to RED. The App is running just fine and has been for a while (it is also not crashing) but every once in a while ...
1
vote
0answers
174 views

Elastic Beanstalk w/ RDS and PHPmyAdmin

I'm trying to configure a Drupal CMS on my new Amazon EC2 server with Elastic Beanstalk PHP. I also have MySQL configured for my RDS database. I want to get PHPmyAdmin running for use with Drupal. I ...
0
votes
0answers
22 views

Disassociate RDS from Beanstalk

I created a new RDS database and I want to disassociate the old one from Beanstalk instance, so I can attach the new database. I couldn't find a way to do that. Any help?
1
vote
0answers
73 views

Web App login redirecting to homepage on AWS Elastic Beanstalk

I've hosted my application on AWS Elastic Beanstalk. The application behaves itself in a local environment and shared hosting environment, but when on AWS it refuses to login. Instead it redirects ...
0
votes
1answer
629 views

Error when customising EC2 instance php.ini file on AWS

I'm using Elastic Beanstalk on AWS and I'm trying to override some settings from the php.ini file. I've made the directory /.ebextensions with project.config within it: files: ...
4
votes
1answer
233 views

Elastic Beanstalk CLI - “a float is required”

I'm trying to use the AWS Elastic Beanstalk Command Line Interface v2.5.1 on OSX to deploy a node.js application. The beanstalk application exists, with no environments. From my application ...
1
vote
0answers
68 views

AWS Elastic Beanstalk - ASP.NET application missing images

Whenever I deploy my ASP.NET application to EBS it is missing most of the images, as if they are not getting uploaded. I suspect I need to configure something correctly, but I can't see what. In my ...
0
votes
0answers
27 views

Log snapshots fail on instance in VPC

I'm trying to deploy a rails application using AWS Elastic Beanstalk, with the web server instance and RDS instance in a private subnet in the default VPC. The web server instance is connected to a ...
4
votes
1answer
829 views

How to increase the timeout of Elastic Beanstalk deployments?

As part of my application deployment, I have some commands in my .ebextensions config files. It might take 20 minutes or more for all the commands to complete, the first time the commands are run ...
1
vote
0answers
25 views

Is it possible to change the EBS size on Elastic Beanstalk?

By default, creating an environment on Elastic Beanstalk spins up EC2 instances with an EBS storage of 8 GiB. Is it possible to change this value and get a bigger EBS storage for every instance?
2
votes
1answer
340 views

Are Elastic Beanstalk's .ebextension commands run only on server setup?

The Elastic Beanstalk documentation says: You can use the commands key to execute commands on the EC2 instance. The commands are processed in alphabetical order by name, and they run before the ...
1
vote
0answers
175 views

Launching new Elastic Beanstalk environment using Amazon Lunux AMI v2013.09 not working

I am starting from scratch to launch a new Elastic Beanstalk environment using 64-Bit Amazon Lunix AMI version 2013.09. It is for tomcat 7 non-legacy container. But after the environment is created ...
2
votes
2answers
351 views

Invalid format for New Relic licence when installing on Elastic Beanstalk

We've created an app that is running on an Elastic Beanstalk instance, 64 bit PHP version 5.4 (so not legacy). I've used the New Relic installation instructions to install New Relic, and viewing ...
1
vote
1answer
600 views

Can Amazon Elastic Beanstalk auto-scale Amazon RDS?

I'm planning to run a PHP/MySQL application using Amazon Elastic Beanstalk. In the settings I can define when it should launch new instances automatically (Auto-Scaling). However, as I understand ...
1
vote
1answer
2k views

How to add directives to php.ini on AWS Elastic Beanstalk?

I'd like to add these PHP settings to my Elastic Beanstalk environment: upload_max_filesize = 64M post_max_size = 64M These options cannot be set with option_settings in .ebextensions: Namespace ...
1
vote
1answer
671 views

Is using Elastic Beanstalk worth the hassle if using Nginx?

AWS Elastic Beanstalk still doesn't support Nginx out of the box for PHP, Python, or Ruby. Regardless of how strange that is, I'm wondering whether it is worth the hassle to configure my existing PHP ...
0
votes
0answers
37 views

PHP script stops before completing on elastic beanstalk

I am using cakephp for a simple website. I run it locally on a MAMP server, and the live site from Amazon Elastic Beanstalk. I have been experiencing problems only on EB. Symptom: We first noticed ...
0
votes
2answers
335 views

How to get the output of container_commands after deployment?

My Elastic Beanstalk container uses container_commands to run a script to patch the database on every deployment. I run the deployments with a home-brewed script that calls the UpdateEnvironment on ...