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.
Questions tagged [elastic-beanstalk]
496 questions
0
votes
0 answers
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:
location / {
# snip other config
…

Jorn
- 501
- 1
- 4
- 14
0
votes
0 answers
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 custom domains for using our app. Is there a…

vishesh
- 109
- 3
0
votes
1 answer
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.". I've tried to run the app both locally and by…

Trent Walls
- 1
- 1
0
votes
1 answer
Best AWS option for occasional video encoding with FFMPEG?
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 the encode job completes, it uploads final video…

Mike
- 13
- 3
0
votes
1 answer
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 later next day other lambda will re-build the…
0
votes
2 answers
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's an SQS worker.
I had set up my config file to…

Samsquanch
- 1
- 2
0
votes
0 answers
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 closed connection while reading response header from…

Muhammad Umair Raza
- 101
- 1
- 1
0
votes
1 answer
Laravel events behind load balancer - how to make the event visible to all the servers in the autoscale group
I have an application running Laravel 6.1. There are clients which connect to it via laravel websockets and listen for events. I have an external service which sends post requests to this server which will then raise an event, and the websocket…

Angelo
- 111
- 1
- 4
0
votes
0 answers
Cannot migrate database on AWS Elastic Beanstalk
I have hosted a site in AWS. I have created a RDS DB instance for the elastic beanstalk.
In my laravel app's config/database.php file, I have configured my database connection as :
'mysql' => [
'driver' => 'mysql',
'host' =>…

Sijan Bhattarai
- 101
- 1
0
votes
1 answer
Make a new EC2 instance on Elastic Beanstalk
I deployed my app onto Elastic Beanstalk. I have a few questions related to the EC2 instances:
By running en ssh, I understand that I will ssh onto one of the instances. What if there is more than one instance?
There is a warning, that changes made…

Merc
- 789
- 1
- 6
- 16
0
votes
1 answer
How to set an application-specific configuration file in Elastic Beanstalk?
I have an application which I host in Elastic Beanstalk.
I have modified this application so that it can be configured with an external configuration file, but now I don't know how to upload/set the file in my Elastic Beanstalk environment. Ideally…

abl
- 53
- 5
-1
votes
1 answer
Forwarding HTTP to HTTPS on Elastic Beanstalk load balancer
I'm using Elastic Beanstalk, and I installed my SSL certificate in the load balancer of an EC2 instance belonging to the EB.
Every time the server is not healthy, the load balancer delete the instance and creates a new one, which means I'm gonna…

Jay
- 189
- 1
- 2
- 8
-1
votes
1 answer
Can I give detailed status information to the Elastic Beanstalk load balancer?
I am using a health-check URL to allow Elastic Beanstalk to poll the health of my instances. I would like traffic to be distributed according to some internal state of each instance. Currently I just return status 200.
Can I send detailed health…

sdgfsdh
- 109
- 3
-1
votes
1 answer
Installing IDE and GUI inside Elastic Beanstalk
I am attempting to make a development environment in elastic beanstalk, which will be similar to a production environment.
I would like to have an IDE installed in the environment, and have graphical desktop to work with. I can create all this in a…

iggz
- 1
- 1
-1
votes
1 answer
Barracuda WAF + Elastic Beanstalk
this is a question for someone who has experience in Barracuda an AWS EB
If I have a VPC with single public subnet and I want to protect a EB with this WAF, how is the better mode to procced?
Regards

Néstor
- 103
- 1