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

1
vote
1answer
13 views

Elastic Beanstalk .ebextensions config script not running on Windows deployment

I have a Microsoft ASP.NET app that I am deploying successfully via Elastic Beanstalk to a server. However, I am trying to run a few config files under the .ebextensions in order to set up certain ...
0
votes
1answer
19 views

Host entry not working with an elastic ip on aws ec2 instance

I've set up Magento web on an aws ec2 instance for development & testing. I was able to access it by putting a host entry on my local machine using the public IP. But then I changed it to an ...
0
votes
1answer
24 views

Launch instances via Elastic Beanstalk without Elastic IP configured

I'm creating a tool to deploy Docker images to EC2 via ElasticBeanstalk, so the dev team can quickly demo their work without having to merge. I don't want Elastic IP to be enabled for these apps as ...
0
votes
0answers
18 views

Minimum Elastic Beanstalk policy for upload & deploy

I just created a new Elastic Beanstalk application called Chats. I then created a IAM group called Chats. Now, I want to give the Chats group a custom policy that is the most restrictive and only ...
0
votes
0answers
54 views

Error deploying Play Framework on AWS Beanstalk Docker

Im running a Play Framework app on AWS Beanstalk with Docker (64bit Amazon Linux 2015.03 v1.4.1 running Docker 1.6.0). Docker File: FROM relateiq/oracle-java8 MAINTAINER XXXX EXPOSE 9000 ADD files / ...
1
vote
1answer
20 views

Can you remap/copy/alias environment variables to new ones in AWS elastic beanstalk?

Right now my database variables are defined as RDS_*, however I'd like to remap them to my app's conventions. This would help in avoiding writing AWS-specific detections inside of my project, which ...
1
vote
1answer
38 views

When using eb CLI is it possible to deploy without using git?

Is there any way to use the AWS EB cli to just push the current state of my project rather than a specific commit? Perhaps there are alternative values than git to the sc parameter in config.yml?
0
votes
1answer
55 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
44 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
57 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
19 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
1answer
99 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
84 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 ...
1
vote
1answer
135 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
2answers
94 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
111 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
17 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
75 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
322 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
256 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
114 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
56 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
57 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
240 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
560 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
112 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
231 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
263 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
310 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
401 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
317 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
221 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
154 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' ...
2
votes
2answers
196 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
384 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
56 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
643 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
29 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
189 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
305 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
377 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
252 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
216 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
196 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
44 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
460 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
163 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: ...
1
vote
1answer
236 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. ...