amazon-web-services


Prevent AWS CodeDeploy from adding a lifecycle hook to an Auto-scaling group when creating a deployment group?


Recent functionality added to AWS CodeDeploy causes it to add a lifecycle hook to an Auto-scaling group whenever that Auto-scaling group has been targeted by a new deployment group. The lifecycle hook causes a deployment to be triggered whenever a new instance is spun up by the ASG. I don't want this lifecycle hook to be created, but there doesn't seem to be any way that I can see to prevent it from being created automatically. I can always go in and delete the lifecycle hook after the fact, but it would be great if I could just prevent it from being created in the first place. How can I preempt the lifecycle hook?
Since you are not interested in the ASG lifecycle events, change your codedeploy's deployment group configuration to an ELB or just EC2 instance tags to which you want to deploy instead of specifying an ASG.
This should solve your problem, but not recommended.

Related Links

r3.xlarge vs t2 Instance
Can we create local Docker IoT containers for a SMACK-like environment with DC/OS and push them to our AWS VPC - if so, how?
Monitoring services of EC2 Windows instance using AWS CloudWatch
Error creating Key Pair: You are not authorized to perform this operation
DynamoDB regularly recieve error: “The AWS Access Key Id needs a subscription for the service”
error while reading data from redshift in spark scala
Log monitoring setup options in AWS
Running docker-compose with Rancher OS
How to send standard output (like echo) to S3 file
AWS: Security Group to allow access internet-facing Load balancer to be accessed from private instances
AWS X-ray open 'AWSXRay.log' at Error
Unable to map a list of numbers in API-Gateway
Using Amazon's affiliate API for autocompletion with SearchIndex (Category)
Redshift: insert column C1 of table T1 into column C2 of Table T2
How do I get RDS instance id for an Elastic Beanstalk environment?
Rolling deployment of Play Framework webapp on AWS ECS

Categories

HOME
hpoo
opengl
protocol-buffers
barcode-scanner
kendo-dropdown
workflow
concurrency
embedded-resource
linker
mithril.js
swarm
spring-security-oauth2
sslhandshakeexception
freertos
google-sites
robolectric
salt-cloud
clr
cmake-gui
activeadmin
rxjs5
python-appium
tf-idf
adapter
sales
javax.persistence
region
gnu-classpath
autoencoder
rails-postgresql
cups
landscape
assertions
sspi
game-center
resampling
word-cloud
xcode8.2
destroy
common-table-expression
directwrite
roracle
brightscript
deedle
sidewaffle
prefetch
ternary-operator
dmarc
bbc-micro
qpixmap
fdt
ibm-was
opencyc
nette
dnx50
apple
embeddedwebserver
unidata
nhibernate-criteria
uno
cakephp-2.2
vs-unit-testing-framework
window-resize
lmax
communicate
nodeload
spring-social-linkedin
vlab
hints
objective-c-runtime
itunes-sdk
handshake
simplecov
jquery-dialog
story
zend-pdf
live-wallpaper
telerik-ajax
pcspim
mmc3
turbine
aptitude
mygeneration
odac
icicles
stretchblt
comment-conventions

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App