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

EC2 hourly usage alarm
New domain on aws elastic beanstalk
How can i use wildcards in EC2 commands
The specified key does not exist - While copying S3 object from one bucket to another
Can inotifywait be used with a mounted S3 bucket?
Why can't I connect to AWS using awscli?
AWS EBS references
Cloud Foundry router cannot find api.xx.xxxx.com/info (AWS)
Queue with multiple columns?
Is there a way I can add DEFAULT cache control to a bucket in S3?
AWS datapipeline success based triggering
Amazon S3 Lifecycle rules Prefix to move files to Glacier with certain naming convention
How to link developer authenticated user across devices in Cognito
Does many AWS OpsWorks apps = many stacks? What about shared resources
LAMP not working on ec2 server?
Issue to deploy a wordpress website through ElasticBeanstalk

Categories

HOME
flask
matrix
verification
clearcase
key
openlayers-3
fedora
javafx-8
firebase-database
polymer-2.x
port
sap-fiori
powermock
nest-api
pinterest
salt-cloud
renderscript
nullreferenceexception
fido-u2f
gollum-wiki
connection-refused
eclipse-emf
firemonkey-style
data-collection
window-managers
annotation-processing
sparkle
osx-lion
serversocket
orchardcms-1.8
code-rally
fastlane
elastica
imgur
grunt-contrib-watch
game-center
system-on-chip
fiware-wirecloud
1wire
zend-form
nuclio
brightscript
sonicmq
android-sharing
simple-schema
nslayoutconstraint
connect-direct
kendo-editor
perl-data-structures
mathjs
livecycle
nunit-console
sharepoint-apps
persistent-object-store
voronoi
pack
ajax4jsf
ui4j
outlook.com
godeps
juniper-network-connect
calcite
swagger-maven-plugin
karma-coverage
adhoc-polymorphism
wicket-1.5
multivariate-testing
principalcontext
proxy-server
quickgraph
ckeditor.net
java.lang.class
gwt-celltable
radscheduler
mysqli-multi-query
xap
ning
synthesizer

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