Extensions for AWS Elastic Beanstalk (as defined in the .ebextensions directory of an EB project)
Questions tagged [ebextensions]
131 questions
2
votes
2 answers
How to use conditional in .ebextensions config for crontab multiple environments (AWS Elastic Beanstalk)
I want to add one condition in cron.config file. I need to check ENV_ID (environment id) if the environment ID is a match with production server then cron will set in crontab else cron will not set check.
cron.config
container_commands:
…

Praveen Kumar
- 864
- 2
- 9
- 33
2
votes
1 answer
django-celery-beat doesn't start within supervisor just manually
I've installed Celery[sqs] and django-celery-beat in my Django 1.10 project.
I've trying to run them both (worker and beat) using Supervisor on and Elastic Beanstalk instance.
The Supervisor config is being created dynamically with the following…

Alon Mey Tal
- 43
- 5
2
votes
1 answer
Use environment variable in ebextensions file
I have three AWS accounts. I have stored my SSL certificate files in S3 inside one of the AWS accounts (say AWS1). I have created an IAM role which grants 'GetObject' access to the S3 buckets in AWS1. I have then configured an ebextensions file for…

Prathamesh Datar
- 375
- 1
- 4
- 20
2
votes
0 answers
How Do I modify NGINX routing on Elastic Beanstalk AWS?
So I had a very long post related to deployment of an elixir app to Elastic Beanstalk (here: HTTP 500 Deploying Elixir/Phoenix to AWS Elastic Beanstalk).
I've finally boiled the problem to my NGINX being misconfigured to route traffic. It's posting…

Peter Weyand
- 2,159
- 9
- 40
- 72
2
votes
0 answers
Undefined resource AWSEBLoadBalancer
I am trying to create an eb application using eb cli with Multiple Docker Container. I have an applications running on 2 ports so I need to listen on those ports. I tried your configuration on your .ebextensions/elb-listeners.config but I encounter…

Cliff Richard Anfone
- 1,426
- 12
- 14
2
votes
1 answer
Accessing an Elastic Beanstalk environment property from an .ebextensions config file
In Elastic Beanstalk, is it possible to reference an Environment Property from an .ebextensions *.config file?
For example, using Cloud Formation I've added the following Environment Property to the environment that is created -
- Namespace:…

David Gard
- 11,225
- 36
- 115
- 227
1
vote
0 answers
AWS Elastic Beanstalk [warn]: could not build optimal types_hash, you should increase types_hash_max_size..?
I have created an API and successfully deployed it via AWS Elastic Beanstalk. The server is running and works as expected.
However, i downloaded the log file and the error.log shows [warn] xxxx#xxxx: could not build optimal types_hash, you should…

IamBatman
- 59
- 4
1
vote
0 answers
Where are Linux 2 .ebextension files written on the EC2 instance
I want to SSh into the EC2 instance and see my config files for the .ebextension for my Elastic Beanstalk deployment. This is in Linux 2. I can SSH into the instance fine. I can find the platform/hooks directory, but I am at a loss where to see…

Andy P
- 109
- 8
1
vote
1 answer
AWS Elastic Beanstalk unable to deploy a working version
Elastic Beanstalk is infinitely copying a file to the /tmp folder that I created with a config file in .ebextensions. The name of this file is /tmp/mount-efs.sh. This file causes an issue on initialisation of an environment. So I try to get rid of…

Frank Mohaupt
- 69
- 1
- 8
1
vote
0 answers
Elastic Beanstalk ebextension adding multiple SSHSourceRestrictions
I am trying to get my Elastic Beanstalk Security Group to allow 2 SSH port 22 ip addresses to access it. I want to do this with .ebextension. I am able to get one, but I can't figure out how to do two.
I have tried a lot of variations but can't…

Andy P
- 109
- 8
1
vote
1 answer
How do I run a Laravel database queue on Elastic Beanstalk?
I am new to AWS EB but was able to set up a PHP 8.0 running on 64bit Amazon Linux 2/3.3.9 Laravel API.
I have some jobs in a database queue that I'd like to run using php artisan queue:listen. I followed this Stack Exchange question
yet when I push…

Ahmedtijani Umar
- 43
- 5
1
vote
0 answers
Elastic Beanstalk ignoring .ebextensions for Datadog config in WAR deployment
I've looked at everything I can seem to find and nothing has really helped make progress. I'm trying to get Elastic Beanstalk to recognize and process the 99datadog.config file in order to set up application profiling. Our app is deployed as a WAR,…

Tony Shepherd
- 115
- 1
- 8
1
vote
1 answer
AWS Elastic Beanstalk ebextensions configuration doesn't work when new instance gets spawned
In my Laravel application, I have created a folder .ebextensions and it has the configuration to install supervisor in the EC2 instance.
When I deploy the application for the first time and the instance gets created, everything works fine.…

fakhruddin tahery
- 89
- 3
- 12
1
vote
1 answer
Upadate Elastic Beanstalk environment and ebextensions files
I have an elastic beanstalk environment that the first upload I used with ebextensions to configure all the configurations.
Now, If I want to update the environment again (only change the code) the ebextensions stay the same,
I need to insert the…

Gal El
- 33
- 1
- 4
1
vote
1 answer
AWS Elastic Beanstalk Linux Docker Platform - Extensions Setup/Configuration
How do I setup/configure AWS Elastic Beanstalk's Docker Platform to run extensions (.ebextensions)? I cannot find any examples of this. There are several examples of the app running WITHOUT Docker but not WITH. Where do I put my extension files?…

chdev77
- 505
- 4
- 18