How-to guides
Users can define infrastructure as templates through the Infrastructure Builder, create stacks, and deploy and manage resources on the Samsung Cloud Platform.
- To create a stack, you must first have a template ready.
- Templates can be prepared in the following three ways.
- Create directly in the Console: Create Template If you create it there, it will be stored in Object Storage and the URL will be displayed. Create a stack using this URL.
- Object Storage URL: Enter the URL of the template file that was previously uploaded to Object Storage when creating the stack.
- File Upload: Attach the local template file when creating the stack.
- When using nested stacks, you must store the template in Object Storage and specify it by URL.
Create a stack
You can create a stack based on a template to deploy resources.
- To create a stack, you must first prepare a template.
- For detailed information on creating templates, see Template Management.
To create a stack, follow these steps.
- 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 Create Stack button. Navigate to the Create Stack page.
- In the Enter Service Information step, after entering the stack information, click the Next button.
Category Detailed description Stack name Enter a name to identify the stack - Enter using letters, numbers, and the special character (-) with a length of 1-128 characters
How to select a template Specify the template to be used by the stack - Object Storage URL: Enter the URL of the template file stored in Object Storage
- Select file: Attach the template file located locally
Storage bucket URL Enter the file URL of the Object Storage where the template is stored - If you select Object Storage URL as the template selection method, this field is required
- Input format:
https://object-store.private.{region}.{offering}.samsungsdscloud.com/{accountId}:{bucketName}/{path}/{fileName}
Upload template file Attach a template file located locally - If the template selection method is set to File Selection, this field is required
- Only files in JSON or YAML format can be attached
- File size must be 51,200 Bytes or less
- The uploaded template file is stored in Object Storage
tag Enter tags to add to the stack (up to 50) - The configured tags are propagated to resources created by the stack
- Managed tags from the stack are added together
Table. Stack creation service information input fieldsInformation- Template files can only use YAML or JSON format.
- The length of the path, including folder names, file names, and the separator (/), must be within 1,024 bytes (based on UTF-8 encoding).
- Enter Object Storage URL to verify the file type and format of the URL. If it is not correct, “Invalid URL format or extension.” An error is displayed: TEXT: (Only YAML, JSON allowed)
- When you click the Next button, it checks the existence of the URL, the validity of the user authentication key, and the validity of the template code (JSON/YAML format). If verification fails, an error message is displayed and you cannot proceed to the next step.
- If the code is invalid or the user authentication key is invalid when attaching a file, a notification popup is displayed and the upload does not occur.
- Since the attached template file is stored in an Object Storage bucket, the upload will fail if you do not have permission to create an Object Storage bucket. For detailed information, refer to the Template Storage Location.
- In the Parameter Settings step, after entering the values of the parameters defined in the template, click the Next button.
- Input fields are displayed according to the parameters defined in the template, and up to 200 parameters can be used.
- If the template includes a configuration that creates IAM resources, the Check resource permissions within the template area is displayed. Approve to allow Infrastructure Builder to create IAM resources. You must select an item for the Next button to become active.
Category Detailed description Static dropdown list Parameter with AllowedValues defined in the template - Select a value from the list
Text input field String parameter - Sensitive information with NoEcho enabled is displayed with the input value masked
Numeric control field Number (Number) parameter - Enter a value within the range of MinValue and MaxValue
Group Items grouped by parameter group - Items are separated and displayed by group unit
Table. Parameter input typeinformation- All required parameters must be entered and the input values must be valid for the Next button to be enabled.
- Both string and numeric parameters can be entered up to 4,096 bytes.
- If the input value does not meet the parameter constraints, an error message is displayed.
- Number: If no value, “This field is required.”, if below the minimum, “The number must be at least N.”, if above the maximum, “The number must be at most N.”
- String: If the value is missing, “This field is required.”, if shorter than the minimum length, “The length must be at least N characters.”, if it exceeds the maximum length, “The length must be at most N characters.”, if it does not match the allowed pattern (AllowedPattern), “It must match the specified pattern (regular expression).”
- If a ConstraintDescription is specified in the template, that text is displayed instead of error messages, except for required value errors.
- In the Stack option configuration step, after setting the stack’s permissions and failure options, click the Next button.
Category Detailed description Permission Select the permission to use when the stack creates resources - Use user permissions: Perform tasks by assuming the user’s permissions (default)
- Change IAM role: Perform tasks with the permissions of the selected IAM role
IAM role When IAM role change is selected, required selection - Roles available in the selected Account are displayed in ascending order by role name
- New creation: The screen for creating a new IAM role opens in a new window
- Refresh icon: Reflects the newly created IAM role in the list
Action on provisioning failure Select rollback behavior for stack failure - Rollback all stack resources: Roll back to the state before the stack was executed (default)
- Preserve successfully created resources: Preserve resources that were provisioned successfully and roll back failed resources 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: Keep or delete the created resources according to the deletion policy set in the template (default)
- 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
Stack policy Define resources to protect from unintended updates during stack updates - No stack policy: No additional input (default)
- Stack policy input: Enter the stack policy directly in JSON format
- File upload: Attach a stack policy file from the local system. Only files in JSON format can be attached, and the file name must be within 1,024 Bytes
- The size of a stack policy entered directly or attached must be 16,384 Bytes (16KB) or less
- Since the stack policy is stored in an Object Storage bucket, saving will fail if you lack permission to create the bucket
- A stack policy can only be set when creating a stack; after creation, a new stack policy cannot be set on the stack
- For more information on stack policies, see 스택 정책 reference
Stack creation timeout Stack creation timeout (minutes) input - Only numbers in the range of 1~180 minutes can be entered
- If the task does not finish within the specified time, it is treated as a failure
Delete protection Set to prevent stacks from being accidentally deleted - If you select use, stacks cannot be deleted when deletion protection is enabled
- Default is disabled
Table. Stack option configuration itemsinformationWhen creating a stack in the Console, if a user who has not obtained a user authentication key (Access Key/Secret Key) selects User Permission Use, the user token may expire after 12 hours of login, causing stack creation to fail.
If you anticipate that stack creation will take a long time, obtain a user authentication key or use IAM role change.
GuideIf the stack policy code is invalid, it is displayed as follows.
- Stack Policy Input: Next button when clicked displays the error “Code is not valid.”
- File Upload: When attaching a file, a notification popup appears and the file does not upload.
- In the Notification Settings step, select the notification group that will receive alerts for the stack, then click the Next button.
- The notification group is optional, and you can proceed to the next step even if you do not select it.
Category Detailed description Notification Group List Notification group name, user count, external recipient count, creation date/time - Clicking the user count shows the list of users included in that notification group
- You can search by entering the notification group name
Selected notification group The selected notification groups are displayed as chips above the list - Up to 10 can be selected
- Clicking the X icon on a chip deselects that notification group
- Click Deselect to deselect all selected notification groups
Create notification group If there is no notification group to add, click Create Notification Group - The Create Notification Group screen opens in a new tab
- After creating the notification group, click the refresh icon to update the list
Table. Notification Settings Itemsinformation- To add an external user as a notification recipient, first add the external recipient to the notification group, then select that notification group.
- The notification delivery method (E-mail or SMS) for users included in a notification group can be set by selecting the notification target Service > Infrastructure Builder Stack in the notification settings.
- Notifications to external recipients included in the notification group are sent only via E-mail.
- If there are no notification groups, the list will display “No data.”
- The notification group is optional, and you can proceed to the next step even if you do not select it.
- In the Check Input Information step, after confirming the information set in each stage, click the Generate button. The stack is created and resource deployment begins.
- The information entered during the service information input, parameter setting, stack option configuration, and notification setting stages is displayed step by step.
- Tags, parameters, and alert groups are displayed in a table, showing 10 items per page and providing pagination.
- If you apply a stack policy in the stack option configuration, clicking View Stack Policy will show the policy details in a popup. You can copy the content using Copy Code in the popup.
- To edit the content, click the Previous button to go back to that step.
- The deployment progress can be checked on the Stack Details page’s Events tab.
- When a stack is deleted, the resources included in the stack are deleted by default.
- However, if the deletion policy in the template is set to Retain, the resource will not be deleted.
- Configure resources with the same lifecycle into a single stack.
Check stack list
You can view the list of created stacks. To view the stack list, follow these steps.
- 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.
- Check the list of stacks on the Stack List page.
Category Detailed description Stack name Stack name - When the stack name is clicked, you can view the detailed information of that stack
- If it is a nested stack, an icon is displayed (hovering shows a ’nested stack’ indication)
Creation Date/Time Stack creation time (default sort: descending) Drift state Stack drift state status Current state of the stack Table. Stack list item- The stack ID can be displayed additionally in the column settings.
- Search the list or retrieve items that meet the criteria.
Category Detailed description search Search by stack name (case-insensitive) Detailed Search Specify stack name, drift status, and state as conditions - Multiple drift statuses and states can be selected
Status filter List by stack status group - Active(In Progress), Active(Completed), Active(Failed), Deleted
- The default is all statuses except Deleted
- When detailed search is applied, it becomes disabled; resetting the detailed search returns to the default
Table. Stack list query items
You can perform the following actions from the stack’s More (⋮) menu. The available actions vary depending on the stack’s state, and if an action cannot be selected, a tooltip appears when you hover the mouse.
| Menu | Explanation |
|---|---|
| Delete stack | Delete the stack and the resources it manages |
| Stack modification | Modify the stack template and parameters |
| Drift detection | Detect stack drift |
| Create change set | Generate a change set to review the stack’s changes. |
| Undo stack edit | Cancel ongoing stack modification (only possible in Updating state) |
| Continue update rollback | Retry the update rollback (only possible when in Update Rollback Failed state) |
- Refer to the Stack Status for the tasks that can be performed for each state.
- Stacks that have been deleted can be viewed by selecting Deleted in the status filter.
- Click the Create Template button to create a template. For more details, refer to Create Template.
View stack details
You can view detailed information about the stack and its deployed resources, and perform tasks such as modifying the stack or detecting drift. Stack Details page consists of Details, Events, Resources, Result Information, Parameters, Template, Change Set, Drift, Notifications tabs. Result Information and Parameter tabs display the total count in their names.
To view detailed information about the stack, follow these steps.
- All Services > Management > Infrastructure Builder Click the menu. Navigate to the Service Home page.
- Service Home on the page, click the Stack > Stack List menu. Navigate to the Stack List page.
- On the Stack List page, click the stack to view its details. Navigate to the Stack Details page.
- Stack Details At the top of the page, the stack status, drift status, and auxiliary function buttons are displayed, and you can select tabs to view information.
- Buttons that cannot be used in the current state are disabled, and hovering over them displays the reason they are unavailable.
Category Detailed description Stack status Current state of the stack Stack modification Modify the stack’s template and parameters, etc. - Available states: Create Failed, Create Completed, Update Completed, Update Failed, Update Rollback Completed
- Cannot be used in some states that are in progress or have failed
- Click to go to the stack edit screen
Create change set Create a change set to preview changes - Available statuses: Create Completed, Update Completed, Update Rollback Completed, Reviewing
- Click to go to the change set creation screen
Drift detection Start drift detection for resources managed by the stack - Available states: Create Completed, Delete Failed, Update Completed, Update Rollback Failed, Update Rollback Completed
- Cannot be used while in progress
- For more information, see Drift Detection
Read more Perform additional actions based on the state - Cancel stack modification: Available only in Updating state
- Continue update rollback: Available only in Update Rollback Failed state
Delete stack Delete Stack - Available states: Create Failed, Create Completed, Rollback Failed, Rollback Completed, Delete Failed, Update Completed, Update Failed, Update Rollback Failed, Update Rollback Completed, Reviewing
- Cannot delete while in progress
- For more details, see Delete Stack
Drift state Stack drift status - Drifted: One or more resources are drifted
- In sync: The actual configuration of the stack matches the expected configuration
- Not checked: Drift check not performed
- Unknown: Unable to perform drift check
- For all states except Not checked, the timestamp of the last drift check is displayed, and hovering over the timestamp shows a “Drift timestamp” tooltip
Table. Status information and additional features
To cancel a stack modification or continue an update rollback from the More menu on the Stack Details page, follow these steps.
- On the Stack Details page, click the More button.
- Please select Cancel stack modification or Continue update rollback. A confirmation popup window displaying the stack name opens.
- Cancel Stack Edit: “Do you want to cancel the stack edit?”
- Continue Update Rollback: “Do you want to roll back the update?”
- Click the Confirm button. “The stack modification has been canceled.” or “The update rollback has started.” message is displayed.
- Depending on the scale, it can take several tens of minutes, and you can view the completion result in the notification at the top right of the screen.
Detailed information
You can view the basic information and status of the stack.
| Category | Detailed description |
|---|---|
| service | Service name |
| Resource Type | Resource Type |
| SRN | Unique resource ID in Samsung Cloud Platform |
| Resource name | Resource Name |
| Resource ID | Unique resource ID in the service |
| Creator / Creation DateTime | User who created the stack and creation time |
| Editor / Modification Date and Time | User who last modified the stack and modification timestamp |
| Stack name / Stack ID | Stack name and unique ID |
| Detailed status | Additional status information of the stack
|
| Status Reason | Cause of the status
|
| Root stack / Parent stack | In a nested stack structure, the root stack and parent stack information |
| Deletion time | Stack deletion timestamp |
| Drift status / Drift check time | Stack drift status and the timestamp of the last drift check |
| Prevent deletion | Delete protection usage (enabled/disabled)
|
| IAM role | IAM role name used by the stack
|
| Explanation | Description of the stack |
| Stack policy | Whether stack policy is applied
|
| tag | Tag list (Key, Value)
|
event
You can check the events generated during stack creation, modification, and deletion to understand the progress and identify the cause of failures.
| Category | Detailed description |
|---|---|
| Request ID | ID of the request (task) where the event occurred
|
| Request date and time | Event occurrence time
|
| Logical ID | Logical ID of the resource where the event occurred |
| status | Resource processing status |
| Detailed status | Additional information about the status |
| Status Reason | Cause of the state occurrence
|
- You can search by request ID and logical ID (case-insensitive).
- The number of events currently loaded is displayed at the top of the list.
- Services, resource types, and similar items can be shown or hidden in the column settings. Request ID, request timestamp, logical ID, status, detailed status, and status reason are displayed by default.
Resource
You can view the list of resources deployed by the stack.
| Category | Detailed description |
|---|---|
| Logical ID | Logical ID of the resource defined in the template
|
| Physical ID | The actual ID of the deployed resource is displayed as
|
| service | Service to which the resource belongs |
| Resource Type | Resource type |
| Deployment status | Resource deployment status
|
You can search by logical ID and physical ID (case-insensitive). Detailed Search allows you to specify conditions by logical ID, physical ID, service, resource type, and deployment status. Logical IDs and physical IDs can be sorted by column header, and the columns to display can be selected in column settings.
Result information
You can view the values defined in the template’s result output (Outputs). The total number of results is also displayed in the tab name.
| Category | Detailed description |
|---|---|
| Key | Result output key
|
| Value | Result output value |
| description | Explanation of result output |
| Export name | Exported name for referencing from other stacks |
You can search by Key and Value (case-insensitive). Detailed Search allows you to specify conditions using Key, Value, and Export Name. Key and Value can be sorted by column header, and the columns to display can be selected in column settings.
Parameter
You can check the parameters passed to the stack. The total number of parameters is also displayed in the tab name.
| Category | Detailed description |
|---|---|
| Key | Parameter key
|
| Value | Value passed to the stack |
| Parsed value | Interpret references, etc., to derive the final applied value |
You can search by Key and Value (case-insensitive). Detailed Search allows you to specify conditions using Key and Value. Key and Value can be sorted by column header, and the columns to display can be selected in column settings.
template
You can view the template code used in the stack. When you click Copy Code, the template code is copied and a “The code has been copied.” message is displayed.
Change set
You can view the change set created for this stack. Change sets allow you to plan how to modify the stack before starting a stack update, and to review configuration changes before creating and executing a change set.
| Category | Detailed description |
|---|---|
| The most recently executed change set | The name and execution timestamp of the most recently executed change set
|
| Change Set Status Filter | Filter the change set list by status
|
| Change set name | Name of the change set
|
| Creation Date/Time | Date the change set was created
|
| Change set status | Status of the change set |
| Root change set name | Name of the top-level change set for nested structures |
| Parent change set name | Name of the parent change set for nested structures |
You can search by change set name (case-insensitive). Detailed Search allows you to specify conditions by change set name, creation date and time, and change set status. The Change Set ID can be selected for display in the column settings.
You can perform the following actions from the More (⋮) menu of a change set. If it is unavailable, a tooltip will appear when you hover the mouse.
| Menu | Explanation |
|---|---|
| Execute change set | Execute the change set to apply changes to the stack
|
| Delete change set | Delete change set
|
The change set status filter groups the actual change set statuses and provides them as follows.
| filter | Included change set status |
|---|---|
| Active(Completed) | Create Completed |
| Active(Failed) | Create Failed, Delete Failed |
| Active(Pending) | Create Pending, Delete Pending |
| Active(In progress) | Creating, Deleting |
| Deleted | Delete Completed |
For instructions on using buttons such as executing and deleting change sets, refer to Managing Change Sets’s Executing a Change Set and Deleting a Change Set.
Drift
You can view the stack’s drift detection results by resource.
| Category | Detailed description |
|---|---|
| Logical ID | Logical ID of the resource defined in the template
|
| Physical ID | The unique ID of the resource that was actually created |
| service | Service that the resource belongs to |
| Resource Type | Resource Types |
| Resource drift status | The drift status of the resource |
| Drift verification timestamp | Time when drift was detected |
| Drift Reason | Reason for drift occurrence |
You can search by logical ID and physical ID (case-insensitive). Detailed Search allows you to specify conditions by logical ID, physical ID, service, resource type, resource drift status, drift check timestamp, and drift reason. The columns to display can be selected in the column settings.
In the resource’s overflow (⋮) menu, you can select Resource Drift Details and Detect Resource Drift.
For instructions on using buttons such as checking drift details and detecting resource drift, refer to Check drift details and Detect resource drift.
Notification
You can view the notification groups set for the stack and enable or disable them.
| Category | Detailed description |
|---|---|
| Notification group name | The name of the notification group
|
| User | Number of users included in the notification group
|
| External recipient | Number of external recipients included in the notification group |
| Creation Date/Time | Date and time the notification group was created |
| status | Status of the notification group (Active, Inactive) |
| Read more | Enable: Activate a notification group that is in Inactive state Disable: Deactivate a notification group that is in Active state |
- If you select activation, a confirmation popup “Do you want to enable group notifications?” opens. When you click the Confirm button, a “Group notification activation was successful.” message is displayed.
- If you select Disable, a confirmation popup “Do you want to disable group notifications?” opens. When you click the Confirm button, a message saying “Group notification has been successfully disabled.” is displayed.
- If the status of the notification group does not match, the request fails. Activation requests are possible only when the notification group status is Inactive, and deactivation requests are possible only when it is Active.
Modify Stack
You can modify the resources managed by the stack by changing the template, parameters, and other settings.
To modify the stack, follow these steps.
- 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 you want to edit. Navigate to the Stack Details page.
- On the Stack Details page, click the Edit Stack button. Navigate to the Edit Stack page.
- Stack Edit button can be used only when the stack is in an editable state. For more details, refer to View stack details.
- If the stack status is Update Failed, you can modify the template or parameters that caused the failure and then update the stack again to revert it to the normal state (Update Completed).
- After entering the information to be edited in the Service Information Input step, click the Next button.
Category Detailed description Stack name Stack name - Cannot be changed (read-only)
Template replacement Choose whether to replace the template used for the stack - Use existing template: No additional input required
- Change template: Method to select the new template (Object Storage URL, File selection) and input template information
- Refer to the Service Information Input step in Create Stack for template specification methods and validation
tag Enter tags to add to the stack (up to 50) - The configured tags are propagated to resources created by the stack
- Managed tags from the stack are added together
Table. Stack modification service information input fields - In the Parameter Settings step, after modifying the values of the parameters defined in the template, click the Next button.
- Parameter input types and validation are the same as the Parameter Setting step of 스택 생성하기.
- If the template includes a configuration that creates IAM resources, you must select the Approve to allow the Infrastructure Builder to create IAM resources. item for the Next button to become active.
- In the Stack Options Configuration step, after modifying the stack’s permissions and failure options, click the Next button.
Category Detailed description Permission Select the permission to use when the stack modifies resources - Use user permissions: Perform tasks by assuming the user’s permissions
- Change IAM role: Perform tasks with the permissions of the selected IAM role
IAM role When IAM role change is selected - Roles available in the selected account are displayed in ascending order by role name
- New creation: The screen for creating a new IAM role opens in a new window
- Refresh icon: Newly created IAM roles are reflected in the list
Behavior for provisioning failures Select rollback behavior for stack failure - Rollback all stack resources: Roll back to the state before the stack was executed (default)
- Preserve successfully created resources: Preserve resources that were provisioned successfully and roll back failed resources to their last state
- If the stack status is Update Failed, only Preserve successfully created resources can be selected (Rollback all stack resources is disabled)
Delete newly created resources during rollback Specify whether to delete resources created during a failed operation regardless of the deletion policy - Use deletion policy: Keep or delete the created resources according to the deletion policy set in the template (default)
- Delete all newly created resources: Delete resources created during rollback regardless of the deletion policy set in the template
- Provisioning failure behavior > Preserve successfully created resources: Selecting this does not delete the successful resources, so this option has no effect when selected
Stack policy Define resources to protect from unintended updates during a stack update - The previously applied stack policy is displayed
- Select No Stack Policy, Enter Stack Policy, or Upload File
- The stack policy entered here is applied only once for this stack modification, replacing the existing stack policy; if no stack policy is entered in subsequent modifications, the existing stack policy will be applied
- Refer to the Configure Stack Options step in Create Stack for input methods and constraints
Table. Stack modification option configuration itemsinformationWhen modifying a stack in the Console, if a user who has not obtained a user authentication key (Access Key/Secret Key) selects User Permission Use, the user token may expire after 12 hours of login, causing the stack modification to fail.
If you anticipate that the stack update will take a long time, obtain a user authentication key or use IAM role change.
- In the Notification Settings step, after selecting the notification group, click the Next button.
- You can select up to 10 notification groups, and the selection method is the same as the notification settings step in 스택 생성하기.
- The notification groups already set in the stack are displayed as selected, and you can specify the status for each notification group.
Category Detailed description status Select the status of the notification group from the dropdown list - The previously configured notification group is displayed with the status at the time the stack was created
- If you select a notification group that previously had no notification set, it is set to Active, and can be changed to Inactive
- If you deselect the notification group, it is treated as Disabled
Table. Stack edit notification setting items
- After reviewing the changes in the Input Information Check step, click the Confirm button. Stack editing begins, and you navigate to the Stack Details page of that stack.
- The information entered during the service information input, parameter setting, stack option configuration, and notification setting stages is displayed step by step.
- When a stack policy is applied, click View Stack Policy to view the policy details in a popup.
- To edit the content, click the Previous button to go to that step.
Enable stack deletion protection
You can configure it to prevent the stack from being accidentally deleted. To set stack deletion protection, follow these steps.
- Click the All Services > Management > Infrastructure Builder menu. Navigate to the Service Home page.
- Click the Stack > Stack List menu on the Service Home page. Navigate to the Stack List page.
- Stack List page, click the stack you want to configure. Navigate to the Stack Details page.
- Stack Details page’s Detailed Information tab, click the Prevent Deletion item’s Edit button. Delete protection popup window opens.
- After selecting or deselecting Use, click the Confirm button. Do you want to modify the delete protection? A confirmation popup will open.
- Click the Confirm button. The delete protection setting will be changed.
- A stack with deletion protection enabled cannot be deleted until the protection is disabled.
- Nested stacks cannot be modified because they use the root stack’s deletion protection settings as is.
Delete Stack
When a stack is deleted, the resources managed by the stack are deleted by default. However, if the resource’s DeletionPolicy is set to Retain in the template, the resource will not be deleted and will be retained.
- When a stack is deleted, the resources included in the stack are deleted by default and cannot be recovered.
- However, if the deletion policy in the template is set to Retain, the resource will not be deleted.
- If there are resources that should be retained without deletion, check the template’s deletion policy before deleting the stack.
To delete the stack, follow these steps.
- All Services > Management > Infrastructure Builder menu, click it. 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 you want to delete. Navigate to the Stack Details page.
- On the Stack Details page, click the Delete Stack button. The confirmation popup opens.
- After confirming the stack name to delete, click the Confirm button. “Stack deletion request has been completed.” message is displayed and the stack and the resources managed by the stack are deleted.
- Depending on the scale, deletion may take several minutes, and the completion result can be viewed in the notification at the top right of the screen.
- Resources with a deletion policy of Retain are not deleted and are retained.
- Stacks with deletion protection enabled cannot be deleted. First, disable the delete protection.