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
2
votes
1 answer

Nginx doesn't find ssl_certificate in docker, even though it's there

I'm running multidocker on AWS EB. The setup looks like this: Dockerrun.aws.json (xxx as placeholder for the domain. The app is not secure) { "AWSEBDockerrunVersion": 2, "volumes": [ { "name": "nginx-conf", "host": { …
yspreen
  • 171
  • 2
  • 12
2
votes
0 answers

AWS EB with python 3.6 errors and uses python 2.7

How do I get the aWS EB instance to use the python 3 version that is already installed on the instance? I can't get a new environment running with Python 3.6 running Django 2.1+. Local (not in virtual env): which python ->…
2
votes
1 answer

Condition for Cloudformation Resource

So the thing is: I have this resource creation set for AWS Cloudformation using ElasticBeanstalk, which creates additional internal_loadbalancer: Resources: IntLB: Type: AWS::ElasticLoadBalancing::LoadBalancer Properties: …
2
votes
1 answer

AWS Elastic Beanstalk - Socket failure on Puma server when more than 300 connections at a given time

I've been dealing with an, arguably, strange issue on a AWS Elastic Beanstalk environment. I'm getting the following nginx error when there are more than 300 connections on a single instance at a given time: 2018/03/23 20:56:53 [error] 5431#0:…
2
votes
0 answers

CannotPullContainerError when trying to deploy AWS multicontainer using elasticbeanstalk with eb cli

I've been trying to deploy a simple docker image to AWS ElasticBeanstalk using eb cli, but I can't get the docker service to start in ECS due to the following error: invalid reference format: repository name must be lowercase My Dockerrun.aws.json…
2
votes
0 answers

How to associate existing RDS instance to Elastic Beanstalk, with the right storage size?

I found the post How to associate an existing RDS instance to an Elastic Beanstalk environment? and tried to associate my existing RDS instance to Elastic Beanstalk by following it: First, creating a manual snapshot from my existing RDS instance,…
2
votes
1 answer

What are the environment tier options in aws elasticbeanstalk cli?

This has been driving me nuts. Can anyone point me to the docs section that has this information? The cli-input json to aws elasticbeanstalk create-environment command { "ApplicationName": "MyApp", "EnvironmentName": "MyAppEnv01", …
AlexanderF
  • 211
  • 1
  • 9
2
votes
1 answer

On AWS Elastic Beanstalk, with Docker, when do ebextensions get run relative to Docker RUN and CMD entries?

I can't find any documentation on the startup order (probably I'm just not looking in the right places). On the Docker side there's all the stuff in the Dockerfile which gets executed together and then the CMD entry which is run after to actually…
2
votes
0 answers

Support for docker data volume in AWS Beanstalk

I am wondering if AWS Beanstalk supports docker data volumes or does it only support host volumes? I am reading the beanstalk documentation and I see that Volumes in the Dockerrun.aws.json is for the EC2 directories (host). I then figured a docker…
2
votes
3 answers

client_max_body_size not working

I am building a Rails 5 app that is deployed to AWS elastic beanstalk.The app is running into the error 413 (Request Entity Too Large). I have been looking around Google, Stackoverflow, and Serverfault. All of these resources point me to using…
2
votes
1 answer

redirect of https://www.example.com to https://example.com not working

I am using elasticbeanstalk to redirect HTTP requests to a secure port. I want to redirect all my requests to https://example.com. The following scenarios are working http://www.example.com --> https://example.com http://example.com -->…
karan
  • 23
  • 3
2
votes
1 answer

"No space left on device" reported; trying to transfer files to EFS through EC2 instance via SCP

My setup is based on this article: https://parall.ax/blog/view/3212/how-to-run-scalable-wordpress-on-aws-amazon-web-services-tutorial I.e. Wordpress hosting via Elastic Beanstalk with a separate RDS instance and and handling file serving/uploads via…
two7s_clash
  • 215
  • 1
  • 4
  • 14
2
votes
0 answers

Kestral, IIS and Port Exhaustion

Deploying a .NET CORE web-socket app via AWS Beanstalk. By default this uses IIS as a reverse proxy. Unfortunately reverse proxies use ports to do their work, leading to port exhaustion. How can we configure IIS to scale to 100,000 connections…
NPSF3000
  • 121
  • 2
2
votes
1 answer

Network problems when I create Beanstalk environments from an AMI

I'm using AWS elastic beanstalk web interface to create an environment based on an existing AMI that has our application deployed on it. The environment gets created, the app is accessible via the ec2 instance's IP. however the environment's health…
2
votes
0 answers

AWS ELB rewrite http to https

I am using AWS Elastic Beanstalk. I would like to rewrite all http traffic to https. I have the following configuration: But if I try change the Instance Protocol of either of the above two to https (443), then when I try access my site, it just…