What is instance pr...
 
Notifications
Clear all

What is instance procedure to launch/terminate while we stack update for instance type.

3 Posts
3 Users
0 Likes
1,959 Views
devender
(@devender)
New Member
Joined: 4 years ago
Posts: 2
Topic starter  

What is instance procedure to launch/terminate while we stack update for instance type.


   
Quote
Topic Tags
AWS
mayur
(@mayur)
Active Member
Joined: 4 years ago
Posts: 5
 

Before updating instance type through cloudformation first you need to create Change set.

Refer: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stacks-changesets.html  

In the review section you will see whether instance is going to replace or not. If we change instance type it terminates old instance and creates new instance so its good to take snapshot of root EBS volume before proceeding.


   
ReplyQuote
amrit_3327
(@amrit_3327)
Trusted Member
Joined: 4 years ago
Posts: 65
 
Posted by: @mayur

Before updating instance type through cloudformation first you need to create Change set.

Refer: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stacks-changesets.html  

In the review section you will see whether instance is going to replace or not. If we change instance type it terminates old instance and creates new instance so its good to take snapshot of root EBS volume before proceeding.

What will  be happening if i am updating stack with multiple node ? Will i take ebs snapshot of every instance. If we taking ebs snapshot then we have not design the application stack according to cloud best practices. There should be no persistent website data if we are working with apache or http. It should be coming though code deploy or another other deployment tool.


   
ReplyQuote
Share: