In this repo, you will find a sample CloudFormation template and a step-by-step guide to upgrade infrastructure over the fly without interruption with ‘change set’ and ‘value update’ principles provided by AWS.
In this repo, you will learn how to create CloudFormation template code with change set principles and implement changes in a running infrastructure stack without interruption.
Steps:-
original stack:-
Step 1: Take resource1.yaml or modify as per your requirements.
Step 2: Create a new stack and upload a template to the stack.
Step 3: Run the stack
Chnage set:-
Step 1: Create a change set in cloudformation.
Step 2: Open the original template and insert a resource.
Step 3: Replace the current template.
Step4:- Submit
How to run the CFT template in cloudformation?
Run Step:-
1. Go to the AWS Cloud Formarion
2. Create a Stack
3. Upload template
4. Run the stack
Click here For the change set code
In this repo, you will learn how to create CloudFormation template code with value update principles and implement changes in a running infrastructure stack without interruption.
original stack:-
step1:- Take a values.yaml or you can modify as per your requirement.
Step2:- Create a new stack.
Step3:- upload a template in stack.
Step3:- Run the stack.
Value update:-
step1:- Take a exiting runnig template.
Step2:- changes and take no interruption value as per values.
Step3:- Click on update stack.
Step4:- Take an updated stack and upload in cloudformation.
Step5:- Submit the stack.
values:-
AllocatedStorage :- No Interruption
AvailabilityZones :- Replacement
DatabaseName :- Replacement
DBClusterInstanceClass:- No Interruption
DeletionProtection :- No Interruption
How to run CFT template in cloudformation?
Run Step:-
-
Go to the AWS Cloud Formarion
-
Create a Stack
-
Upload template
-
Run the stack