Questions tagged [elastic-beanstalk]

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.

496 questions
3
votes
0 answers

Deploying CloudWatch Agent Config to Elastic Beanstalk

I have two environments (production, staging) within an Elastic Beanstalk environment and wanted to set up CloudWatch Agent logging for the EC2 instances being used with these environments. When reading the EB Cloudwatch logs how to, the process…
cphill
  • 197
  • 1
  • 1
  • 12
3
votes
1 answer

How is Elastic Beanstalk forwarding traffic on port 80 to my app at port 8080 without nginx/apache?

This is the weirdest thing ever. I've configured my AWS Elastic Beanstalk environment's proxy server setting to none instead of nginx or apache, to reduce the server overhead, and since I don't need the caching. However, the most peculiar thing…
Elad Nava
  • 293
  • 3
  • 10
3
votes
0 answers

Steps for setting up HTTPS using elastic beanstalk with a load balancer

I have recently used AWS elastic beanstalk to migrate my parse application server. Everything is working well with just plain HTTP, but I need more security so I've tried diving into the AWS documentation for setting up HTTPS with my server. My…
3
votes
0 answers

Running Consul Agent on AWS EB / Elastic Beanstalk

Does anyone have experience of running Consul Agent on AWS? I have a cluster of consul servers running, but want to use the AWS EB to deploy a docker app, and a docker consul agent (progrium/consul) to each Host instance, so that the app can use…
Nevyn
  • 31
  • 2
3
votes
2 answers

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: newrelic-sysmond: [] rpm: newrelic:…
ThomasReggi
  • 621
  • 2
  • 10
  • 25
3
votes
1 answer

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 and researching whatever technologies are…
the_critic
  • 205
  • 2
  • 11
3
votes
0 answers

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 one instance is still active and passes the load…
3
votes
1 answer

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 var/log/eb-commandprocessor.log that…
3
votes
4 answers

AWS Beanstalk redirect entire application from http to https

The aws load balancer forwards all https requests onto the ec2 instance over port 80. I need to somehow redirect all http request on to https. What I've gathered thus far is you need to somehow modify the ec2 instance with the redirect rules and…
George
  • 145
  • 1
  • 8
3
votes
1 answer

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 load balancer before the application is ready. The…
Ben Swinburne
  • 337
  • 4
  • 17
3
votes
2 answers

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 indicate that it can't find the sock file: 2014/05/15…
3
votes
1 answer

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?
BenMorel
  • 4,507
  • 10
  • 57
  • 85
3
votes
1 answer

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 application and web server are set up and the…
BenMorel
  • 4,507
  • 10
  • 57
  • 85
3
votes
3 answers

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 phpinfo shows that New Relic is installed. However,…
BenFreke
  • 143
  • 3
3
votes
1 answer

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 web application to be an Elastic Beanstalk…
tim peterson
  • 693
  • 2
  • 9
  • 18