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.

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, including Amazon EC2, Amazon S3, Amazon Simple Notification Service (SNS), Amazon CloudWatch, auto scaling, and elastic load balancers.

AWS Elastic Beanstalk Documentation

9253 questions
3
votes
3 answers

ModuleNotFoundError: No module named 'application' [Deploying Django to AWS]

I've been trying to deploy a Django application at ElasticBeanstalk from AWS. I have followed this tutorial probably 6 or 7 times. tried to deploy from Linux and from windows machine in either way I end up getting: ModuleNotFoundError: No module…
3
votes
2 answers

Why won't elastic beanstalk render css for the django admin site?

I am following this guide on deploying a django app to AWS Elastic Beanstalk : https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html After running eb open, the css for the admin site does not render. It works when…
3
votes
1 answer

AWS Elastic Beanstalk custom nginx .conf file in the .platform hooks is not created when zip file is uploaded/ deployed

I am deploying a Node JS/ Express JS application to AWS Elastic Beanstalk environment. I am creating custom nginx config file to change a setting. To do that I created the following…
Wai Yan Hein
  • 13,651
  • 35
  • 180
  • 372
3
votes
1 answer

How to debug RDS connectivity

I have an Elastic Beanstalk application running for several years using an RDS database (now attached to the EB itself but set up separately). This has been running without issues for ages. There's a security group attached to the load balancer,…
3
votes
1 answer

InvalidParameterValueError - Source bundle is empty or exceeds maximum allowed size: 524288000

I use eb cli to deploy django applicatoin. It suddenly started showing error InvalidParameterValueError - Source bundle is empty or exceeds maximum allowed size: 524288000 while deploying my app using eb deploy command. It showing error for both my…
Bigair
  • 1,452
  • 3
  • 15
  • 42
3
votes
0 answers

cannot load such file -- listen (LoadError) on bundle exec rails console

Every time I try to run bundle exec rails console, I get the cannot load such file -- listen (LoadError) on production, however, the rails server(puma) is running and APIs are working. The code is deployed on ElasticBeanstalk and migration files…
Imran Ahmad
  • 2,798
  • 3
  • 28
  • 49
3
votes
0 answers

Torch installment fails in Elastic Beanstalk web application

I am trying to deploy a basic web application using Elastic Beanstalk from AWS. My app is written in python and uses pyTorch library so it can import NLP model named "bart-cnn-large" (with it I can produce text summarization). I have a file named…
Sleeper
  • 47
  • 4
3
votes
2 answers

502 Bad Gateway nginx/1.20.0 Error when Deploying Django app using AWS Elastic Beanstalk

I was following closely following AWS's documentation on how to deploy Django apps using Elastic Beanstalk until I received a 502 Bad Gateway nginx/1.20.0 Error when opening my app. From there, I followed a couple of solutions offered by users that…
3
votes
1 answer

How is AWS Secrets Manager used in an Elastic Beanstalk application safe if the AWS_SECRET_KEY has to be stored in the EBS environment vars?

I have the following setup: PHP Laravel application AWS Elastic Beanstalk -> EC2 webserver AWS Secret Manager to store the database password Elastic Beanstalk environment variable to store the AWS_SECRET_KEY TappNetwork/laravel-aws-secrets-manager…
3
votes
1 answer

Docker on AWS ElasticBeanstalk: "host.docker.internal: host-gateway": Connection refused. Iptables issue?

So I have a multicontainer project running on AWS ElasticBeanstalk (latest Docker platform). The containers share the same bridge network since they need to be able to communicate with each other (ports 3000, 8080, 9090, 9100). But one of those…
GG.
  • 21,083
  • 14
  • 84
  • 130
3
votes
1 answer

I am trying to install pdftk server on elastic bean stack using .ebextension configuration but not able to install

I am trying to install pdftk server on elastic bean stack using .ebextension configuration but not able to install. I am trying the below config file in the .ebextension folder. Please help me # Install PDFtk 01_wget_pdftk: command: "sudo wget…
3
votes
2 answers

Deploy docker image of react app to Elastic beanstalk

I am trying to deploy my create-react-app to elastic bean stalk with docker I have setup codepipeline with codebuild and elastic beanstalk. I am getting this error Stop running the command. Error: Dockerfile and Dockerrun.aws.json are both missing,…
3
votes
4 answers

Parsing the firebase private key on AWS Elastic beanstalk

I am moving my firebase authenticated node.js application from Heroku to AWS Elastic Beanstalk. The private key is not parsing correctly. It is having trouble understanding the newline characters from the environment variables. For reference I have…
3
votes
1 answer

“No server available to handle the request” thrown by AWS Elasticsearch Service in Production environment

The application’s production environment started throwing the following error: ElasticsearchStatusException[Unable to parse response body]; nested: ResponseException[method [POST], host [https://search-production-*.us-west-2.es.amazonaws.com:*, URI…
3
votes
1 answer

Why is X-Forwarded-Proto always set to HTTP on Elastic Beanstalk?

Setup Hi. I'm deploying an ASP.Net Core application to AWS Elastic Beanstalk. The platform I'm running on is 64bit Amazon Linux 2/2.1.5 using Nginx as the proxy server software. I've got a pair of listeners for my load balancer set up in the…
1 2 3
99
100