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

How do i run assets (npm run production) on an elastic beanstalk laravel application?

I have a laravel application, running on an AWS eb instance (elastic beanstalk).I have uploded the code, and connected a database and everything works fine without any errors. But i need to compile ...
danielh's user avatar
1 vote
1 answer
260 views

How do I create an Elastic Beanstalk example?

I have tried to create and deploy on Elastic Beanstalk. It never works. I have spent over 14 hours trying to get EB to work over the course of 1 month. I have followed online tutorials in addition to ...
BigMistake's user avatar
0 votes
0 answers
102 views

AWS - Setup OIDC authentication in ALB with AWS Beanstalk

I have to setup my application in elastic beanstalk with High availability. My architecture involves a php application running in beanstalk in private subnet with ALB (public subnet) which is also ...
Goural's user avatar
  • 35
0 votes
0 answers
177 views

AWS Elastic Beanstalk max request post size

I have an application consisting of the following: Vue.JS front-end website Dotnet Core API From the front-end, I wish to allow the user to upload up to 10 files totaling up to a maximum of 50 ...
Carel's user avatar
  • 131
0 votes
0 answers
72 views

Excluding region prefix from domain in AWS Elastic Beanstalk

I am using AWS Elastic Beanstalk to run a private server for an older game that's no longer supported by the developers. The main executable for that game sends requests to an old elastic beanstalk ...
xScoobie's user avatar
0 votes
0 answers
98 views

Hosting dynamic Flask website using AWS ElasticBeanstalk

I have been trying to host a dynamic Flask website which includes Machine Learning on AWS ElasticBeanstalk. The success message "Environment has succesfully launched" is displayed. However, ...
Popo's user avatar
  • 1
0 votes
0 answers
95 views

Change timeout period of Elastic beanstalk worker daemon on deploy

I have an Elastic Beanstalk worker ENV but on update or a task that requires it to stop processing it stops after 30s. I know the Daemon receives a SIGTERM on when to stop, but the time out is only ...
Maker of worlds's user avatar
0 votes
0 answers
125 views

Laravel Crons on Elastic Beanstalk Linux AMI 2

I am running a Laravel app on Elastic Beanstalk Linux AMI 2. I am using the following config file in the .ebextensions folder to set up the cron. files: "/etc/cron.d/schedule_run": mode: &...
ackerchez's user avatar
  • 119
1 vote
0 answers
278 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
344 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
1 vote
0 answers
85 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
  • 515
0 votes
0 answers
82 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
2 votes
1 answer
1k 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
  • 421
0 votes
0 answers
63 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
1 answer
376 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
2k 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
515 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
3k 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
330 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
6 votes
3 answers
8k 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
  • 163
0 votes
1 answer
207 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
257 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
151 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
1 vote
0 answers
477 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
124 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
715 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
1k 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
3 votes
3 answers
2k 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
  • 247
0 votes
1 answer
671 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
179 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
3k 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
  • 143
1 vote
1 answer
1k 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
718 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
437 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
2 votes
2 answers
1k 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
837 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
185 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
743 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
303 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
1 vote
1 answer
712 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
925 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
  • 5
0 votes
1 answer
298 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
1 answer
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
  • 541
3 votes
1 answer
3k 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
123 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
81 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
669 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