The page has been translated by Gen AI.

Overview

Service Overview

Infrastructure Builder is a managed IaC (Infrastructure as Code) service that defines the Samsung Cloud Platform’s infrastructure as code and supports creating, modifying, and deleting resources based on the defined specifications.

The user only needs to define the desired final state of the infrastructure declaratively in the template. The Infrastructure Builder handles execution order, resource dependency processing, state management, and recovery on failure. This allows you to repeatedly reproduce the same infrastructure configuration without relying on manual tasks or scripts.

Special features

We offer the following advantages.

  • Ready to use without a separate execution environment: Since it is provided as a managed service, there is no need to separately set up and operate an IaC execution environment or a state store. Infrastructure Builder manages the entire lifecycle of infrastructure, from definition to deployment, modification, and deletion.
  • Automatic State Management: The service directly stores and manages the state of the deployed infrastructure. The user does not need to store the state file in a separate repository or manage the synchronization state manually.
  • Pre-Change Review: Through a change set, you can preview which resources will be created, modified, deleted, or replaced before they are actually applied. You can prevent service impact caused by minor mistakes before deployment.
  • Automatic rollback on failure: If an error occurs while creating or updating the stack, it automatically restores to the last successful state. Prevents a situation where a deployment fails midway, leaving resources only partially created.
  • Samsung Cloud Platform Native Integration: Since it is directly linked with Samsung Cloud Platform’s services, there is no need to develop and distribute separate plugins to use new services or features.
  • Standard Architecture Reuse: You can create a template of a validated infrastructure configuration and deploy it within the organization. You can configure development, test, and production environments with the same definition to prevent configuration inconsistencies between environments.

Service Architecture Diagram

Diagram
Figure. Infrastructure Builder Diagram

Provided features

It provides the following features.

  • Template Management
    • Define the infrastructure state as a template in JSON or YAML format. You can create templates directly in the Console and save them to Object Storage. You can also upload a local file to use.
    • For detailed information about templates, refer to the 템플릿.
  • Stack Management
    • Creates a stack based on the template and parameters to deploy resources. You can create, modify, and delete resources together at the stack level, and view the events generated during deployment and the list of deployed resources.
    • For detailed information about stacks, refer to Stack.
  • Change Set Management
    • Review changes in advance before modifying the stack. You can compare before and after changes to identify the change type for each resource, and after the review is complete, you can execute it at the desired time.
    • For detailed information related to change sets, see Change Set.
  • Stack Set Management
    • Deploy the same infrastructure across multiple accounts and regions using a single template. You can consistently apply enterprise-standard security settings and basic infrastructure.
    • For detailed information related to stack sets, refer to Stack Set.
  • Drift detection
    • Detects if the definition deployed via the stack differs from the actual state of the resources. After identifying the detected differences, you can redeploy using the change set to align the definition with the actual state.
    • For detailed information related to drift, refer to 드리프트.
  • Automatic rollback
    • If an error occurs during stack creation or update, resources created up to the point of failure are deleted, and the stack is rolled back to the last successful stable state.

Component

Infrastructure Builder consists of the following components.

template

A template is a file that defines infrastructure as code. Write in JSON or YAML format, including definitions of the resources to be created, parameters, and result outputs.

A template does not create resources by itself. A stack must be created based on the template for the actual resources to be deployed. Since you can create multiple stacks from a single template, you can reuse it by specifying only different parameters when repeatedly deploying the same configuration across environments.

For detailed information related to templates, refer to 템플릿.

Stack

A stack is a logical grouping of resources that are created and managed together based on a template. Resource creation, modification, and deletion are performed on a per-stack basis.

When a stack is deleted, its resources are also deleted by default, so it is advisable to group resources with the same lifecycle into a single stack.

For detailed information about stacks, see Stack.

Change set

A change set is a feature that lets you preview the changes that will occur before updating a stack. Provides the results of determining the change type for each resource by comparing the current stack state with the new template to be applied.

A stack begins deployment as soon as it is created, but a change set allows the user to control the execution timing after creation. Therefore, you can review and approve the changes, and then apply them at the desired time.

For detailed information related to change sets, see the Change Set.

Stack Set

A stack set is a management unit that deploys a single template to multiple accounts and regions. From the admin Account, you can create stacks on multiple target Accounts with a single operation.

A stack instance refers to an individual stack that a stack set actually creates for each deployment target. If a stack set is a blueprint, a stack instance is the operational entity that actually runs resources in each account and region.

For detailed information related to stack sets, see Stack Set.

drift

Drift refers to a condition where the actual state of resources managed by a stack differs from the configuration defined in the template. If you modify resources directly via the console or API, drift will occur.

When you run drift detection, you can verify whether the definitions and actual states match for the entire stack and for each resource, and you can compare the expected values with the current values to see which attributes differ and how.

For detailed information about drift, refer to 드리프트.

Term

The main terms used in Infrastructure Builder are as follows.

TermExplanation
Stack(Stack)Logical grouping of resources that are created and managed together
  • Creation, modification, and deletion are performed in stack units
Template (Template)A JSON or YAML file that defines infrastructure as code
  • including definitions of resources, parameters, and output results
Resource(Resource)Resources of the Samsung Cloud Platform that are defined in the template and actually created.
Logical ID (Logical ID)Name used to identify the resource within the template
  • Changing it may cause the resource to be recreated
Physical ID(Physical ID)The unique ID of the resource actually created after deployment
Parameter(Parameter)Input value passed from outside when creating or updating a stack
  • used to increase the reusability of the template
Intrinsic FunctionA function used to reference, combine, or conditionally process values within a template.
MappingA table that maps values in a key-value format
  • used for branching values by region and environment
ConditionA logical expression that controls whether a resource is created or its attributes based on specific conditions.
Change Set (Change Set)A feature that previews the changes that will occur before updating the stack
Stack Set(Stack Set)A management unit that deploys stacks across multiple accounts and regions
Stack Instance (Stack Instance)The individual stacks that a stack set actually created in a specific account and region
Administrator Account (Administrator Account)Account that creates and manages the stack set
  • Service Managed permission is the organization management Account or a delegated administrator, Self Managed permission is the Account that created the stack set
Target Account (Target Account)Account in which an individual stack (stack instance) belonging to a stack set is created
Organization Management Account (Management Account)Account
  • has admin access to Service Managed permissions
Delegated Administrator(Delegated Administrator)Designated member Account that can create and manage the organization’s Service Managed stack set
  • Share administrator access to Service Managed permissions, same as the organization management Account
  • Up to 5 Accounts can be registered per organization
Nested Stack (Nested Stack)Stack generated by being called from another stack
  • Used when separating templates by functional units
Root Stack(Root Stack)A stack positioned at the top of a nested stack structure that invokes the lower stack.
Drift(Drift)The actual state of the resource differs from the configuration defined in the template.
Drift Detection (Drift Detection)Function that detects mismatches between the template definition and actual resources
Stack PolicyA policy that protects specific resources from being modified or deleted during a stack update.
Rollback(Rollback)A feature that automatically restores to the previous stable state when stack creation or update fails.
Table. Infrastructure Builder terminology

Constraints

The constraints of the Infrastructure Builder are as follows.

CategoryExplanation
Template size51,200 bytes or less
  • Object Storage URL, file upload, creation in the Console, etc., apply uniformly regardless of the template specification method
Stack policy size16,384 Bytes or less
  • applies equally to direct input and file upload
nested stack depthMaximum 5 steps
Nested stack template locationMust be stored in Object Storage
  • Nested stacks cannot be used with local file uploads because they are referenced by a template URL
Delegated AdministratorMaximum of 5 Accounts per organization
Stack countMaximum 2,000
Number of stack setsThe maximum number that can be created from an admin account is 1,000.
Number of stack instances per stack setUp to 100,000 per stack set
Concurrent task count for stack instancesEach administrator account can have up to 10,000 stack instances running tasks concurrently per region.
Get stack (Object Storage object)A stack set operation can retrieve up to 200 stacks using an Object Storage object.
Retrieve stack (enter stack ID manually)Up to 10 stacks can be retrieved per stack set operation by directly entering the stack ID.
Number of resources per templateA template can declare up to 500 resources.
Number of parameters per templateA template can declare up to 200 parameters.
Number of outputs per templateA template can declare up to 200 Outputs.
Number of mappings per templateA template can declare up to 200 mappings
  • Each mapping can have up to 200 mapping attributes
Number of nested stack resourcesThe total number of resources that can be defined across the entire nested stack hierarchy is up to 2,500
  • Each template can define up to 500
Number of concurrent stack operation resourcesIn a region, up to 1,000 resources can be included in stack operations (create, update, delete) simultaneously.
Keypair resourceCannot be created through Infrastructure Builder
  • If needed, the user should create the Keypair manually in advance and reference it in the template
User authentication keyCannot be created through Infrastructure Builder
  • IAM user authentication keys (Access Key/Secret Key) also cannot be created, and if needed, the user must create them directly in advance
Table. Infrastructure Builder Constraints

Provision status by region

Infrastructure Builder is available in all regions.

RegionProvision status
Korea West (kr-west1)Provided
Korea East (kr-east1)Provided
South Korea South 1 (kr-south1)Provided
South Korea 2 (kr-south2)Provided
South Korea South 3 (kr-south3)Provided
Table. Infrastructure Builder regional availability status

Preceding service

This is a list of services that must be pre-configured before creating the service. Please refer to the guide provided for each service and prepare in advance.

Service CategoryserviceDetailed description
StorageObject StorageObject storage that simplifies data storage and retrieval
ManagementIAMEnterprise-level credential and access permission management service
Table. Infrastructure Builder pre-service
Manage Delegated Administrators
template