ebextensions

AWS EB + nginx: Update access.log format to obfuscate sensitive get request parameters

余生颓废 提交于 2019-12-08 06:24:28
问题 I am having the same issue as outlined in this question: How to not log a get request parameter in the nginx access logs? However, since nginx is configured through AWS, I am not sure how to modify this when I deploy. It is not clear to me where these configurations go. AWS support is not able to help, as it is an issue with nginx rather than AWS. Any information to point me in the right direction would be appreciated. So far all I have is that I can modify ./ebextensions/nginx.config in my

Clean way of adding .ebextensions to Spring Boot Jar using Gradle

半腔热情 提交于 2019-12-07 01:37:01
问题 Is there a clean way of adding additional root folders to a Spring Boot Jar file generated using the default bootRepackage. In my case I need the .ebextenions folder for AWS beanstalk. I know I can hack it -- for example add another task after bootRepackage to unzip, repackage (again), and re-zip. Is there a cleaner way ? Thanks .. the 2 ways that I've tried (that don't work) : jar { from('src/main/ebextensions') { into('ebextensions') } } bootRepackage { from('src/main/ebextensions') { into(

How to Install PHP IMAP Extension on AWS Elastic Beanstalk Using Configuration Files (.ebextensions)?

北慕城南 提交于 2019-12-06 05:26:37
问题 Does anyone know how to install and enable PHP IMAP Extension on AWS Elastic Beanstalk using configuration files (.ebextensions)? I'm using 64bit Amazon Linux 2017.03 v2.4.0 running PHP 7.0.16 I've tried several ways as follow: 1st Way I've tried using files in configuration file but it doesn't work, the configuration filename is phpini.config in .ebextensions directory with below setup: files: "/etc/php.d/phpimap.ini": mode: "000755" owner: root group: root content: | extension=imap.so The

Clean way of adding .ebextensions to Spring Boot Jar using Gradle

懵懂的女人 提交于 2019-12-05 04:38:47
Is there a clean way of adding additional root folders to a Spring Boot Jar file generated using the default bootRepackage. In my case I need the .ebextenions folder for AWS beanstalk. I know I can hack it -- for example add another task after bootRepackage to unzip, repackage (again), and re-zip. Is there a cleaner way ? Thanks .. the 2 ways that I've tried (that don't work) : jar { from('src/main/ebextensions') { into('ebextensions') } } bootRepackage { from('src/main/ebextensions') { into('ebextensions') } } I'm still working on deploying Spring Boot to EBS myself... I think the folder has

How to Install PHP IMAP Extension on AWS Elastic Beanstalk Using Configuration Files (.ebextensions)?

佐手、 提交于 2019-12-04 12:56:19
Does anyone know how to install and enable PHP IMAP Extension on AWS Elastic Beanstalk using configuration files (.ebextensions)? I'm using 64bit Amazon Linux 2017.03 v2.4.0 running PHP 7.0.16 I've tried several ways as follow: 1st Way I've tried using files in configuration file but it doesn't work, the configuration filename is phpini.config in .ebextensions directory with below setup: files: "/etc/php.d/phpimap.ini": mode: "000755" owner: root group: root content: | extension=imap.so The additional .ini files parsed into phpinfo() by displaying /etc/php-7.0.d/phpimap.ini but the IMAP won't

Elastic beanstalk require python 3.5

南楼画角 提交于 2019-12-04 12:47:31
I recently created a new python program using the latest stable release of python (3.5). Unfortunately, AWS EB does not provide a 3.5 base image. I have been trying to configure .ebextensions to get the image to upgrade the python distro as it's first action. I have not had success. I have tried the following: Packages packages: yum: postgresql93-devel: [] python35: [] Commands container_commands: 01_install_packages: command: 'yum install -y python35 python35-pip' In the case of container_commands , the log did show python 35 successfully installing. However, our code (in a follow-up command)

Env Variable in .ebextensions “files:” section

自闭症网瘾萝莉.ら 提交于 2019-12-03 13:21:06
问题 I defined an environment variable called MY_ENVIRONMENT_VARIABLE in AWS Elastic Beanstalk's Software Configuration tab. Now I would like to use this environment variable in the "files:" section of a .ebextensions config file. Resources: AWSEBAutoScalingGroup: Metadata: AWS::CloudFormation::Authentication: S3Auth: type: S3 buckets: arn:aws:s3:::SomeS3Bucket roleName: aws-elasticbeanstalk-ec2-role files: "/tmp/application.properties" : mode: "000644" owner: root group: root source: { "Ref" :

Env Variable in .ebextensions “files:” section

旧巷老猫 提交于 2019-12-03 02:41:15
I defined an environment variable called MY_ENVIRONMENT_VARIABLE in AWS Elastic Beanstalk's Software Configuration tab. Now I would like to use this environment variable in the "files:" section of a .ebextensions config file. Resources: AWSEBAutoScalingGroup: Metadata: AWS::CloudFormation::Authentication: S3Auth: type: S3 buckets: arn:aws:s3:::SomeS3Bucket roleName: aws-elasticbeanstalk-ec2-role files: "/tmp/application.properties" : mode: "000644" owner: root group: root source: { "Ref" : "MY_ENVIRONMENT_VARIABLE" } authentication: S3Auth container_commands: 01-apply-configuration: command:

Setting up SSH keys for github private repo access on Elastic Beanstalk

风格不统一 提交于 2019-11-30 12:18:55
问题 My Node.JS project contains references to private NPM repos hosted on github. This works fine locally, but I'm struggling to get this working on Elastic Beanstalk. dependencies: { ... "express": "^4.12.4", "jsonwebtoken": "^5.0.5", "my-private-module": "git@github.com:<my-user>/<my-repo>.git#<my-version>", ... } - What I need is to be able to set up a working SSH configuration for git on my Elastic Beanstalk instances, without having to store secret keys etc in source control. Obviously, the

Setting up SSH keys for github private repo access on Elastic Beanstalk

↘锁芯ラ 提交于 2019-11-30 02:27:34
My Node.JS project contains references to private NPM repos hosted on github. This works fine locally, but I'm struggling to get this working on Elastic Beanstalk. dependencies: { ... "express": "^4.12.4", "jsonwebtoken": "^5.0.5", "my-private-module": "git@github.com:<my-user>/<my-repo>.git#<my-version>", ... } - What I need is to be able to set up a working SSH configuration for git on my Elastic Beanstalk instances, without having to store secret keys etc in source control. Obviously, the EB instances do not have the needed SSH keys to access my private github repos. If I use HTTPS style