AWS – Update AMI through CF Template

Template – https://github.com/sangitaccount/AWS/blob/master/cfn-templates/AWS_AutoScale_ELB_Notification.template used to create single EC2 Instance with AutoScaling behind ELB.

AutoScale_Stack1

EC2 Instance provisioned ( take a note of AMI ).

AutoScale_AMI1.png

AutoScale_Auto1AutoScale_ELB1AutoScale_Ins1

Using the same Cloud Formation Template I’ve update the stack with new AMI

AutoScale_Stack2AutoScale_Stack3

I did take screenshots of instance changes ( it is keeping the old instance alive till the new instance is in to the action ).

AutoScale_Ins2AutoScale_Ins3AutoScale_Ins4

AutoScale_NewInstance.PNG

Load Balancer and AutoScale configuration Status

AutoScale_Auto2AutoScale_ELB2

Advertisements

One thought on “AWS – Update AMI through CF Template

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s