Questions tagged [amazon-elastic-beanstalk]

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service from Amazon Web Services that allows users to create applications and push them to a definable set of AWS services.

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service from Amazon Web Services that allows users to create applications and push them to a definable set of AWS services, including Amazon EC2, Amazon S3, Amazon Simple Notification Service (SNS), Amazon CloudWatch, auto scaling, and elastic load balancers.

AWS Elastic Beanstalk Documentation

9253 questions
17
votes
2 answers

Cannot authenticate to Docker in Elastic Beanstalk through S3

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_image.html#docker-singlecontainer-dockerrun-privaterepo Following the instructions here to connect to a private docker hub container from Elastic Beanstalk, but it stubbornly…
17
votes
2 answers

Using reserved instances in an Elastic Beanstalk Load Balancer

I am running an Elastic Beanstalk load-balanced application for a year now. I'm looking for ways to cut back on costs and have discovered I could potentially use reserved ec2 instances instead of the On-Demand instances we are currently using.…
GreenGodot
  • 6,030
  • 10
  • 37
  • 66
17
votes
1 answer

returned non-zero exit status -9

I am deploying code on elastic beanstalk and it gives me this error. I was using nginx proxy and elastic load balancer I disabled both and then try to deploy code this give me following error. I am unable to find any solution npm WARN deprecated…
17
votes
3 answers

How to read Elastic Beanstalk Environment Properties in .net?

How can I read the Environment Properties from my AWS Elastic Beanstalk Application found here: Configuration > Software Configuration > Environment Properties None of the following approaches…
Nick
  • 6,366
  • 5
  • 43
  • 62
17
votes
2 answers

Session stickiness on Amazon Web Services

I'm a bit confused about the use of the session stickiness on Amazon Web Services. When I deploy my java web application using Amazon Elastic Beanstalk, I can choose to enable the session stickiness and then specify a cookie expiration period. My…
16
votes
6 answers

Where are Tomcat application log files stored in Elastic Beanstalk?

Where does Elastic Beanstalk store log output from Tomcat on each EC2 instance? I've configured SSH and want to tail the log file, but don't know where it's located.
Ken Liu
  • 22,503
  • 19
  • 75
  • 98
16
votes
11 answers

How to force https on amazon elastic beanstalk without failing the health check

I have configured my Elastic Beanstalk environment to redirect all pages to https, redirection works, however, the instance fails the health check and gets terminated, any ideas how to configure the rewrite rules? My configuration: NameVirtualHost…
16
votes
5 answers

.net Core - HTTPS with AWS Load Balancer and Elastic Beanstalk doesn't work

I have a website that runs HTTPS correctly in my local environment. When I upload it to AWS it just times out or redirects forever. My setup in AWS is an Elastic Beanstalk application, an RDS database running MS SQL, I added a Load Balancer to…
16
votes
2 answers

AWS elastic beanstalk deploy fails with ENOMEM error

Your AWS Elastic Beanstalk deployment fails: - Intermittent - For no real apparent reason Step 1: Check obvious log /var/log/eb-activity.log Running npm install: /opt/elasticbeanstalk/node-install/node-v6.10.0-linux-x64/bin/npm Setting npm…
16
votes
1 answer

Build a React App in Elastic Beanstalk

I followed these instructions and I made a hello world app with React. I uploaded the development files in my EBS and it worked. After that I used the command npm run build, I followed the instructions, I installed the push-state and I tested using…
Edgar Peixoto
  • 543
  • 1
  • 5
  • 23
16
votes
5 answers

Spring Boot Application deployed on Elastic Beanstalk Java environment returns 502

I'm trying to deploy a very simple Spring Boot application on AWS Elastic Beanstalk using AWS's Java configuration (not their Tomcat configuration), but I keep getting a 502 error with the following log: 2016/06/10 02:00:14 [error] 4921#0: *1…
16
votes
3 answers

How to alias a domain name to an Elastic Beanstalk Environment using CloudFormation?

What is the correct Route 53 CloudFormation configuration to alias sub-domain names to an Elastic Beanstalk Environment ELBs? I have copied the HostedZoneIds from the Amazon Route 53 Hosted Zone ID table to mappings: "Beanstalk2Route53HostedZoneId"…
16
votes
2 answers

Puma "Terminating timed out worker" after rendering HTML

I am new to AWS Beanstalk-Rails-Puma-Nginx. After deploying my RAILS app to Beanstalk, all my api calls work fine, but HTML pages are causing error. When opening my HTML page - Nginx throws 502 Bad Gateway error. Puma log : Started GET "/admin"…
Disha
  • 776
  • 9
  • 19
16
votes
3 answers

AWS Elastic Beanstalk: Command Hooks Failed

Trying to deploy an IIS application to AWS Elastic Beanstalk via Visual Studio 2015. Every time we try to deploy it we get the following errors: Error occurred during build: Command hooks failed [Instance: i-XXXXXXXX ConfigSet:…
16
votes
2 answers

Passing environment variables to Docker containers

Currently using Elastic Beanstalk to run Docker containers, I need to pass important information as environment variables to my containers. My current Dockerrun.aws.json looks like this: { "AWSEBDockerrunVersion": "1", "Image": { …
Heschoon
  • 2,915
  • 9
  • 26
  • 55