Questions tagged [ebextensions]

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

131 questions
0
votes
1 answer

How to change permissions of /etc/httpd/conf/httpd.conf of Ec2 while copying httpd.conf from .ebextensions?

I have .ebextensions directory in the top of the war file. .ebextensions has 01movehttpd.config and httpd directory. Insider httpd is httpd.conf. In the config file, I have #files: # yada yada yada container_commands: 00_rewrite: command: cp -f…
Spandana Krishnan
  • 193
  • 2
  • 3
  • 16
0
votes
1 answer

Automating Certificates Installation automatically using config files in .ebextensions on AWS

My Application is deployed on ElasticBeanStalk on AWS. It is accessing an API that needs SSL certificate to be installed on the instance. I have to manually run the keytool command to import the certificate file every time the instance rebuilds. And…
romil gaurav
  • 1,121
  • 11
  • 23
  • 43
0
votes
1 answer

(AWS) Security implications of adding an exclusion for user:wsgi in sudoers

While setting up a script to convert documents to PDF using libreoffice on AWS, I can't get libreoffice to --convert-to pdfwithout sudo as perhaps the user wsgi does not have write permissions to the /opt/python/current/app directory. So I plan to…
Pranab
  • 2,207
  • 5
  • 30
  • 50
0
votes
1 answer

Node JS - Elastic Beanstalk AWS - allow write access

I have a NodeJS application i am deploying to AWS Elastic Beanstalk, which needs to be able to write to some JSON files which is in the applications directories. This is currently working locally but not when i deploy to AWS because clearly write…
user2058234
  • 126
  • 1
  • 13
0
votes
1 answer

AWS error while parsing .config YAML file in .ebextension

When deploying to Elasticbeanstalk, my deploy fails with a parsing error caused by a .config file i have in the .ebextension folder, but it seems ok to me. Anyone can tell me how to fix it? The .config file looks like this: files: …
0
votes
1 answer

Too many rake processes spawning on AWS Beanstalk rails application

I'm deploying a Ruby on Rails application on AWS Beanstalk. The application also needs a sidekiq process for background jobs. There's also a sneakers process running to listen on messages from a RabbitMQ instance. I created an upstart process for…
0
votes
1 answer

Checking services on AWS EC2 in .ebextension

I am deploying an app to AWS EC2 instance and I am using a config file in the .ebextensions folder to execute a bash script. In the script I am detecting if a particular service is running, if it's not running, install the package using…
Steven Yong
  • 5,163
  • 6
  • 35
  • 56
0
votes
1 answer

Elastic Beanstalk - Configure the load balancer to redirect HTTP to HTTPS

I've been struggling and googling this issue for a while and although it seems to me like a pretty standard requirement I couldn't find a working solution anywhere. I don't want to disable HTTP, only redirect it to HTTPS. Not between the load…
0
votes
1 answer

AWS Elastic Beanstalk ebextension not executing shell script to use npm install

I need to install a separate framework that I created inside my node js application running on elastic beanstalk. I have tried putting scripts inside my main package.json file but I get permission errors when it installs. So I created a config file…
0
votes
1 answer

Run statsd as a daemon on EC2 instances programatically

EDIT: My goal is to be able to emit metrics from my spring-boot application and have them sent to a Graphite server. For that I am trying to set up statsd. If you can suggest a cleaner approach, that would be better. I have a Beanstalk application…
Nik
  • 5,515
  • 14
  • 49
  • 75
-1
votes
1 answer

Elastic Beanstalk .ebextensions config file don't make file

Platform: java8(not tomcat, because I use spring-boot, so I use embedded tomcat) so I zipped by below command zip -r app.zip app.jar .ebextensions .ebextensions contain test.config file. files: "/etc/nginx/conf.d/test.conf": mode: "000644" …
1 2 3
8
9