The page has been translated by Gen AI.
Manage Change Sets
Users can review stack changes in advance using a change set and apply them at the desired time.
Create a change set
You can generate a change set to analyze the changes to be applied to the stack. To create a change set, follow these steps.
- All Services > Management > Infrastructure Builder Click the menu. Go to the Service Home page.
- On the Service Home page, click the Stack > Stack List menu. Go to the Stack List page.
- On the Stack List page, click the stack you want to change. Stack Details navigate to the page.
- On the Stack Details page, click the Create Change Set button. Go to the Create Change Set page.
- On the Stack List page, you can also select Create Change Set from the stack’s more options (⋮) menu.
- In the Enter Basic Information step, after entering the basic information of the change set, click the Next button.
Category Detailed description Change set name Enter a name to identify the change set - Enter using English letters, numbers, and special characters (-) with a length of 1-128 characters
Template replacement Select a template to compare - Use existing template: Use the current stack’s template as is and only change the parameters
- Change template: Specify a new template
How to select a template Select a method to specify the template when changing the template - Object Storage URL: Enter the storage bucket URL
- Select file: Upload template file
Explanation Enter description for the change set - Maximum 50 characters
tag Enter tags to apply to the change set - up to 50
- The configured tags are propagated to resources created by the stack, and managed tags are added
Table. Change Set Basic Information Items - Parameter Setting step, after entering the values of the parameters defined in the template, click the Next button.
- Parameters are supported up to a maximum of 200.
- If the template includes creating IAM resources, you must agree to the Approve creation of IAM resources in Infrastructure Builder item to proceed to the next step.
- After setting the options in the Stack option configuration step, click the Next button.
Category Detailed description Permission Select the IAM role to use when executing the change set - Use existing role: Use the previously specified role (default)
- Change IAM role: Select a different IAM role
- If no IAM role is selected, the operation will be performed using delegated user permissions
Create a change set for a nested set Choose whether to generate a change set for all nested stacks specified in the template - Enable/Disable
Table. Change set stack option items- You cannot modify the stack policy when creating a change set.
- In the Notification Settings step, after selecting the notification group, click the Next button.
- You can select up to 10 notification groups.
- The selected notification group can change its status (Active/Inactive).
- If there are no notification groups to add, create a notification group on the notification group creation page before proceeding.
- In the Check Input Information step, after confirming the entered content, click the Generate button. The change analysis is starting.
- Creating a change set does not affect the stack. You can decide whether to execute after reviewing the change set.
- When the analysis is complete, the change set’s status changes to Create Completed.
Reference
- If there are no changes, the change set creation fails and the status is displayed as Create Failed.
- If there are many nested stacks or they are deeply configured, generating the change set can take several minutes to tens of minutes. Use Create change set for nested set only when you need to verify changes up to the nested stack.
View change set list
You can view the list of change sets created in the stack and the change set that was last executed. To view the list of change sets, follow the steps below.
- Click the All Services > Management > Infrastructure Builder menu. Service Home page is accessed.
- On the Service Home page, click the Stack > Stack List menu. Navigate to the Stack List page.
- On the Stack List page, click the stack. Navigate to the Stack Details page.
- On the Stack Details page, click the Change Set tab.
- Check the last executed change set.
Category Detailed description Change set name The name of the most recently executed change set - clicking it will navigate to the detail page of that change set
Execution time The time when the change set was executed Table. Last executed change set items - Check the list of change sets.
Category Detailed description Change set name Name of the change set Creation date and time Time when the change set was created Change set status Status of the change set Root change set name Name of the top-level change set in a nested structure Parent Change Set Name Name of the parent change set in a nested structure Table. Change set list items- You can search by change set name. Detailed Search allows you to specify conditions by change set name, creation date and time, and change set status.
- You can retrieve only the change sets with statuses Active(Completed), Active(Failed), Active(Pending), Active(In progress), and Deleted using the status filter. The default is a state that excludes Deleted.
Review changes
You can review how resources will be changed before executing the change set. To review the changes, follow the steps below.
- All Services > Management > Infrastructure Builder Click the menu. Navigate to the Service Home page.
- On the Service Home page, click the Stack > Stack List menu. Go to the Stack List page.
- On the Stack List page, click the stack. Navigate to the Stack Details page.
- On the Stack Details page, click the Change Set tab and then click the change set you want to review. Navigate to the Change Set Details page.
- Change Set Details page, select a tab to review the changes.
Category Detailed description Detailed information View basic information of the change set - Service, resource type, SRN, resource name, resource ID
- Creator, creation timestamp, modifier, modification timestamp
- Change set name, change set ID, change set status reason, description
- The change set status and change set execution status are displayed at the top of the page
Resource change View changes applied to the template’s resources by resource - Logical ID, Action, Service, Resource Type, Replacement status, Nested change set, Policy Action, Physical ID
- Search by Logical ID and Physical ID, and specify conditions in advanced search using Action, Service, Resource Type, Replacement status, and Policy Action
- Check resource changes button, when clicked, compares the expected and current values of the resource in a popup
- Actions are categorized into the following three
- Add: Add a new resource to the stack
- Modify: Change the properties of an existing resource
- Remove: Delete an existing resource from the stack
Deployment verification Verify the results to confirm whether it is structurally deployable - Display a success message when all validations pass
- If there are issues, display the logical ID, service, resource type, validation type, mode (Warn/Fail), and reason in a table, and view the full details by expanding the reason
- For more details on deployment validation, see 배포 검증
Input information Verify information passed to the change set - Parameters: Key, Value, interpreted value (searchable by Key and Value)
- Tags: Key, Value
- Alert Group: alert group name, user, external recipient, creation time, status
template Check the template code used for executing the change set - Click Copy code to copy the code
Changes Check resource changes in code - Click Copy code to copy the code
Table. Change Set Details Tab Items
Caution
Resources determined as Replace(Replace) are deleted and recreated, so their physical IDs change, which may cause data loss or service interruption. Before executing, be sure to verify the resources to be replaced and perform a backup if necessary.
Run Change Set
You can run the reviewed change set to apply the changes to the stack. To run the change set, follow the steps below.
- All Services > Management > Infrastructure Builder Click the menu. Navigate to the Service Home page.
- On the Service Home page, click the Stack > Stack List menu. Stack List navigate to the page.
- On the Stack List page, click the stack. Navigate to the Stack Details page.
- On the Stack Details page, click the Change Set tab and then click the change set to execute. Navigate to the Change Set Details page.
- On the Change Set Details page, click the Execute Change Set button. Execute Change Set the popup opens.
- Stack Details page’s Change Set tab also allows you to select Execute Change Set from the change set’s more options (⋮) menu.
- Select the handling method for provisioning failures.
Category Detailed description Action on provisioning failure Select rollback behavior for stack failure - All stack resources rollback: Roll back to the state before the stack execution
- Preserve successfully created resources: Preserve resources that were provisioned successfully and roll back resources that failed to create to their last state
Delete newly created resources during rollback Specify whether to delete resources created during a failed operation regardless of the deletion policy - Use deletion policy: Retain or delete the created resources according to the deletion policy set in the template
- Delete all newly created resources: Delete resources created during rollback regardless of the deletion policy set in the template
- Provisioning failure action > Preserve successfully created resources: Selecting this does not delete successful resources, so the option has no effect
Table. Change Set Execution Option Items - Click the Confirm button. The change set execution starts, and upon completion you can check the results in the notification at the top right of the screen.
- The implementation progress can be checked on the Stack Details page’s Events tab.
Delete change set
You can delete change sets that will not be executed. To delete a change set, follow the steps below.
- Click the All Services > Management > Infrastructure Builder menu. Navigate to the Service Home page.
- On the Service Home page, click the Stack > Stack List menu. Navigate to the Stack List page.
- On the Stack List page, click the stack. Navigate to the Stack Details page.
- On the Stack Details page, after clicking the Change Set tab, select Delete Change Set from the more options (⋮) menu of the change set you want to delete. The confirmation popup opens.
- On the Change Set Details page, you can also click the Delete Change Set button.
- After confirming the change set to delete, enter the change set name for confirmation and click the Confirm button.
- You must enter a change set name for the Confirm button to be enabled.
- Depending on the size, deletion may take several minutes.
Reference
Deleting a change set does not affect the stack or the resources managed by the stack. The change set is the result of analyzing the changes, and if it is not executed, it will not be reflected in the resources.