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
5 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 ...
user avatar
  • 121
0 votes
0 answers
8 views

Elastic Beanstalk: Not upgrading to newest docker container?

I've been banging my head against this for days now and can't seem to figure out the last step. I'm trying to deploy a nodejs app as part of a multi container setup to elastic beanstalk. Everything ...
user avatar
  • 121
0 votes
1 answer
44 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....
user avatar
0 votes
1 answer
199 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: ...
user avatar
0 votes
0 answers
14 views

How to add condition in elbsg.config in ebextensions for elasticbeanstak

Currently, we use docker-compose and .ebextensions to update elastic load balancer security group. However now I have requirement to apply different security groups for different environment. How do I ...
user avatar
  • 1
1 vote
1 answer
122 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 ...
user avatar
  • 207
0 votes
0 answers
16 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 ...
user avatar
1 vote
1 answer
33 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 ...
user avatar
  • 111
0 votes
0 answers
29 views

Attaching RDS database to Elastic Beanstalk fails with reason "null"

Image shows relevant events from the Elastic Beanstalk event page. Roughly what I did: Created new EBS application Created new EBS environment using the "Sample Application" option Added a ...
user avatar
  • 101
0 votes
0 answers
156 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 ...
user avatar
  • 121
0 votes
1 answer
68 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 (...
user avatar
  • 101
1 vote
0 answers
116 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: - ...
user avatar
  • 11
1 vote
1 answer
58 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), ...
user avatar
0 votes
0 answers
20 views

Is it okay to generate CSR from one of the running EC2 instances for configuring SSL certificate

I'm a total newbie. I want to set up SSL for my domain (I used elastic beanstalk to deploy my little project). I have bought the SSL certificate but have not yet configured it with my domain (I'm ...
user avatar
0 votes
0 answers
113 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 ...
user avatar
0 votes
0 answers
63 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. ...
user avatar
0 votes
0 answers
40 views

Application log file for ELB Tomcat environments changed

Application logs used to be saved in catalina.out. Recently, I believe after updating to Amazon Linux 2, catalina.out only has Tomcat specific log entries, while my app logs are in /var/log/messages ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
  • 11
0 votes
0 answers
40 views

storage:link not working properly while deploying laravel application to elastic beanstalk via codecommit

I am using Elastic Beanstalk environment to host my Laravel application. And I'm using CodeCommit as codesource when I'm deploying. Lastly, I'm using an init.config file inside .ebextensions folder to ...
user avatar
  • 101
0 votes
0 answers
38 views

Do I have to set up S3 for Laravel application on Elastic Beanstalk?

I have set up an Elastic Beanstalk environment on top of PHP platform and deployed Laravel code. I have realized that each time I deploy code to EB environment, the storage becomes empty (naturally ...
user avatar
  • 101
0 votes
0 answers
62 views

AWS elastic beanstalk crashing docker

2021/09/20 12:48:16.796393 [WARN] failed to execute command: docker build -t aws_beanstalk/staging-app /var/app/staging/, retrying... Seams there is some sort of timeout for docker Please help me ...
user avatar
0 votes
0 answers
50 views

AWS Beanstalk and Elastic Load Balancer: Route to specific instance

We are deploying an application using AWS elastic beanstalk with autoscaling, behind a load balancer. Currently we are using an application load balancer. We would like to be able to route some users/...
user avatar
  • 1
0 votes
0 answers
70 views

AWS Elastic Beanstalk - Disable nginx from EB Platform?

I'm switching from nginx to Caddy so I set up Caddy and created a new AMI. When I deploy this AMI to my EB environment, it fails to launch because nginx fails to start during the launch. I'm no longer ...
user avatar
  • 99
1 vote
1 answer
364 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 ...
user avatar
1 vote
1 answer
926 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: ...
user avatar
0 votes
0 answers
161 views

Should t4g instances be available for an Elastic Beanstalk environment in ap-southeast-2?

Can't find any reference to them not being available, but they're not in the list in my config options. Anyone know one way or another?
user avatar
1 vote
0 answers
93 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 ...
user avatar
0 votes
0 answers
55 views

Google Bot can't access robots.txt neither sitemap.xml on apache hosted on AWS EB

I've an hosted website on AWS EB running on apache. I've a default AWS EB configuration and default firewall settings. Google Bot tester can read the robots.txt file but the crawler fails. Same for ...
user avatar
  • 3
0 votes
1 answer
314 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 (...
user avatar
0 votes
1 answer
145 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:/...
user avatar
  • 3
0 votes
1 answer
155 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 ...
user avatar
2 votes
0 answers
863 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 ...
user avatar
  • 431
0 votes
0 answers
555 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:...
user avatar
  • 431
2 votes
1 answer
1k 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. ...
user avatar
  • 81
0 votes
0 answers
53 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 ...
user avatar
  • 109
1 vote
0 answers
19 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 ...
user avatar
2 votes
0 answers
683 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" ...
user avatar
  • 121
0 votes
1 answer
301 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.&...
user avatar
1 vote
1 answer
518 views

Trouble installing Supervisor on Amazon Linux with easy_install

Our automated build process suddenly stopped functioning today with a fault installing "supervisor". I get the same fault after a complete rebuild. Does anybody have an alternative EB ...
user avatar
0 votes
1 answer
595 views

Undetected .runtimeconfig.json when deploying to Elastic Beanstalk

I'm trying to deploy an ASP.NET application to Elastic Beanstalk's .NET Core on Linux. When I upload the code, I get the following error: Instance deployment: Your source bundle has a single .NET Core ...
user avatar
  • 103
0 votes
1 answer
1k views

Best AWS option for occasional video encoding with FFMPEG? [closed]

I have an app which receives a video file and a text from a front-end form, creates a video intro with text, merges this intro with 1 to 2 hour video. Everything is being encoded using ffmpeg, after ...
user avatar
  • 13
1 vote
0 answers
284 views

sqsd failing on Elastic Beanstalk worker with network/SSL issues

I have recently, simultaneously upgraded an Elastic Beanstalk worker application on several fronts; from Amazon Linux 1 to 2, Django 2.0 to 3.1, Python 3.6 to 3.7, Apache to Nginx, so there have been ...
user avatar
1 vote
0 answers
17 views

ElasticBeanStalk URL directing to incorrect IP

I have two Elastic Beanstalk environments, running java applications on tomcat. Application/Environment A uses an ALB and Application/Environment uses an network LB. Environment B is within a private ...
user avatar
0 votes
1 answer
35 views

What could be a best solution for ElasticBeanstalk environment stop/start for cost saving

So i have a use case where we only need Elasticbeanstalk environment only in weekdays and in business hours only. So here at the moment i'm using a lambda function which terminates App environment and ...
user avatar
0 votes
2 answers
191 views

NGINX force HTTPS except for some user agents on AWS Elastic Beanstalk

I have a partial NGINX config file that gets pulled into a main NGINX config file automatically by AWS Elastic Beanstalk. I have two instances running, one EC2 web server running PHP and another that'...
user avatar
0 votes
0 answers
587 views

Nginx responding with 429s but I don't have it configured in my config

I'm hosting a rails app on AWS elastic beanstalk and am noticing my nginx server returning 429s in the nginx log. The problem is, I'm not seeing where the limit_req is being defined so I'm struggling ...
user avatar
  • 1
3 votes
2 answers
802 views

Running same hook for deployment and configuration deployment

Using Elastic Beanstalk with Amazon Linux 2, I'm trying to have the same hook executed for a deployment (code deployment) and a configuration deployment, without having to duplicate my code in two ...
user avatar
  • 191
0 votes
0 answers
2k views

Getting 502 response upstream prematurely closed connection while reading response header from upstream on elastic beanstalk using Nginx + puma

I'm getting this error in log files. it happens when a person reloads page many times. other than that website is working fine. I'm using elastic beanstalk with Nginx + Puma. upstream prematurely ...
user avatar
1 vote
1 answer
2k views

Seeing Java Spring Boot logs from AWS Elastic Beanstalk in AWS CloudWatch

I'm reading the documentation but I'm not understanding simple Java application log access via CloudWatch from AWS Elastic Beanstalk. I have a simple Java Spring Boot Application deployed on Elastic ...
user avatar
1 vote
0 answers
40 views

Simple site access analytics with Spring Boot on AWS Elastic Beanstalk

I have successfully set up a Spring Boot application, deployed as an executable JAR, on AWS Elastic Beanstalk. It has a load balancer with a maximum of 2 (for now) EC2 instances and uses HTTPS. It ...
user avatar

1
2 3 4 5
10