As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Elastic Beanstalk deploy app in private VPC without public ip address for EC2

I'm currently developing a NodeJS application that I want to deploy in Elastic Beanstalk (EBS). To isolate & secure my cloud resources I'm using VPCs where I deploy the EBS app and also my ...
Marc Becker's user avatar
0 votes
0 answers
42 views

How to see what is my Amazon elastic beanstalk rds password?

How can I retrieve the database password for my Elastic Beanstalk environment running on the "Aurora MySQL" engine? I have an IAM user with the necessary permissions to manage the ...
Muzamel Saleem's user avatar
0 votes
0 answers
8 views

How to ease AWS deployment with three Elastic Beanstalk applications dependent on each other

I have an application that has three Elastic Beanstalk applications for a single app to run. App 1 - Scala application containing interfaces to be used as a library App 2 - Scala application ...
Sujit Baniya's user avatar
1 vote
0 answers
22 views

How to manage app versions with AWS ElasticBeanstalk Docker platform

So I have successfully launched an app and an environment in AWS ElasticBeanstalk, using private image repository. I can build and push new versions of my app to the repository, and then run eb deploy ...
skrat's user avatar
  • 505
0 votes
0 answers
19 views

What are the AWS "equivalents" for these DO products and services?

We are currently running a web application with a Laravel back-end and a Vue JS front-end on DO managed IaaS products: App Platform Managed Database Cluster (MySQL) We are planning to migrate to AWS ...
Rhecil Codes's user avatar
0 votes
0 answers
33 views

What's the best way to deploy large numbers of low-throughput docker containers on AWS?

What's the best, simple way of deploying a lot of containers to AWS? It's necessary to be scalable but cheap if a container sees little or no use. I have a method of generating docker containers that ...
Paranoid Altoid's user avatar
1 vote
1 answer
312 views

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

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 ...
Chris.B's user avatar
  • 381
0 votes
0 answers
32 views

Request throughput between Graviton instances ( C7xLarge vx C72xLarge)

Question: I have multiple(roughly 8) Ec2 C7xLarge instances which can comfortably handle 2500 to 3000 requests/per second. I am running this using an Elastic Beanstalk environment. In terms of ...
Sunil's user avatar
  • 101
0 votes
0 answers
48 views

How to configure root block device of ElasticBeanstalk-managed EC2 instance to not DOT?

I have an ElasticBeanstalk-managed EC2 instance whose root block device is set to the default Delete on Termination true. I didn't create this instance or any of the AWS resources used by my app; I ...
Allen's user avatar
  • 121
0 votes
0 answers
48 views

ElasticBeansTalk Rebuild Environment issue

After rebuilding an existing environment, it's keep failing due to using none existing SSL Certificate for LoadBalancer, any idea how to update the configuration to use the new ARN of SSL, or to ...
Mhd Wael Jazmati's user avatar
0 votes
0 answers
51 views

What are the differences between the migration options for Elastic Beanstalk Multi-container Docker environments to AL2?

We're running an Elastic Beanstalk Multi-container Docker environment on Amazon Linux 1, which has been deprecated and needs to be migrated to Amazon Linux 2. The documentation presents two options ...
Dario Seidl's user avatar
0 votes
0 answers
24 views

AWS Beanstalk - Website refreshing infinitely during scale up

I have a configuration in my Elastic Beanstalk where the maximum number of instances can be "3" and minimum is 1. When the website is running with just one ec2 instance, it loads without any ...
Rahul Raj's user avatar
0 votes
1 answer
200 views

Elastic Beanstalk deploying files that are in .ebignore / .gitignore

I have a Drupal app that is deployed with Elastic Beanstalk from a Mac machine, using the latest version of the EB CLI. The repository is an ordinary GitLab, AWS CodeCommit is not used. Unfortunately, ...
user1933738's user avatar
0 votes
1 answer
838 views

How do I change (upgrade) my Elastic Beanstalk instance type?

My current Elastic Beanstalk environment is using the "t2.micro" instance. Recently, my website is getting a lot of traffic and it is not been able to handle CRON jobs. The instance is ...
Navneet Pratap's user avatar
1 vote
1 answer
176 views

Had a peculiar issue with my EC2 instance yesterday, disk space low?

I've got an asp.net core application running on Linux/Nginx in Elastic Beanstalk. All of a sudden it stopped working properly yesterday, the issue was that one of the main javascript files was no ...
haukurhaf's user avatar
  • 173
0 votes
1 answer
1k views

AWS Elastic Beanstalk 504 Gateway Time-out - occasionally failing to connect to target

I have a fairly simple AWS Elastic Beanstalk setup (Rails on Puma, with NGINX) and get intermittent but quite regular 504 Gateway Time-out on the client (typically 10 seconds after making the request)....
phil_ayres's user avatar
0 votes
1 answer
174 views

Elastic Beanstalk Domain Name

I'm new to AWS Elastic Beanstalk. So i've confused, when i want to create new environment, in the Domain if i use mydomain.us-east-1.elasticbeanstalk.com it can be done. But when I try to use like ...
Sinauwae's user avatar
5 votes
3 answers
4k views

Using Nginx to Block Connections that aren't addressed to my domain

I am running a django app on AWS elastic beanstalk and I'm getting spammed by bots trying to scan for vulnerabilities. It results in a flood of errors such as: (Where xx.xxx.xx.xx is my ec2 instance's ...
Del's user avatar
  • 153
0 votes
0 answers
105 views

Elasticbeanstalk Laravel Queue Stopped working

Using AWS elasticbeanstalk. Setting my deploy_config file like below: 08_queue_service_restart: command: "systemctl restart laravel_worker" files: /opt/elasticbeanstalk/tasks/...
Tufan Çağkan Sökmen's user avatar
0 votes
1 answer
68 views

AWS Elastic Beanstalk random spike in NetworkIn traffic once to twice a day

Unusual traffic on my Elastic Beanstalk application. NetworkIn, NetworkOut both spike once to twice a day at random times. Sometimes it crashes my load balancer and I have to go in and manually kill ...
Taylor Brown's user avatar
0 votes
1 answer
200 views

How do I deploy a docker container on AWS Elastic Beanstalk privately such that only other AWS resources can access it?

Need to make an AWS deployment decision. A lot of this tech (docker, beanstalk) is pretty new so I don't know best practices (and I'm also foggier than I'd like to be on networking and security). Tech ...
Paranoid Altoid's user avatar
2 votes
0 answers
100 views

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's user avatar
  • 133
0 votes
0 answers
499 views

Files defined on .ebextensions configs don't always end up on the defined path (AWS Beanstalk)

I'm currently having an issue where the file imports defined on the .ebextensions folder don't end up on their target paths. My current configuration (located on .ebextensions/credentials.config) is ...
quiquelhappy's user avatar
1 vote
0 answers
346 views

Elastic BeanStalk can't connect to ElastiCache Redis

I'm having issues connecting from Elastic BeanStalk to ElastiCache Redis. When I SSH into the EBS instance and try to use redis-cli to connect, it times out. This is how I set up my environment: I ...
Teotimo Garcia's user avatar
0 votes
0 answers
87 views

Elastic Beanstalk: Authentication does not work?

I'm trying my best to connect my ECS instance to a private registry in gitlab. I've uploaded a .dockercfg file to a bucket in the same region as main EB environment and referenced it as described in ...
Xen_mar's user avatar
  • 121
0 votes
1 answer
468 views

Elastic Beanstalk worker tier Degraded, SQS daemon keep repeating "init: initializing aws-sqsd 3.0.3"

The env will be Degraded and no message can't be sent. Platform is Docker using dockerrun.aws.json. Container is a Django app. I tried with two instance types (I confirmed it from EC2 dashboard) t2....
Abirafdi Raditya Putra's user avatar
0 votes
1 answer
984 views

AWS ElasticBeanstalk: Early termination of worker [puma] Loading development - gems?

I'm currently upgrading rails from 6 to 7 and so had to upgrade my eb platform-version as well (to run ruby-3.0). Now puma isn't able to start and always looping through: [13033] + Gemfile in context: ...
metafoo's user avatar
2 votes
1 answer
1k views

How to limit log size on Elastic beanstalk with Corretto 8/Amazon Linux 2 platform?

We recently migrated one of our applications to the "Corretto 8 running on 64bit Amazon Linux 2/3.2.12" platform. Now we're seeing the issue that the log files are filling up our disk volume ...
UncleBob's user avatar
  • 237
0 votes
1 answer
336 views

block public access to the AWS Elastic Beanstalk URL

I have a node.js app running on AWS Elastic Beanstalk. I have setup a domain pointing to a CDN distribution which is pointing to the EBS. But the web app is also accessible via the EBS URL directly. I ...
g.revolution's user avatar
1 vote
1 answer
123 views

Deploy a PHP application that calls python scripts on AWS

I've made a PHP site that calls a bunch of python workers in the background (using the queue-worker system in laravel, where the worker calls the python tool via CLI). The python tools each have their ...
Tominator's user avatar
  • 111
0 votes
1 answer
2k views

Access PHP error log in AWS Elastic Beanstalk

I'm running a PHP web app on AWS Elastic Beanstalk, and I've been trying to diagnose some seemingly random (rare) issues users have been encountering after upgrading to PHP 8. On localhost, I'd have ...
Ben in CA's user avatar
  • 123
1 vote
1 answer
665 views

Elastic BeanStalk environment variable update fails

When I try to update the environment variables of my Elastic BeanStalk environment via the software configuration, the update fails and the environment is rolled back to the previous configuration (...
Thijmen's user avatar
  • 111
1 vote
0 answers
547 views

Remove the default Security Group assigned by Elastic Beanstalk

I have created a Elastic Beanstalk environment and have created this .config to edit the security groups which worked. Now my EC2s are attached to the new SG and the default one. option_settings: - ...
Rami's user avatar
  • 11
1 vote
1 answer
295 views

Why does our Tomcat Java application suddenly open hundreds of connections to our database?

We have a Tomcat application running on Elastic Beanstalk and our MySQL database is hosted on AWS RDS (2 or 3 t3.medium instances). Ever since we upgraded from MySQL 5 to MySQL 8 (currently 8.0.23), ...
Helder Sérvio's user avatar
1 vote
1 answer
668 views

How to get private Elastic-Beanstalk Environment DNS Endpoint?

My setup is the following: i have a VPC consisting of 3 subnets: public, private with NAT and isolated. I have an elastic beanstalk (single instance) environment running in the private subnet with Nat ...
Maximilian Körner's user avatar
1 vote
1 answer
417 views

amazon-cloudwatch-agent shuts down on every application reload

I have a Tomcat app on Elastic Beanstalk, and I want to send logs to Cloudwatch Logs. To that end, I set up log4j to write to file, and in .ebextension, amazon-cloudwatch-agent is installed and run. ...
f.khantsis's user avatar
1 vote
0 answers
168 views

alterando client_max_body_size: nginx + beanstalk

I'm trying the upload limit imposed by NGINX... I created a proxy.conf file that has: files: "/etc/nginx/nginx.conf" : mode: "000777" owner: root group: root ...
Daniel's user avatar
  • 11
1 vote
1 answer
656 views

How do I migrate our existing Beanstalk application to Amazon Linux 2?

Our three Beanstalks are currently running on the "Tomcat 8.5 with Java 8 running on 64bit Amazon Linux" platform, either on the canned "ami-0e469f970b0c3b65c" AMI, or (for one of ...
hbquikcomjamesl's user avatar
2 votes
1 answer
3k views

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: ...
David Buck's user avatar
1 vote
0 answers
229 views

Asp.net core To elastic beanstalk error 404 after deployment

I have an asp.net core web api that run an 404 after it get's deployed to elastic beanstalk. Any version from 1.0 to 5.0 all show the same error 404. The api works just fine on localhost but once it ...
Aboubacar Traore's user avatar
0 votes
1 answer
549 views

How to set up conditional redirects on an Application Load Balancer for an Elastic Beanstalk environment?

I have two Docker-based single-instance Elastic Beanstalk environments (one for staging and one for production). I'd like to migrate the (Elastic Beanstalk) application to sit behind a load balancer (...
pleasedesktop's user avatar
0 votes
1 answer
638 views

apache how configure multi domain https redirection?

I've an apache running under AWS Elastic beanstalk. I've got several different domains and I want all of them to end in a specific domain name, in HTTPS. The redirection from other domains e.g. https:/...
poypoy's user avatar
  • 3
0 votes
1 answer
221 views

CannotPullContainerError on AWS Elastic Beanstalk Multicontainer Docker with private repository

I am trying to deploy web application on multi-docker environment using Elasticbeanstalk, and I am using authentication file stored in S3 bucket for repository authentication. But I got the ...
freelancer's user avatar
2 votes
0 answers
2k views

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 ...
Jorn's user avatar
  • 501
0 votes
0 answers
1k views

Add headers in nginx config on AWS Elastic Beanstalk

I'm trying to have the nginx on my Elastic Beanstalk application add some headers to every response. I've edited my 00_application.conf file (in .ebextensions/nginx/conf.d/elasticbeanstalk) to include:...
Jorn's user avatar
  • 501
3 votes
1 answer
2k views

AWS Elasticbeanstalk modify php-fpm config file

My app is running on AWS Elasticbeanstalk service with PHP 7.4/AMI Linux 2 platform. And I want to modify php-fpm configuration, especially /etc/php-fpm.d/www.conf file, which manages by Beanstalk. ...
aranel's user avatar
  • 111
0 votes
0 answers
99 views

Custom domain SSL on elastic beanstalk

Our Multi tenant SaaS application is hosted on elastic beanstalk(EBS). EBS load balancer uses a certificate issued by ACM(Amazon certificate manager) for SSL. We've customers who want to use their own ...
vishesh's user avatar
  • 109
1 vote
0 answers
61 views

Deploying two applications on the same instance with clustering

I am trying to deploy two applications listening on different ports on the same instance (a Next.js application along with a Node.js API server). I will use a reverse proxy to route traffic to them ...
Marnix.hoh's user avatar
2 votes
0 answers
1k views

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" ...
jlucier's user avatar
  • 121
0 votes
1 answer
569 views

Rails application not working on AWS after upgrade to Rails 6.1.3

I recently upgraded my application to Rails 6.1.3. When I attempted to deploy the application to AWS the deployment failed with the error message "Following services are not running: application.&...
Trent Walls's user avatar

1
2 3 4 5
10