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

php.d/*.ini not overriding php.ini in PHP 5.5

My /etc/php.ini has the following configuration: upload_max_filesize = 2M post_max_size = 32M And /etc/php.d/app.ini contains: upload_max_filesize = 64M post_max_size = 64M With PHP 5.4, PHP was giving precedence to the app.ini values over the…
BenMorel
  • 4,507
  • 10
  • 57
  • 85
2
votes
1 answer

Open ports between Elastic Beanstalk and one EC2 instance on AWS

I currently have the following setup: An API (Node.JS) running using Elastic Beanstalk, which is currently only running one EC2 instance A MongoDB instance running on a seperate EC2 instance Currently, I have two security groups, one for the DB,…
jValdron
  • 177
  • 2
  • 10
2
votes
1 answer

How do I figure out what is filling up my AWS EC2 file system?

Elastic Beanstalk is telling me that my root file system is 96% full. When I SSH into the EC2 instance and run df, I can see that my root file system is 7.95GB/8GB used: Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs …
2
votes
0 answers

I want to get the instanceId and environmentName of an elastic beanstalk instance at boot time

How can I do this in an .ebextension or .platform script? OR is this data available already perhaps in an environment variable?
iss42
  • 133
  • 1
  • 5
2
votes
1 answer

Managed platform update failing with Incorrect application version error

I have 6 Elastic Beanstalk Python 3.7 environments running the same application. Over the course of the weekend, 5 of them have successfully, automatically auto-updated to the latest platform update: Platform update from 64bit Amazon Linux 2…
David Buck
  • 143
  • 1
  • 11
2
votes
0 answers

Disable nginx version in Server header on AWS Elastic Beanstalk

I want to disable the default nginx behaviour where it adds a Server header including the nginx version: nginx/1.18.0. I'm fine if it just says nginx. From what I can find, I can do that by adding set server_tokens off; in my nginx config file. But…
Jorn
  • 501
  • 1
  • 4
  • 14
2
votes
0 answers

Nginx + uWSGI + Flask Connection Reset

Problem I have a Flask app deployed using Elastic Beanstalk's "Single Container Docker" platform (latest revision 3.2.5 at the time of writing), with an "Application Load Balancer" in front of it. I had this same Flask app deployed in EB with the…
jlucier
  • 121
  • 4
2
votes
1 answer

Elasticbeanstalk - Apache and htaccess

I'm trying to get a WordPress site working on Elasticbeanstalk using apache. When i run it using nginx, everything works fine, but with apache, i get the following error: var/www/html/.htaccess:
sipher_z
  • 121
  • 5
2
votes
0 answers

Set CPU options on Elastic Beanstalk environment via Cloud Formation

I have an Elastic Beanstalk worker app that is doing some memory-intensive single-threaded computation. All the available instance types that meet my memory requirements (16 Gb) have 2+ vCPUs, so I only hit 50% CPU usage. Edit: This is just a quirk…
2
votes
1 answer

what can cause Nginx "Connection reset by peer" when upstream is healthy?

On an AWS Beanstalk deployment (single server) the Nginx server talking to the NodeJS/Express server on the same host occasionally complains about lost connections to upstream. 2020/03/23 10:52:43 [error] 11443#0: *70 recv() failed (104: Connection…
Udo G
  • 443
  • 4
  • 9
  • 20
1
vote
1 answer

NotFoundError - The EB CLI cannot find your SSH key file for keyname

I ran the command eb use my-environment-name Inside of my directory: /myProject I have a directory .ssh with the keypair file 'mykey' /myProject/.ssh/mykey I then run eb ssh I then get this error: INFO: Attempting to open port 22. INFO: SSH port…
FabricioG
  • 167
  • 1
  • 7
1
vote
0 answers

AWS Elastic BeanStalk Error writing to |/usr/sbin/rotatelogs

I have an AWS beanstalk app that after a reboot runs pretty smoothly for few hours, then all of the sudden the latency starts creeping up. When I check the logs, I find a lot of these messages [log_config:warn] [pid 15905] (32)Broken pipe:…
aVC
  • 61
  • 4
1
vote
2 answers

Elastic Beanstalk Health Degraded

I am trying to to deploy an Node.js Docker image to Elastic Beanstalk using Travis CI. The tests and builds in Travis keep passing and successfully deploying however, I keep getting the following warn and error on my Elastic Beanstalk…
1
vote
1 answer

How do I set up an SSL in Certificate Manager for a subdomain where the domain is not held in Route 53?

I'm trying to connect a subdomain to an AWS Elasticbeanstalk instance running a Django application using a certificate from AWS Certificate Manager. The domain is registered at 123-Reg. AWS Certificate Manager is showing a validation status of…
HenryM
  • 135
  • 7
1
vote
1 answer

Install gRPC php extension in elastic-beanstack

I need to install gRPC php extension elastic-beanstack. The way i found is to write a config file inside ".ebextensions" in order to automatically install the extension. For that I need to create yaml or json file. I need to add the following…
Maverick
  • 11
  • 2