Questions tagged [ebextensions]

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

131 questions
3
votes
1 answer

Is there a full list of configuration options for .elasticbeanstalk/config.yml?

Are you able to use this file to specify all options for an environment? I can't find a reference online that lists all available options. Examples of things I want to set are: Instance Type Security Groups Load Balancer settings…
3
votes
2 answers

AWS EB .ebextensions - Contains invalid key

I have the following config file: packages: yum: at: [] 01_remove_old_cron_jobs: command: "sudo cp enable_mod_pagespeed.conf /etc/httpd/conf.d" 02_remove_old_cron_jobs: command: "sudo rpm -U -iv --replacepkgs…
dojogeorge
  • 1,674
  • 3
  • 25
  • 35
3
votes
2 answers

AWS .ebextension scripts not executing

I have a powershell script in the .ebextensions folder but its not executing. It used to work but suddenly has stopped working and there have been no changes to elastic beanstalk or the scripts that i know off. I have two instance running under…
3
votes
0 answers

set cache control headers for nginx static assets on aws elastic beanstalk

I've got a node express app running on AWS EB. I'm serving static assets via nginx rather than via the express and want to set the cache control headers. I think the answer lies in extending the nginx configuration via an ebextension file but the…
3
votes
0 answers

Changing instance profile on elastic beanstalk

I have an elastic beanstalk running with the default instance profile aws-elasticbeanstalk-ec2-role. The application uses private SSH keys to access external resources during installation, which means I am using an .ebextensions config file to copy…
JHH
  • 8,567
  • 8
  • 47
  • 91
3
votes
1 answer

Read environment properties from Elastic Beanstalk in .ebextensions

I've set some properties with their values in Elastic Beanstalk on Amazon. An example is: I have a .NET application which I will deploy on an EC2 Windows server with IIS. The .NET project contains an .ebextensions folder in which we include .config…
lvthillo
  • 28,263
  • 13
  • 94
  • 127
3
votes
1 answer

How to package ebextentions to Elastic Beanstalk with a .NET Core app?

I've made a really simple .NET Core app and deployed it to Elastic Beanstalk under IIS/Windows platform. This is the layout of the bundle I am uploading to AWS. foo.zip aws-windows-deployment-manifest.json site.zip foo.dll …
3
votes
1 answer

AWS ElasticBeanstalk .ebextensions not being executed

I am trying to get a few things completed post deploy on AWS EB. I have added my .ebextensions to the git repository and I only have one file 01_container_commands.config, it does not appear to run when I tail the /var/log/eb-activity.log At one…
3
votes
0 answers

ebextensions RDS Provisioning does not set Environment Variables

So i have a python application running on elastic beanstalk. I am using ebextensions to handle a lot of the environment configuration as well as resource provisioning such as a database. In ebextensions i have: +-- .ebextensions +-- db.config (The…
3
votes
1 answer

Elastic Beanstalk: Container Command not copying file

so I have the following .config in my .ebextensions direcory. It's a tomcat8 environment: container_commands: replace-web_xml: command: cp .ebextensions/web.xml /etc/tomcat8/web.xml replace-config: command: cp…
3
votes
0 answers

.ebextensions not executing not uploading and creating files

I am trying to follow these instructions to force SSL on AWS Beanstalk. I believe this is the important part. files: "/tmp/45_nginx_https_rw.sh": owner: root group: root mode: "000644" content: | #! /bin/bash …
user2517182
  • 1,241
  • 3
  • 15
  • 37
2
votes
2 answers

updating beanstalk elastic load balancer via ebextension

been trying to to apply an update of health check path from "/" to "/pogi" via elastic beanstalk ebextension however no changes happening using these approach: Resources: AWSEBLoadBalancer: Type: "AWS::ElasticLoadBalancing::LoadBalancer" …
Lagot
  • 639
  • 1
  • 9
  • 26
2
votes
1 answer

Directus deployment on Elastic Beanstalk

I cloned Directus 8 from github. I run it in my local server. It worked fine without any problems. Then I uploaded code to AWS Elastic Beanstalk (PHP, apache). but it showed 500 Internal Server Error. error log:…
majurageerthan
  • 2,169
  • 3
  • 17
  • 30
2
votes
1 answer

How to enable AWS Elastic Beanstalk health rule 'Ignore load balancer 4xx' through code?

The latest AWS Elastic Beanstalk (EB) console has, under each environment health configuration, a new option to ignore load balancer 4xx errors: This same option doesn't appear on the previous AWS console version, only on the latest. I'm trying to…
2
votes
1 answer

Validating HTTP_HOST headers for apache server using ebextensions

I have a Django app hosted on AWS. I use Elastic Beanstalk and use a .ebextensions/django.config file to input all my custom server side settings. I have ALLOWED_HOSTS set up so that if anybody tries to connect to my site from an invalid host header…
bones225
  • 1,488
  • 2
  • 13
  • 33
1 2
3
8 9