Questions tagged [ebextensions]

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

131 questions
0
votes
0 answers

ebextensions not working in AWS Elasticbeanstalk

When deploying in elasticbeanstalk, I am trying to execute a script through an ebextension file. The log says that the script was executed normally, but it doesn't seem to be applied. The exact content of the script is a script that sends logs from…
0
votes
1 answer

Check which ebextensions have been run

I have an environment in Amazon Elastic Beanstalk that is proving problematic. I'm trying to check which ebextensions have run because there is an oddity where I see a logrotate conf file created but the contents are not what I've written. Does…
0
votes
1 answer

Adding to ngnix configuration using .ebextensions

I'm trying to add two simple things to nginx.conf which work fine until I deploy a new version on ELB, which is expected, so I know I need to use .ebextensions to do this but I either get an error saying "null values are not allowed in templates" or…
0
votes
0 answers

How to configure ElasticBeanstalk container command into .ebextensions

I have deployed my react SSR app to ElasticBeanstalk, before running npm start there should be command to run "npm run-script build" to make a build, but unfortunately npm start is running and app crashes due to no code build found on server, I…
Amit Shakya
  • 962
  • 3
  • 16
  • 30
0
votes
1 answer

AWS EB with supervisor running messenger:consume, how to provide env vars safely

I am running a Symfony 4.4 web application on AWS Elastic Beanstalk. I have a very large PDF generating routine I have passed off to Symfony messenger. Working localy (Ubuntu 18.04) running bin/console messenger:consume works great. It also works…
0
votes
2 answers

.war file is not deployed in the Elastic Beanstalk environment

I'm deploying .war file with .ebextensions in EB environment using Jenkins pipeline. The deployment is succeeded and all the commands are executed in at the deployment stage, but when I check the /usr/share/tomcat8/webapps/ROOT/ I only see my .war…
0
votes
1 answer

Elastic Beanstalk instances not being attached to custom load balancer

I have an Elastic Beanstalk instance with the following .ebextensions config file to setup a custom load balancer. Resources: ApiLoadBalancer: Type: AWS::ElasticLoadBalancing::LoadBalancer Properties: ConnectionSettings: …
0
votes
0 answers

Debugging a PowerShell script in .ebextensions

I'm trying to follow the instructions on https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/SSLNET.SingleInstance.html to install a self-signed certificate on an Elastic Beanstalk dev instance. That is, I have (in addition to other…
0
votes
1 answer

Elastic Beanstalk Extensions: When does a command complete?

I have an AWS Elastic Beanstalk setup with some .ebextensions files with some container_commands in them. One of those commands is a script. The script completes, but the next command doesn't run. $ pstree -p | grep cfn- …
dspeyer
  • 2,904
  • 1
  • 18
  • 24
0
votes
1 answer

Add private IP address as JVM option in ebextension

I'm running Tomcat in AWS elastic beanstalk. I need to add a JVM option that includes the private IP address of whatever EC2 instance the code is running on. I need to add this property to enable JMX: -Djava.rmi.server.hostname=1.2.3.4 I've tried…
0
votes
1 answer

AWS Elastic Beanstalk .ebestensions/nginx/nginx.conf not overriding AWS' default nginx.conf

I have an AWS environment and I'm trying to override the nginx.conf that is used. According to their documentation, this can be done by including your own file at .ebextensions/nginx/nginx.conf To override Elastic Beanstalk's default nginx…
0
votes
1 answer

Deploying ebextensions on Elastic beanstalk and EC2

recently i am having a timeout issue while using my application deployed to Elastic Beanstalk and EC2. Initially, the error was 504 after 60 seconds, and upon reading some forums/discussions, i changed the EC2 load balancer idle time to 600 seconds.…
0
votes
1 answer

Amazon Elastic Beanstalk ebextension

I want to config the nginx config with the ebextension at Amazon Elastic Beanstalk, The content of the conf as below: files: "/etc/nginx/conf.d/custom-nginx-proxy.conf" : mode: "000755" owner: "root" group: "root" …
0
votes
1 answer

Invalid YAML ebextensions

I'm trying to deploy an app version to elastic beanstalk but my config file formatting is incorrect. There's a lot of escaped quotes so I don't think this is correct but I'm not sure how to resolve it. This is the line that's causing issues; …
0
votes
1 answer

Creating WaitConditionHandle using .ebextensions

I'm trying to create a WaitConditionHandle during the ElasticBeanstalk application deployment using AWS Elastic Beanstalk configuration files (.ebextensions). The configuration file is in yaml and below is the content, created following…
1 2 3
8
9