Questions tagged [amazon-elastic-beanstalk]

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service from Amazon Web Services that allows users to create applications and push them to a definable set of AWS services.

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

Errors adding a load balancer to elastic beanstalk

I'm pretty new to AWS and networking in general, but I am trying to serve a dotnet project using elastic beanstalk. I was able to get it running successfully, the health checks were good, and ...
Nate Roskelley's user avatar
0 votes
1 answer
25 views

How to export large dataset using django-import-export

I've integrated django-import-export in my admin, and it is working as expected. I have created a resource for the model I want to export, and the export works fine for smaller datasets. However, on ...
Hrushikesh Vaidya's user avatar
0 votes
0 answers
15 views

AWS Elastic Beanstalk- SecurityGroup Error Message

I've been dealing with this for a few days already: Environment health has transitioned from Pending to Degraded. Auto Scaling activity failed 16 seconds ago with error: The parameter SecurityGroup ...
gabrethesabre's user avatar
0 votes
1 answer
53 views

Deploying Ruby application on Elastic Beanstalk taking too long

I'm currently facing an issue with deploying my Ruby application on Elastic Beanstalk. I'm using the platform "Puma with Ruby 2.3 running on 64-bit Amazon Linux/2.3.3." The deployment has ...
Abhijith Ea's user avatar
0 votes
0 answers
19 views

elastic beanstalk nodejs v18 2 issues

Elastic Beanstalk used to be amazing. Would update within 2-3 minutes. Now it takes 15 minutes to finish updating and it regularly fails and does rollbacks This is literally what happens if I try to ...
Trevor Wood's user avatar
  • 2,367
0 votes
0 answers
26 views

What service to use to deploy an Angular 17 app with SSR enabled on AWS?

What is the most convenient way to deploy an app SSR app on AWS? I saw that people are using AWS Amplify, Serverless and AWS Elastic Beanstalk, but what is the best to do for a large Angular 17 app ...
achillezz's user avatar
0 votes
1 answer
50 views

Clone of AWS ElasticBeanstalk giving tomcat error on startup The AJP Connector is configured with secretRequired="true"

Using AWS Elastic Beanstalk environment with Tomcat 7 with Java 7 running on 64bit Amazon Linux/3.4.8, a retired platform but one i have used for a number of years without problem. Cloned the ...
Paul Taylor's user avatar
  • 13.4k
0 votes
0 answers
8 views

Rerouting ssl command fails during build of application through Elastic Beanstalk

I have a spring application that I am deploying through Elastic Beanstalk. When running a container command to reroute ssl the build fails. The command I'm trying to run is: iptables -t nat -A ...
Argentum's user avatar
0 votes
1 answer
16 views

AWS Elastic Beanstalk Service Role permissions stop working after a day for no reason

I am deploying a Django app to AWS EB. Everything works the day i create the AWS EB environment. AWS Health Checks work, I can update environment configuration and deploy new versions. When I try to ...
Liam's user avatar
  • 11
0 votes
0 answers
21 views

Elastic beanstalk single instance application with public internet but only my IP to be allowed to access the Application

I wanted to create a simple single instance AWS elastic beanstalk application that should be accessible via internet but only via my IP address. I do not need a load balancer for this, but if ...
Nitiraj's user avatar
  • 614
1 vote
0 answers
25 views

AWS Elastic Beanstalk - ImportError: cannot import name 'decode' from 'cognitojwt'

I have Flask application that opens locally (with Python 3.6 and also Python 3.8) but encounters issues in my AWS Elastic Beanstalk environment - Python 3.8 running on 64-bit Amazon Linux 2/3.3.2. It ...
Dor Cohen's user avatar
  • 162
0 votes
0 answers
23 views

How can I prevent writing health check requests to nginx access logs in an Elastic Beanstalk environment?

I'm currently working with an Elastic Beanstalk environment where Nginx is used as the web server. By default, all incoming requests, including health check requests, are being logged in the access ...
Abdulkadir Mete's user avatar
0 votes
0 answers
25 views

How can I override the log rotation configuration file for Nginx on AWS Elastic Beanstalk?

I have an Elastic Beanstalk project where I am utilizing S3 log rotation for my environment. I would like to modify the "/etc/logrotate.elasticbeanstalk.hourly/logrotate.elasticbeanstalk.nginx....
Akadi's user avatar
  • 1
-1 votes
0 answers
42 views

JWT token setting previous expiry date after once expired on Elastic BeanStalk

Let me tell you the config I have my Spring Boot code on BeanStalk and my DB on RDS and my new updates are uploaded on BeanStalk through a CI/CD pipeline on Gitlab. So lets suppose I did a commit and ...
Rahul Goswami's user avatar
0 votes
0 answers
11 views

Cannot deploy flask application built by visual studio 2019 to Beanstalk with nginx

I am new to flask and beanstalk. What I am trying to do right now is create a simple flask application and deploy it to Beanstalk. I haven't made any changes to my codes which auto-generated from the ...
Nantanit Somboon's user avatar
0 votes
0 answers
33 views

95 % of root file system is in use. 402 MB free but cannot see disk space issue [closed]

1st of all, I'm a linux & AWS amateur, so I feel as if I'm searching in the dark here. I seem to be getting issues with my Elastic Beanstalk environment. After a few days I get notifications of ...
thunk's user avatar
  • 534
0 votes
0 answers
37 views

Elastic Beanstalk Deployment Not Reflecting Gemfile Update Without Manual Instance Termination

I'm facing an issue with Elastic Beanstalk where an initial deployment failed due to a Ruby gem issue. I resolved the issue by updating the Gemfile, but subsequent attempts to deploy the new version ...
Abhijith Ea's user avatar
0 votes
0 answers
38 views

AWS Elastic Beanstalk nginx is down after a few days

My website in AWS Elastic Beanstalk is running ok after installation in php 8.1 using nginx. However a few days later the website is down due to nginx error. The error message on webpage after nginx ...
user2818066's user avatar
0 votes
0 answers
50 views

AWS Elastic Load Balancer Redirecting to HTTP Despite HTTPS Configuration

I'm currently facing an issue with an AWS Elastic Beanstalk setup where both the frontend and backend applications are deployed separately on Elastic Beanstalk. The frontend is built with React, and ...
slvk's user avatar
  • 17
-2 votes
1 answer
17 views

"The security group does not exist" when setting Elastic Beanstalk EC2 security group with Terraform

As the title goes, I have this Terraform file: resource "aws_security_group" "database" { name = "my-database" } resource "aws_elastic_beanstalk_environment" ...
dodov's user avatar
  • 5,294
-1 votes
0 answers
22 views

AWS Beanstalk container with Django app can't connect to RDS DB but it accessible from EC2 server and anothe container [duplicate]

My MySQL DB and EC2 instances where Elastic Beanstalk is running are in different VPCs. So I connect to DB via public IP and allow inbound connection in DB SG for my EC2 instance. But I still receive ...
amarynets's user avatar
  • 1,763
0 votes
1 answer
92 views

Django AWS Elastic Beanstalk - 502 Bad Gateway

I have been trawling the internet looking for a solution to this problem and have come up empty handed after trying multiple different things. Im looking to get the vanilla django project deployed on ...
Ronan Jones's user avatar
0 votes
0 answers
85 views

How to best debug a failed ruby migration?

My team have recently inherited a legacy ruby codebase which is in a bit of a mess. (I'm not a ruby dev myself, and the only ruby dev on our team has been in the company >6 months, so we're very ...
Dan Lincoln's user avatar
1 vote
1 answer
16 views

Elastic Beanstalk set up

I'm having trouble creating an Elastic Beanstalk environment with a new account. I have myself set up with the full access on the following services: Access Analyzer Auto Scaling Certificate Manager ...
HenryM's user avatar
  • 5,621
1 vote
1 answer
192 views

Elasticbeanstalk + Ruby 3.2.2 platform sassc LoadError

I'm getting error when trying to deploy Rails 7.1 application on ElasticBeanstalk Ruby 3.2 platform Could not open library /var/app/current/vendor/bundle/ruby/3.2.0/gems/sassc-2.4.0/lib/sassc/libsass....
user1929618's user avatar
2 votes
1 answer
57 views

ActionCable With Elastic Beanstalk and Classic Load Balancer 499 NGINX Code

I am trying to use ActionCable and Turbo Stream in my Rails 7.0.4 app where the WebSocket connection to /cable is being closed unexpectedly in the production environment. Ruby 3.0.5 64bit Amazon Linux ...
Daniel Willems's user avatar
0 votes
1 answer
46 views

An error occurred (InvalidParameterValue) when calling the CreateEnvironment operation: Tag key 'Name' is reserved

Im receiving following error when trying to deploy spring boot application using Jenkins to AWS Elastic beanstalk. This used to get deployed without an issue, but this error has started to occur ...
JsbDev's user avatar
  • 33
-1 votes
0 answers
39 views

Request Issue With Django On AWS

I have recently been working on developing an application that can answer questions from documents. It has been going well so far, as the project itself works locally, and answers questions with great ...
Nessbound's user avatar
-2 votes
0 answers
34 views

Request method 'POST' not supported in ec2

Hello guys i am having a issue while sending data the error is "request method 'post' not supported. I have uploaded a image of the error This is only happnening in one of our testing envr, i ...
Fahd Mirza's user avatar
0 votes
0 answers
50 views

Can't figure out the correct policy to initiate a Flask app with Elastic Beanstalk CLI

I have a Flask app. I have pip installed awscli and awsebcli packages. I ran aws configure command in my CLI and provided the credentials for the user I created. According to this link, the ...
Muhammad Usman's user avatar
0 votes
0 answers
19 views

How do if fix my syntax error in using EB INIT in project?

This is my terminal I already have Git, python, and virtualEnv installed. I went through https://github.com/aws/aws-elastic-beanstalk-cli-setup When I put which EB it returned a path, but when I put ...
W1llno's user avatar
  • 1
0 votes
1 answer
29 views

Why I need set SERVER_PORT:5000 in AWS Beanstalk to make Spring Boot app to work?

I have simple CRUD spring boot app that I want to deploy to AWS via Beanstalk. If I follow default steps and only choose custom VPC - app doesnt work. If I doing the same and set SERVER_PORT: 5000 in ...
Andrius Nikulinas's user avatar
-1 votes
1 answer
21 views

ERR_CONNECTION_REFUSED when routing AWS Elastic Beanstalk environment to custom domain

My ELB instance works fine on the dedicated elasticbeanstalk.com subdomain, however when I route it to my custom domain https://hoodie.dev, it returns ERR_CONNECTION_REFUSED. Before adding an HTTPS ...
kesect's user avatar
  • 1
-2 votes
0 answers
28 views

Missing ffmpeg https protocol: How to add https protocol in ffmpeg installed in Elastic beanstalk?

I installed ffmpeg latest static build in my Elastic Beanstalk instance following this answer. When I run my code in the server I got this message: https protocol not found, recompile FFmpeg with ...
threeFatCat's user avatar
0 votes
0 answers
19 views

Adding new npm dependencies to a Amazon Linux 2 Node.js instance

I am pushing a code change that adds new npm dependencies (@tensorflow/tfjs), on an application deployed by EB. The platform is Node.js 16 running on 64bit Amazon Linux 2/5.8.7, and in a deprecated ...
Joey Zhu's user avatar
0 votes
1 answer
39 views

How to create a SSH tunnel to RDS through EC2 which is accessed via an ALB?

I am relatively new to AWS so any help would be greatly appreciated! The problem I am having is that I cannot establish a SSH tunnel to a RDS database through an EC2 instance because an ALB only ...
Samuel Davies's user avatar
2 votes
0 answers
41 views

Unable to deploy golang API to AWS Elasticbeanstalk

I'm trying to deploy my Golang API to Elasticbeanstalk, without success. First, I used platform Go, also tred with Docker but it won't work Go It just says this in /var/log/eb-engine.log: 2023/11/06 ...
aldm's user avatar
  • 363
0 votes
0 answers
29 views

Amazon EB: Deploy Django Application, why it install mysqlclient2.2.0?

I have been creating and deploying django applications for testing purposes.(platform: Python 3.8 running on 64bit Amazon Linux 2) When I create an environment, and I do "eb deploy" command. ...
Max's user avatar
  • 41
0 votes
0 answers
12 views

Get request url from instance aws beanstalk with route53

my site is in aws (route53, certificate manager, load balance and the backend in spring with thymeleaf in Beanstalk) need get the request url from springboot app, this's my code: @RequestMapping("...
OGomez's user avatar
  • 1
0 votes
0 answers
88 views

AWS Electric Beanstalk - Service:AutoScaling, Message:AutoScalingGroup name not found

I'm trying to build my Elastic Beanstalk first instance for a Python application and have been following a few different guides that seemingly sail through the issues without error. The first error I ...
Byte Insight's user avatar
0 votes
0 answers
444 views

AWS Elastic Beanstalk: Environment creation stuck in "Added instance [i-XXXXXXXXX] to your environment"

I'm trying to deploy a Flask application using Elastic Beanstalk. This application needs to interact with an RDS database that lives inside of a VPC. So, I'm creating the app and the environment ...
Arturo Avila's user avatar
0 votes
0 answers
11 views

AWS Elastic Beanstalk - Why does a leader_only command on non-leaders output as an error?

I have a container command for migrations with the leader_only argument set as below. container_commands: 01_reload_nginx: command: "service nginx reload" ignoreErrors: true ...
Dan Far's user avatar
-2 votes
1 answer
48 views

AWS issue with django backend and vue js frontend

my django backend is deployed on aws elastic beanstalk on default settings and auto scaling env type is single instance vue js frontend is hosted on aws s3, its setting is done with cloudfront and its ...
khalid's user avatar
  • 1
0 votes
0 answers
17 views

AWS Elastic Beanstalk: Cannot initialize an environment using a custom VPC and Security Groups

I have an AWS Elastic Beanstalk application that needs to send and receive data to/from a database that lives inside of a VPC. To achieve this, I planned to integrate the EB app inside of that same ...
Arturo Avila's user avatar
0 votes
0 answers
38 views

Incorrect application version found on all instances

I have a Node.js application (written in JavaScript) deployed on an Elastic Beanstalk environment using Codepipeline. Which means, on every new git push, Codepipeline deploys a new version of the ...
mayanxoni's user avatar
8 votes
1 answer
3k views

ModuleNotFoundError: No module named 'imp'

I need to install the eb command on windows. I would like to try to deploy an application on AWS using the elasticbeanstalk service, and through this command you can configure and deploy an ...
user1369413's user avatar
0 votes
0 answers
16 views

Hosting NodeJS and ReactJS Application in AWS using elastic bean stalk

What's the process to host React Application on AWS using elastic bean stalk, CI/CD process. Project Folder Structure: App ---> api ---> infrastructure ---> web/myApp The App folder has api ...
Puneeth's user avatar
  • 19
3 votes
0 answers
141 views

Deploy Go to AWS Elastic Beanstalk

Summary: I am trying to deploy a go app on AWS elastic beanstalk, but I always get: 2023/10/31 14:01:25.797145 [ERROR] An error occurred during execution of command [app-deploy] - [Check Procfile For ...
Alfie Danger's user avatar
2 votes
0 answers
63 views

Elastic Beanstalk: Auto Scaling activity failed with error: The parameter SecurityGroup is not recognized. Launching EC2 instance failed

I've had an Elastic Beanstalk (Docker running on 64bit Amazon Linux 2023/4.1.0) instance running for around 10 weeks with no problems. When I pushed an update on Sunday using the EB CLI, my entire ...
Richard Coates's user avatar
0 votes
1 answer
162 views

How to stream custom logs to cloudwatch from AL2023 instances

We use amazon-elastic-beanstalk to deploy part of our stack. We have just migrated our base platform from PHP 7.4 which uses Amazon Linux 2, to PHP 8.2 which uses Amazon Linux 2023. Default system ...
Pau Seglar's user avatar

1
2 3 4 5
186