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
4 views

AWS Elastic Beanstalk Instance - debugging low CPU but high memory usage

I'm running a small t1.micro instance on Amazon Elastic Beanstalk. The app itself is a Java web server, uploaded via a .war file, that responds to requests from a remote Heroku web app. Upon ...
0
votes
0answers
6 views

Cant get socket.io to work on Elastic Beanstalk

I currently have an Elastic Beanstalk instance running with no load balancing, in future I'll be using Elastic Load Balancer. My EB Instance is sitting behind an nginx proxy, I'm aware to fix this ...
0
votes
1answer
20 views

How to run a Parse Live Query Server (Web Sockets) behind an AWS Load Balancer?

ParseLiveQuery depends on Websockets. More generically this question could be about getting web sockets to work behind an AWS ELB. I'm using the new Parse Server configured in AWS using Elastic ...
0
votes
0answers
5 views

Where should migrations be run on elasticbeanstalk deployment process?

I'm very curious as to how people run a command like db migrate on their eb apps. If you add it as an .ebextensions I fear that when you have multiple instances for one app, there could be conflicts ...
0
votes
1answer
19 views

Is there any difference between load balancer url and the elastic beanstalk url?

It seems that both the load balancer url and the elastic beanstalk point to the same ip address. thomasreggi$ nslookup aws-load-balancer-url.us-east-1.elb.amazonaws.com Server: 8.8.8.8 ...
0
votes
1answer
28 views

What does ElasticBeanstalk error “Application version is unusable and cannot be used with an environment” mean?

I'm attempting to deploy a .NET application to ElasticBeanstalk using the AWS-cli tools. First upload then create version using: aws elasticbeanstalk create-application-version ...
0
votes
0answers
6 views

Node path on elastic beanstalk

It seems I have node installed in this directory here on my elastic beanstalk instance, however I do not have a node command available on the system. $ ls -la /opt/elasticbeanstalk/node-install/ ...
0
votes
0answers
75 views

Java AWS Server: 502 Bad Gateway nginx/1.8.1

I am getting the 502 bad gateway error after uploading my application via Eclipse and I don't understand why its happening? I created a Sample Application through the AWS Elastic Beanstalk Console. ...
0
votes
2answers
36 views

Having a lot of difficulty using CNAME and A records with Elastic Beanstalk to redirect non-www to www

I have my website up with Elastic Beanstalk (as a VirtualHost): http://apptic.us-east-1.elasticbeanstalk.com/apptic/ I also have my domain at Namecheap: apptic.me I've installed an SSL certificate ...
0
votes
1answer
9 views

How can I install an SSL certificate using Amazon Certificate Manager to a VirtualHost?

I'm using Elastic Beanstalk and a t2.micro instance to host a few of my websites. For one of the websites specifically, I want to enable https. How do I go about doing this? I have each domain ...
0
votes
0answers
19 views

AWS Elastic Beanstalk - Node not found after creating NodeJS instance

Using AWS Elastic Beanstalk I chose to launch an instance that runs NodeJS. EC2 instance launched but when I check what version of node is running I get this: node --version -bash: node: command ...
0
votes
1answer
29 views

Apache www to non-www redirect on Amazon Elastic Beanstalk

I've recently moved a simple PHP site to Elastic Beanstalk but am finding it difficult to redirect the www.example.com to example.com. It's not https which most of the suggestions I have found are ...
1
vote
0answers
17 views

Install Comodo SSL Cert for AWS Elastic Beanstalk Instance

I purchased a wildcard SSL cert from Comodo SSL, but am really confused on how to install it to use with my AWS Elastic Beanstalk instance. The files they sent me are: STAR_setheroapp_com.crt ...
1
vote
1answer
41 views

Deploying Rails App on Elastic Beanstalk - Is WEBrick automatically replaced by passenger?

Quick Question: I develop a ruby on rails application on my laptop. Rails has WEBrick installed as an out of the box APPLICATION server. I deploy my app on amazon web services elastic beanstalk. I ...
0
votes
2answers
50 views

Adding environment variables to files within .ebextensions

I pulled this from the New Relic docs. I'm looking for a way to replace YourNewRelicLicense and NameOfYourServer with environment variables set up on the ec2 instance. packages: yum: ...
1
vote
0answers
36 views

504s on Elastic Beanstalk app deploy (user -> ELB -> Elastic Beanstalk mod_wsgi)

I have a Python Elastic Beanstalk load-balanced app. Here is the path a user request takes on its way into the Elastic Beanstalk app: user -> Elastic Beanstalk ELB -> Elastic Beanstalk mod_wsgi ...
3
votes
1answer
86 views

Questions on Elastic Beanstalk application in VPC

I am trying to deploy a rails application on Amazon's Elastic Beanstalk. I am not very well-versed in network/server environments, so I picked up some knowledge along the way by reading documentations ...
2
votes
0answers
46 views

Why EBS keeps waiting for terminated instances?

Why EBS keeps waiting for terminated instances? 2016-03-02 01:41:22 UTC+0100 INFO Still waiting for the following 3 instances to become healthy: [i-1b5e9691, i-7f5c94f5, i-5d5e96d7]. Only ...
0
votes
1answer
24 views

No targets available trying to set alias target to an Elastic Beanstalk environment

I am setting up a Route 53 zone, and am trying to point the domain root (mydomain.com) to an Elastic Beanstalk environment. However, when I try to select my EB environment all I see is: -- Elastic ...
0
votes
0answers
56 views

Elastic beanstalk installing old (and dev) versions of npm dependencies?

I'm deploying a node.js application to Elastic Beanstalk via Codeship CI. This was working great until I updated the instance, which caused a subsequent bump in node versions (0.12 --> 4.2.3). This ...
0
votes
1answer
49 views

From Bitbucket to Elastic beanstalk - PHP deployment

Context A PHP project is set up on bitbucket cloud. Code is developed locally in XAMPP. The code runs in Amazon Web Service Elastic Beanstalk environment. Problem I commit my changes locally and ...
3
votes
1answer
491 views

Can AWS Certificate Manager (ACM) Certificates be used on Elastic Load Balancer Instances in Regions other than us-east-1?

Amazon has recently announced their new AWS Certificate Manager (ACM) service. This looks promising, but it is currently only supported in the us-east-1 region. I have existing resources in the ...
0
votes
0answers
35 views

Configuring HTTPS on elastic beanstalk (single instance) of Tomcat

I have configured https on load balancer for testing that was easy, Adding your certificate and key contents directly to the configuration file is acceptable for testing with self-signed certificates. ...
0
votes
0answers
38 views

Elastic Beanstalk fails to launch environments, does create underlying EC2

As of today, when I try to launch an Elastic Beanstalk environment, it fails on the very last step with Error. A problem occurred while loading your page: No Environment found for EnvironmentId ...
0
votes
0answers
129 views

Retrieve logs for an application that isn't deployed successfully

I'm trying to deploy an application which is failing. The environment keeps rolling back to the previous version, and so the logs aren't showing why the deployment failed. Creating application ...
4
votes
1answer
106 views

If you can't change the RDS endpoint of an AWS Beanstalk instance, how do you do a blue/green deployment?

From what I can tell, one can't change the Amazon RDS (RDS) endpoint of an existing Elastic Beanstalk (EB) instance? If that is the case, than you can't have your code deployed to a stage server, ...
0
votes
0answers
37 views

Setup keystore and truststore in elastic beanstalk

Im new to AWS, mutual authentication. However I have not setup elastic bean stalk. I am working with a payment API. The organization that has setup the API requires a keystore and trust store to be ...
0
votes
1answer
41 views

Elastic Beanstalk on a naked domain?

If I were to be using Elastic Beanstalk to deploy a cluster of servers, it creates a load balancer for me. The advice is to specify an A record pointing to the Elastic Beanstalk name provided ...
1
vote
1answer
258 views

Can I use the new free SSL/TLS AWS certificates without ELB or Beanstalk on plain EC2?

AWS just announced free SSL/TLS certificates here: https://aws.amazon.com/blogs/aws/new-aws-certificate-manager-deploy-ssltls-based-apps-on-aws/ Mainly: SSL/TLS certificates provisioned through ...
1
vote
1answer
111 views

Error on AWS deploy

I'm working on a project that I haven't touched in about 4 months. Before everything on the deploy was working fine, but now I'm getting an error when trying to deploy an update eb deploy my-env-name. ...
0
votes
0answers
18 views

Not able to run aws cli in post deployment hook, on Elastic Beanstalk environment

I have a long bash script that is run as as a command in one my post deployment hooks (ebextension). The script uses the aws cli to gather information about the instance and the current Elastic ...
0
votes
2answers
135 views

SSL certificate complication for aws eb

I am using Digicert for buying SSL certificate and its giving me different files on demand as DigiCertCA .crt .pem star_evercam_io .crt .pem TrustedRoot .crt .pem am totally unaware that how ...
0
votes
0answers
29 views

AWS Elastic Beanstalk Single Environment website update without down time

I am running a single instance Elastic Beanstalk environment with an EC2 instance and MySql RDS. The documentation for applying a website update without down time is geared to multi instance ...
3
votes
1answer
67 views

Unable to deploy a rails application using eb cli

I recently updated my environments configuration to :64bit Amazon Linux 2015.03 v1.4.6 running Ruby 2.2 (Passenger Standalone). After deploying my application using eb deploy i now get an error in my ...
0
votes
0answers
8 views

Running a command locally as part of deploying an elastic beanstalk app with the CLI

Currently there is an app we deploy with grunt build && eb deploy my-app. It would be nice if we could have eb deploy run grunt build locally as part of a post-upload hook, cancelling if the ...
1
vote
0answers
23 views

How do I use AWS Elastic Beanstalk Enhanced Health monitoring with a long polling app?

With AWS Elastic Beanstalk, I have an app setup with enhanced health monitoring. However, the app uses long polling so that it can sync between a mobile app and the web app. The long poll is a 60 ...
0
votes
0answers
27 views

What is the benefit of the RDS Environment Variables being set for EC2 instances?

Background I am running an ASP.NET MVC website running from Elastic Beanstalk. I have an Windows EC2 instance running IIS and an RDS instance in an Elastic Beanstalk environment. The Problem I've ...
0
votes
0answers
34 views

After deploying django app to Elastic Beanstalk, all environmental variables are lost

Each time I use eb deploy to deploy a new version of my Django app to Elastic Beanstalk, it acts as if it has successfully deployed and then all requests start failing. If I ssh into the actual ...
0
votes
0answers
27 views

Jenkins aws elastic deployment plugin just create a new ec2 on each update

Here is something strange happening when I tries to deploy from Jenkins to Elastic Beanstalk , you can check my previous question for more clarity. ...
2
votes
1answer
161 views

Is it possible (or efficient) to run a complete backend with AWS Lambda (vs say, Elastic Beanstalk)

I'm relatively new to the server world, so forgive me if some of this is basic (and the first bit of text will be me explaining my logic to make sure that's not flawed). All my questions will be ...
0
votes
1answer
47 views

git deployment to aws elastic beanstalk multiple tiers

We're using git and eb to deploy our elastic beanstalk application on aws, but have just added a worker layer. Given that so much of the code is common (models, etc etc), it seems sensible to have a ...
0
votes
0answers
24 views

aws elastic beanstalk web and worker deployment

We currently have web server and data tiers and I am now adding a worker tier. We are presently using git and eb deploy which appears to be the most simple way to get it on the server, but now ...
0
votes
1answer
33 views

AWS Elastic Beanstalk Load balancer returning blak page after cloning EB enviromnent even if EC2 are runnig

Given I have healthy working production enviroment set up via AWS Elastic Beanstalk running 3 EC2 instances load balanced by ELB. (EC2 instances are Docker containers) When I clone the EB environment ...
1
vote
1answer
70 views

Setting up Amazon elastic beanstalk to be accessible through fixed ip address(not CNAME)

I want to deploy my app to multi-container elastic beanstalk to be able to point my A-record to some fixed ip connected to it(somehow). I've read related questions(like this one) and understand that ...
1
vote
1answer
173 views

should I use different Dockerrun.aws.json files for aws eb or set Enviroment variables via eb console

let say I have several ElasticBeanstalk enviroments: productionMyApp stagingMyApp qaMyApp Each environment has really similar Dockerrun.aws.json (what volumes should be linked where) but different ...
0
votes
1answer
119 views

Using Multiple SSL Certificates on AWS Elastic Beanstalk

Our multi-tenant app runs on Elastic Beanstalk. Our wildcard cert is on the Beanstalk load balancer (ELB). For clients that have their own domain name and certificate, we are installing those on ...
1
vote
1answer
132 views

Permissions for EC2 created by Elastic Beanstalk connecting to external RDS

I am quite new to Elastic Beanstalk and not very proficient with server administration, but I need to set up a Django project on Elastic Beanstalk connecting to external RDS MySQL database. I have ...
0
votes
3answers
181 views

Can i run multiple web apps on a single EC2 instance

I need to lower my AWS costs and looking for ways to reduce my AWS usage. I currently have a single java/tomcat webapp which I run multiple EC2 instances of with different configurations. I have ...
1
vote
1answer
25 views

Running a script before packages are installed from requirements.txt

My app has some prerequisite conditions that mean that the installs from requirements won't work until a few scripts are run. I've been reading through the documentation on customizing the Python ...
0
votes
0answers
40 views

AWS eb deploy no longer working in environment

I have recently begun using Aws Elastic Beanstalk to host an old Cakephp app (1.3) using PHP5.3 and nginx. However I have recently started getting problems with deploying to the environment, and in ...