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

Setting up an Amazon + Ruby + Proxy for high scalability and traffic [on hold]

I know that this may seem like a very simple question, I had configure EB servers on aws for php before, On this time I'm trying to setup a site which will have bumps of visits from 0 to 300,000 on ...
0
votes
1answer
24 views

Elastic beanstalk not support on custom AMI

I have launched a default Amazon ElasticBeanstalk image(php) in EC2 .I can able to deployed application on Apache.I am trying to use a custom AMI in AWS Beanstalk and does not get deployed on the ...
0
votes
2answers
24 views

How to run a java jar file on Elastic bean stack

Currently I am using elastic beanstack for drupal application and choose the “Web Server” environment it is pre-defined configuration that uses PHP 5.5 with Apache. I need to deploy the java API ...
0
votes
1answer
17 views

SCP from docker image on elastic beanstalk

I need to get a file from the docker image running on AWS Elastic Beanstalk. I can SSH into the EB instance, but after that I have no idea what to do. sudo docker images shows two images, one with ...
0
votes
0answers
14 views

Use custom AMI for GPU on aws

I have a EC2 instance (ubuntu) with GPU, in this instance I have a docker image running with this gpu. So I launch my container with --privileged Everything is working smoothly. However I'm unable to ...
0
votes
0answers
36 views

Multiple docker containers elastic beanstalk

I'm running my Play Scala app on Elastic Beanstalk using a single container Docker. The thing is, if I SSH into my instance, and run docker ps, I see this: CONTAINER ID IMAGE ...
0
votes
1answer
37 views

Installing scipy in virtualenv on Elastic Beanstalk

I'm using Amazon's Elastic Beanstalk to deploy an example Flask app. I can get a simple "Hello World" app deployed perfectly, but now I'm trying to deploy the app with scipy as a requirement. I've ...
0
votes
1answer
68 views

EC2 Public DNS not working with HTTPS - Elastic Beanstalk URL is working

I have completely ran out of ideas to fix this issue. I've gone through just about every given solution to similar issues and nothing has worked successfully. I've successfully set up my Ruby on ...
0
votes
1answer
54 views

Does elastic beanstalk run the postinstall from a package.json file?

I am using ELB to deploy a node.js app. In my scripts section of package.json I have: "scripts": { "start": "node_modules/.bin/coffee server.coffee", "test": "NODE_ENV=test node ...
0
votes
0answers
84 views

Deploying a (Ruby) web server in a Docker on Elastic Beanstalk: is this double web server ok?

We have a web app in Ruby which is deployable via a Docker setup, among other things to have exactly to same Ruby environment from developers to the production server. We chose to deploy it on AWS ...
0
votes
0answers
13 views

Add extra instances based on time [elastic beanstalk]

Is it possible to change the number of minimal instances used by elastic beanstalk based on the time of the day? That is: I want to have 2 instances running through out the day (in case one fails) ...
1
vote
0answers
34 views

Use custom environment properties from Elastic Beanstalk for htaccess

Is there a way to use the custom environment property of elastic beanstalk in htaccess? I only want to rewrite http to https when not running locally so I thought I could do this by using the ...
0
votes
2answers
165 views

UDP/TCP ports on AWS ec2 public IP blocked

My goal is to receive/send UDP packet traffic on specific ports on my EC2 instance (on my eth0 private IP) via my public IP. I am asking because I have set my security group to allow all ...
2
votes
2answers
163 views

Getting files from an s3 bucket using IAM role credentials

I am trying to retrieve some files from a private s3 bucket to a filesystem location elastic beanstalk ec2 instance, but with no success. I've created a bucket named dev-config containing a file ...
0
votes
0answers
102 views

When using Docker on AWS Elastic Beanstalk, I can't access an RDS instance

When I ssh into the EB instance, I am able to connect to the RDS instance. However, once inside Docker (I have tested this by running bash under Docker), I am unable to connect to it. I am able to ...
1
vote
0answers
49 views

Persistence of Elastic Beanstalk environment URL

I am operating an Elastic Beanstalk environment with RDS and a t1.micro EC2 (classic) instance with Tomcat 7. It is the setup offered through the AWS free tier program. The environment serves as a ...
0
votes
1answer
47 views

AWS EB deployment errors - No module named cfnbootstrap

I am trying to deploy my application on AWS Elastic Beanstalk, it states some errors when the process is completed and reading the logs this is what I've found: File "/opt/aws/bin/cfn-get-metadata", ...
0
votes
1answer
193 views

Can't connect to RDS MySQL

So, I created a new DB and my EB app is reaching it fine, but I can't seem to access MySQL from my computer. When I try to run: mysql --host=123.abc.us-west-2.rds.amazonaws.com –-port=3306 –u myname ...
0
votes
1answer
388 views

ElasticBeanstalk: Set instance type and security group from config file

I'm having trouble defining instance type and security groups through .ebextensions/*.config files in the root of my application bundle. Briefly, I have two config files that look like this: ...
0
votes
1answer
98 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 ...
1
vote
0answers
200 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" }, ...
1
vote
1answer
200 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 ...
1
vote
2answers
1k 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
242 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
342 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
272 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
194 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
140 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
163 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
318 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 ...
1
vote
1answer
48 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
516 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
28 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
1answer
163 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
265 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
368 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 ...
1
vote
1answer
2k 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
215 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 ...
2
votes
0answers
203 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
1answer
174 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
38 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
3
votes
1answer
381 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
142 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
66 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
225 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
325 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
108 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 ...
2
votes
1answer
868 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
199 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 ...
1
vote
0answers
107 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 ...