Questions tagged [ebextensions]

Extensions for AWS Elastic Beanstalk (as defined in the .ebextensions directory of an EB project)

131 questions
0
votes
0 answers

ALB config file dynamic at deployment for AWS Elastic Beanstalk

Linux 2. I already have an Elastic Beanstalk environment set up and working. I am switching from Classical Load Balancer to an Application Load Balancer. My problem is I want one deployment that will change the ALB security group depending on if…
0
votes
0 answers

Installing AWS CLI with Elastic Beanstalk ebextension

I am trying to download a file from s3 bucket, for this i need to use aws s3 cp command. That's why i need to have aws cli installed first. for this i use a config like below; files: "C:\\example\\AWSCLIV2.msi": source:…
0
votes
1 answer

ebextensions conditional statement in .config file for Elastic Beanstalk deployment

Elastic Beanstalk deployment with .ebextensions. I am switching from Classical Load Balancer to an Application Load Balancer I want to use the same code in nonProd and prod for AWS ElasticBeanstalk deployment. This works and does what I want it to…
0
votes
1 answer

System.UnauthorizedAccessException: Access to the path 'C:\inetpub\AspNetCoreWebApps\app\wwwroot\files' is denied elastic beanstalk windows server

I'm trying to set up an asp.net core 3.1 website on Amazon AWS Beanstalk using the AWS Toolkit for Visual Studio 2022, I have added the .ebextensions folder and inside my config file { "container_commands": { "01": { "command": "icacls…
0
votes
1 answer

.ebextensions - How to add auth credentials to the composer config?

In my Application I have a composer package which requires authorization credentials. It's possible to add the credentials in the composer config via the command: composer.phar config http-basic.##PACKAGE## username password For deployment, I use…
0
votes
0 answers

How to test if package has NOT been installed, in .ebextensions?

How would I check to see if a package has not been installed, in the .ebextensions folder of an Elastic Beanstalk setup? What I want to do is similar to this command, but I only want to run the command if the package does not exist, rather than if…
kloddant
  • 1,026
  • 12
  • 19
0
votes
2 answers

AWS Elasticbeanstalk .ebextensions not deploying to /etc/httpd

In deploying a new app to EB, I found that the .ebextensions files that concern httpd are not being deployed to /etc. The files as such are the same as the ones from another app, like this one: /.ebextensions/cors.config …
BernardA
  • 1,391
  • 19
  • 48
0
votes
1 answer

Getting ".ebextensions" to copy from Visual Studio

The root of my problem is that I want to get HTTPS working for a Blazor app deployed to AWS Elastic Beanstalk. According to all the documentation I'm able to find, I need to add some config files to an ".ebextensions" folder. I've done that. I've…
Bradley Plett
  • 163
  • 1
  • 11
0
votes
0 answers

Ebextensions not deployed to AWS Beanstalk when creating an Empty File

I have this .config file inside the .ebextensions directory in my sourcecode for an app, which is supposed to install and configure FileBeat inside my AWS Beanstalk environment. The sourcecode is pushed from GitHub to the Beanstalk environment via a…
Sandun
  • 395
  • 2
  • 10
  • 25
0
votes
0 answers

Elasticbeanstalk throwing a permission denied error on whenever config

I am trying to integrate whenever gem into my elasticbeanstalk amazon linux 1 but in my schedule.rb, it throws out a permission denied error when trying to create my output error file. This is my schedule.rb require 'dotenv/load' set :job_template,…
Kingsley Simon
  • 2,090
  • 5
  • 38
  • 84
0
votes
2 answers

Can I create ebextension config files using a script?

I want to create .config files with option_settings depending on whether I am in a devevlopment or production environment. So far I have tried using condition, but it seems as though they are not allowed in option_settings. I was thinking of using…
0
votes
1 answer

Elastic Beanstalk not detecting my WSGIPath - ModuleNotFoundError

I'm attempting to deploy my Odoo instance to Elastic Beanstalk, and I'm getting the following error message: Jan 11 23:08:24 ip-172-31-31-143 web: ModuleNotFoundError: No module named 'setup/wsgi' Jan 11 23:08:24 ip-172-31-31-143 web: During…
0
votes
2 answers

AWS: Create a new environment (tomcat-single-instance): .ebextensions with SSL certificate - fails to start

Elastic Beanstalk: Create a new environment: .ebextensions with SSL certificate fails to start (tomcat-single-instance) I am trying to create a new environment with the current production WAR package. New instance deployment fails and comes up with…
Roy
  • 673
  • 11
  • 21
0
votes
1 answer

Include Procfile and .ebextension folder in Jenkins ZIP

I have a Maven Project with this folder structure (after run 'maven clean install' through jenkins): PS: there are other files and directories inside this 'target' folder, but the ones I need are just those. Well, for AWS deployment, I need to…
0
votes
1 answer

AWS Elastic Beanstalk how to get.ebextensions to write to /etc/httpd/conf.d/ the conf files inside?

Trying to add .conf files to /etc/httpd/conf.d/ directory on the E2 instance from elastic beanstalk during deployment of Elastic Beanstalk Application. I've added the .ebextensions directory with a .config file that is defined as follows: files: …
1 2 3
8 9