eb_deployer | AWS Elastic Beanstalk blue-green deployment automation | Continuous Deployment library
kandi X-RAY | eb_deployer Summary
kandi X-RAY | eb_deployer Summary
AWS Elastic Beanstalk blue-green deployment automation from ThoughtWorks Mingle Team
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of eb_deployer
eb_deployer Key Features
eb_deployer Examples and Code Snippets
Community Discussions
Trending Discussions on eb_deployer
QUESTION
I just followed this tutorial to learn how to use eb
command.
One thing I want to do is to modify the Health Check Type
of the auto scaling group created by Elastic-Beanstalk to ELB
. But I just can't find how to do it.
Here's what I have done:
Change the
Health Check Type
of the environmentdev-env
toELB
through the AWS console.Use
eb config save dev-env --cfg my-configuration
to save the configuration file locally.The
ELB
health check type doesn't appear inside.elasticbeanstalk/saved_configs/my-configuration.cfg.yml
file. This means that I must specify the health check type somewhere else.
Then I find another article saying that you can put the health check type inside .ebextensions
folder.
So I make a modification to eb-python-flask, which is the example of the tutorial.
Here's my modification of eb-python-flask.
I thought that running eb config put prod
, and eb create prod2-env --cfg prod
with my eb-python-flask would create an environment whose health-check-type of the auto scaling group is ELB
. But I was wrong. The health check type created by the eb
commands is still EC2
.
Anyone know how to set the health check type programmatically?
I don't want to set it through AWS console. It's inconvenient.
...ANSWER
Answered 2018-Sep-17 at 12:45An ebextension like the below will do it:
Resources:
AWSEBAutoScalingGroup:
Type: "AWS::AutoScaling::AutoScalingGroup"
Properties:
HealthCheckType: ELB
HealthCheckGracePeriod: 300
I use the path .ebextensions/autoscaling.config
QUESTION
We are using eb_deployer to deploy to Elastic Beanstalk and we would like to provision each node using .ebextensions and Ansible.
A package created for eb_deployer
looks something like this (simplified), it is assembled on the control node with Ansible:
ANSWER
Answered 2017-Jun-28 at 14:15It appears that one way to solve this issue is to launch temporary instance, configure it with Ansible running on the control machine only, create an image with ec2_ami
Ansible module, and use that image to configure custom image for autoscaling group.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install eb_deployer
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page