The page has been translated by Gen AI.

How-to guides

Users can create an Auto-Scaling Group service by entering the required information and selecting detailed options through the Samsung Cloud Platform Console.

Creating an Auto-Scaling Group

You can create an Auto-Scaling Group service through the Samsung Cloud Platform Console.

Note
To create an Auto-Scaling Group, you need to create a Launch Configuration in advance. Please refer to Creating a Launch Configuration.

To create an Auto-Scaling Group, follow these steps:

  1. Click All Services > Compute > Virtual Server menu. It will move to the Virtual Server’s Service Home page.

  2. Click the Auto-Scaling Group menu. It will move to the Auto-Scaling Group list page.

  3. On the Auto-Scaling Group list page, click the Create Auto-Scaling Group button. It will move to the Create Auto-Scaling Group page.

  4. On the Create Auto-Scaling Group page, enter the information required to create the service.

    • In the Launch Configuration section, select a Launch Configuration.
      • You can create a new Launch Configuration by clicking the Create Launch Configuration button.
    • In the Service Information Input section, enter or select the required information.
      Category
      Required
      Detailed Description
      Auto-Scaling Group NameRequiredAuto-Scaling Group name
      • Manage servers of the same type and purpose as a group
      Server NameRequiredServer name within the Auto-Scaling Group
      • An identifier to distinguish servers created within the Auto-Scaling Group, automatically assigned based on the input server name and sequence
      Number of ServersRequiredNumber of servers to create in the Auto-Scaling Group
      • Enter a value between 0 and 20 (Min≤Desired≤Max)
      • Min: Set the minimum number of servers for the Auto-Scaling Group to maintain
      • Desired: Set the target number of servers within the Auto-Scaling Group, also meaning the initial number of servers created when the Auto-Scaling Group is created
      • Max: Set the maximum number of servers that the Auto-Scaling Group can maintain
      Manual Desired Server Count SettingOptionalChoose whether to manually change the Desired server count
      Network Settings > Network SettingsRequiredNetwork settings for the Auto-Scaling Group
      • Select the desired VPC and general Subnet
      • IP can only be automatically generated
      • If you select a local Subnet, you can choose the desired local Subnet, and IP can only be automatically generated
      Network Settings > Security GroupOptionalSet a Security Group to allow necessary access
      • If you don’t set a Security Group, it will follow the default rule (Any/Deny) and block all inbound and outbound traffic
      • For Linux servers, allow SSH traffic
      • For Windows servers, allow RDP traffic
      • After creating the Auto-Scaling Group, you can modify the settings using the Modify button. For more information, refer to Setting Security Group
      Load BalancerOptionalConnect the Auto-Scaling Group to a Load Balancer
      • Register the servers in the Auto-Scaling Group as members of the LB server group
      • LB server group: Select an existing LB server group in the chosen VPC
      • Port: Enter a value between 1 and 65,534
      • Click the + button to add an LB server group (up to 3 LB server groups and ports can be added)
      • Weighted Round Robin or Weighted Least Connection load balancing LB server groups cannot be selected
      • Draining Timeout value: If Draining Timeout is checked as used, set the Draining Timeout value
        • Draining Timeout: The time to wait before disconnecting the server from the Load Balancer
          • This allows for safe session cleanup, as sessions connected to the server may still exist
        • If Load Balancer is not used, Draining Timeout setting is not available
        • The default value is 300 seconds, and you can enter a value between 1 second and 3,600 seconds
      Table. Auto-Scaling Group Service Information Input Items
    • In the Scaling Policy Settings section, set the scaling policy.
      • For more information on policy settings, refer to Adding a Policy.
        Category
        Required
        Detailed Description
        Set NowOptionalSet the scaling policy now
        • Click the Add Policy button to display the policy information input items
        Set LaterOptionalSet the policy after creating the Auto-Scaling Group, on the detailed information page
        Table. Auto-Scaling Group Scaling Policy Settings Items
    • In the Notification Settings section, set the notification recipient and method.
      • For more information on notification settings, refer to Adding a Notification.
        Category
        Required
        Detailed Description
        Set NowOptionalSet the notification recipient and method now
        • Click the Add Notification button to open the Add Notification popup window
        • For more information on notification settings, refer to the detailed information
        • Click the Modify button in the notification recipient list to change the notification information
        Set LaterOptionalSet the notification recipient and method after creating the Auto-Scaling Group, on the detailed information page
        Table. Auto-Scaling Group Notification Settings Items
    • In the Additional Information Input section, enter or select the required information.
      Category
      Required
      Detailed Description
      TagOptionalAdd a tag
      • Up to 50 tags can be added per resource
      • Click the Add Tag button, then enter or select the Key and Value
      Table. Auto-Scaling Group Additional Information Input Items
  5. In the Summary panel, review the created details and estimated billing amount, then click the Complete button.

    • After creation is complete, you can find the created Auto-Scaling Group on the Auto-Scaling Group list page.

Checking Auto-Scaling Group Details

The Auto-Scaling Group service allows you to view and modify the overall resource list and detailed information. The Auto-Scaling Group details page consists of Details, Policy, Schedule, Virtual Server, Load Balancer, Tag, and Work History tabs.

To check the Auto-Scaling Group details, follow these steps:

  1. Click All Services > Compute > Virtual Server menu. It will move to the Virtual Server’s Service Home page.
  2. Click the Auto-Scaling Group menu. It will move to the Auto-Scaling Group list page.
  3. On the Auto-Scaling Group list page, click the resource you want to check the details for. It will move to the Auto-Scaling Group details page.
    • The Auto-Scaling Group details page displays status information and additional feature information, and consists of Details, Policy, Schedule, Virtual Server, Load Balancer, Tag, and Work History tabs.
      CategoryDetailed Description
      Auto-Scaling Group StatusThe status of the Auto-Scaling Group created by the user
      • Creating: Auto-Scaling Group creation in progress
      • In Service: Serviceable state
      • Scale In: Scale In in progress
      • Scale Out: Scale Out in progress
      • Cool Down: Cool-down wait in progress
      • Terminating: Auto-Scaling Group deletion in progress
      • Attach to LB: Connecting to Load Balancer in progress
      • Detach from LB: Detaching from Load Balancer in progress
      Auto-Scaling Group DeletionButton to delete the Auto-Scaling Group
      Table. Auto-Scaling Group Status Information and Additional Features

Details

… (rest of the content remains the same) Auto-Scaling Group Details page where you can check the detailed information of the selected resource and modify the information if necessary.

CategoryDetailed Description
ServiceService name
Resource TypeResource type
SRNUnique resource ID in Samsung Cloud Platform
  • Auto-Scaling Group refers to Auto-Scaling Group SRN
Resource NameResource name
  • Auto-Scaling Group refers to Auto-Scaling Group name
Resource IDUnique resource ID in the service
CreatorUser who created the service
Creation TimeTime when the service was created
ModifierUser who modified the service information
Modification TimeTime when the service information was modified
Auto-Scaling Group NameAuto-Scaling Group name
Launch Configuration NameLaunch Configuration name selected when creating the Auto-Scaling Group
  • Image template used when creating a Virtual Server in the Auto-Scaling Group
Number of ServersCurrent number of servers in the Auto-Scaling Group and set Min, Desired, Max server numbers
Manual Setting of Desired Server NumberUse or do not use manual setting of Desired server number
VPCVPC information of the Auto-Scaling Group
General SubnetGeneral Subnet and NAT IP usage information of the Auto-Scaling Group
Local SubnetLocal Subnet information of the Auto-Scaling Group
Security GroupSecurity Group information of the Auto-Scaling Group
  • If you want to change the Security Group, click the Modify button to set. For more information, see Setting Security Group
Table. Auto-Scaling Group Details - Details Tab Items

Policy

On the Auto-Scaling Group List page, you can check the policy list of the selected resource and add or manage policies if necessary.

CategoryDetailed Description
CategoryPolicy category
  • Scale In: Server number return
  • Scale Out: Server number increase
Policy NamePolicy name
Execution ConditionCondition for executing the policy
  • Statistic: Method of calculating Metric Type
    • Average: Average of servers in the Auto-Scaling Group
    • Min: Minimum value among servers in the Auto-Scaling Group
    • Max: Maximum value among servers in the Auto-Scaling Group
  • Metric Type: CPU Usage, Memory Usage, Network In(Bytes), Network Out(Bytes), Network In(Packets), Network Out(Packets)
  • Operator: >= > <= <
  • Threshold: Threshold for Metric Type
  • Period: Continuous time to trigger the execution condition (N minutes)
Execution UnitMethod of executing the policy
  • Policy Type: Type of policy to execute
    • Increase or decrease server number by a specified number: Increase or decrease server number by a target value
    • Increase or decrease server number by a specified ratio: Increase or decrease server number by a target ratio
    • Fix server number to a specified value: Fix server number to a target value
  • Target Value: Number or ratio to execute the selected Policy Type
Cool-downWaiting time (in seconds) after the policy starts or stops a server
  • Default value is 300 seconds, and can be set between 1 second and 3,600 seconds
More > ModifyModify the policy information
More > ActivateActivate the policy
  • Only available when the policy is deactivated
More > DeactivateDeactivate the policy
  • Only available when the policy is activated
Table. Auto-Scaling Group Details - Policy Tab Items

For more information on policy management and policy examples, see Policy Management.

Schedule

On the Auto-Scaling Group List page, you can check the schedule list of the selected resource and add or manage schedules if necessary.

CategoryDetailed Description
NameSchedule name
MinMinimum server number set in the schedule
DesiredTarget server number set in the schedule
MaxMaximum server number set in the schedule
PeriodSchedule execution period
  • Can be set to daily, weekly, monthly, or one-time
Date/Day of the WeekSchedule execution date or day of the week
  • Depends on the selected schedule period
Execution TimeSchedule execution time
Time ZoneSchedule execution time zone
StatusSchedule status
More > ModifyModify the schedule information
More > ActivateActivate the schedule
  • Only available when the schedule is deactivated
More > DeactivateDeactivate the schedule
  • Only available when the schedule is activated
Table. Auto-Scaling Group Details - Schedule Tab Items

For more information on schedule management, see Adding Schedule and Deleting Schedule.

Virtual Server

On the Auto-Scaling Group List page, you can check the Virtual Server list of the selected resource.

CategoryDetailed Description
Server NameName of the server created in the Auto-Scaling Group
  • Clicking the Server Name will move to the Virtual Server Details page
IPIP assigned to the server
Creation TimeDate and time when the server was created
StatusServer status
Load Balancer Connection StatusLoad Balancer connection status
  • Attaching: Load Balancer connection in progress
  • Attached: Load Balancer connected
  • Attach Error: Load Balancer connection error
  • Detaching: Load Balancer disconnection in progress
  • Detached: Load Balancer disconnected
  • Detach Error: Load Balancer disconnection error
Table. Auto-Scaling Group Details - Virtual Server Tab Items

Load Balancer

On the Auto-Scaling Group List page, you can check the Load Balancer list of the selected resource and add or manage Load Balancers if necessary.

CategoryDetailed Description
Draining TimeoutDraining Timeout usage
  • Click the Modify button to set the Draining Timeout usage
  • If already in use, change the time
  • Load Balancer is not in use, Draining Timeout setting is not possible.
Load BalancerLoad Balancer usage
  • Click the Modify button to set the Load Balancer usage
  • If already in use, add or change the Load Balancer
  • Up to 3 Load Balancer server groups can be added
Load Balancer > Load Balancer NameLoad Balancer name to connect to the Auto-Scaling Group
Load Balancer > LB Server GroupLoad Balancer’s LB server group
  • LB server groups using Weighted Round Robin or Weighted Least Connection load balancing are not selectable
Load Balancer > PortPort registered as a member of the LB server group
Table. Auto-Scaling Group Details - Load Balancer Tab Items
Note

Notification

You can check the notification recipient information and notification method for the selected resource on the Auto-Scaling Group List page.

CategoryDetailed Description
Notification RecipientName of the notification recipient
EmailEmail of the notification recipient
Server CreationWhether to send a notification when a server creation-related notification occurs
  • Success: Whether to send when creation is successful
  • Failure: Whether to send when creation fails
Server TerminationWhether to send a notification when a server termination-related notification occurs
  • Success: Whether to send when termination is successful
  • Failure: Whether to send when termination fails
Policy Execution ConditionWhether to send a notification when the policy execution condition is met
StatusNotification activation status
  • Active: Activated
More > EditEdit the notification information
More > ActivateActivate the notification information
  • Only available when the notification is deactivated
More > DeactivateDeactivate the notification information
  • Only available when the notification is activated
Table. Auto-Scaling Group Details - Notification Tab Items

For more information on notification settings, refer to Managing Notifications.

Tag

You can check the tag information of the selected resource on the Auto-Scaling Group List page and add, modify, or delete tags.

CategoryDetailed Description
Tag ListTag list
  • Key and Value information of the tag can be checked
  • Up to 50 tags can be added per resource
  • When entering a tag, you can search and select from the existing Key and Value list
Table. Auto-Scaling Group Details - Tag Tab Items

Work History

You can check the work history of the selected resource on the Auto-Scaling Group List page.

CategoryDetailed Description
Work History ListResource change history
  • Work time, resource ID, resource name, work details, event topic, work result, and worker information can be checked
Table. Auto-Scaling Group Details - Work History Tab Items

Managing Auto-Scaling Group Resources

If you need to manage the created Auto-Scaling Group, you can perform tasks on the Auto-Scaling Group Details page.

Modifying Launch Configuration

You can modify the Launch Configuration of the Auto-Scaling Group.

Note
Modifying the Launch Configuration does not apply to existing servers in the Auto-Scaling Group. It only applies to newly created servers. If you want to apply the modified Launch Configuration to all servers in the Auto-Scaling Group, adjust the server count (Desired) to 0 to delete all existing servers, and then modify the server count (Desired) to the desired quantity.

To modify the Launch Configuration of the Auto-Scaling Group, follow these steps:

  1. Click All Services > Compute > Virtual Server. The Virtual Server Service Home page opens.

  2. Click Auto-Scaling Group. The Auto-Scaling Group List page opens.

  3. On the Auto-Scaling Group List page, click the resource for which you want to modify the Launch Configuration. The Auto-Scaling Group Details page opens.

  4. Click the Modify button next to the Launch Configuration name. The Modify Launch Configuration popup window opens, where you can view the list of available Launch Configurations.

    Category
    Detailed Description
    Launch Configuration NameLaunch Configuration name
    ImageLaunch Configuration OS image
    Server TypeLaunch Configuration server type
    Block StorageLaunch Configuration Block Storage settings
    Auto-Scaling Group CountNumber of Auto-Scaling Groups to which the Launch Configuration is applied
    Detailed ViewButton to view detailed Launch Configuration information
    Table. Launch Configuration List Items

  5. In the Modify Launch Configuration popup window, select the Launch Configuration you want to modify and click OK. The Launch Configuration Modification Notification popup window opens. Check the message and click OK.

Modifying Server Count

You can modify the server count of the Auto-Scaling Group.

Note
The maximum number of servers that can be set is 50. However, if a Load Balancer is present, the number of servers not connected to the Load Balancer is excluded.

To modify the server count of the Auto-Scaling Group, follow these steps:

  1. Click All Services > Compute > Virtual Server. The Virtual Server Service Home page opens.
  2. Click Auto-Scaling Group. The Auto-Scaling Group List page opens.
  3. On the Auto-Scaling Group List page, click the resource for which you want to modify the server count. The Auto-Scaling Group Details page opens.
  4. Click the Edit Server Count button. The Edit Server Count popup window opens.
  5. In the Edit Server Count popup window, enter the required items and click the Confirm button.
    Classification
    Required
    Detailed Description
    Server Count > MinRequiredModify the minimum number of servers
    • Set the minimum number of servers that the Auto-Scaling Group will maintain
    Server Count > DesiredRequiredModify the target server count
    • Set the target server count in the Auto-Scaling Group
    Server Count > MaxRequiredModify the maximum server count
    • Set the maximum number of servers that the Auto-Scaling Group can maintain
    Table. Auto-Scaling Group Server Count Modification Items

Canceling a Virtual Server Created in an Auto-Scaling Group

A Virtual Server created in an Auto-Scaling Group can be canceled by reducing the desired number of servers.

To cancel a Virtual Server created in an Auto-Scaling Group, follow these steps:

  1. Click All Services > Compute > Virtual Server. You will be taken to the Virtual Server’s Service Home page.
  2. Click Auto-Scaling Group. You will be taken to the Auto-Scaling Group List page.
  3. On the Auto-Scaling Group List page, click the resource you want to cancel. You will be taken to the Auto-Scaling Group Details page.
  4. Click the Edit button in the Server Count section. The Edit Server Count popup window will open.
  5. In the Edit Server Count popup window, reduce the Desired count and click the Confirm button. The Desired server count will be adjusted, and the Virtual Server will be canceled.
Notice
If Manual Setting of Desired Server Count is set to Not Used, you will not be able to modify the Desired server count. To modify the Desired server count, refer to Modifying Manual Setting of Desired Server Count.

Modifying Desired Server Count Manual Setting

You can change the Desired server count manual setting of the Auto-Scaling Group.

Note
If you do not select Use for the Desired server count manual setting, you cannot modify the Desired server count in the detailed information server count modification.

To modify the Desired server count manual setting of the Auto-Scaling Group, follow these steps:

  1. Click the All Services > Compute > Virtual Server menu. The Virtual Server Service Home page opens.
  2. Click the Auto-Scaling Group menu. The Auto-Scaling Group List page opens.
  3. On the Auto-Scaling Group List page, click the resource for which you want to change the Desired server count manual setting. The Auto-Scaling Group Details page opens.
  4. Click the Edit button for the server count. The Desired Server Count Manual Setting popup window opens.
  5. In the Desired Server Count Manual Setting popup window, select whether to use it and click the Confirm button.

Setting Security Group

You can set the Security Group for the Auto-Scaling Group.

Note
If you modify the Security Group, it will not be applied to the existing servers in the Auto-Scaling Group, but only to new servers created afterwards. If you want to apply the modified Security Group to all servers in the Auto-Scaling Group, adjust the server count (Desired) to 0 to delete all existing servers, and then modify the server count (Desired) to the desired number.

To set the Security Group for the Auto-Scaling Group, follow these steps:

  1. Click the All Services > Compute > Virtual Server menu. The Virtual Server Service Home page opens.

  2. Click the Auto-Scaling Group menu. The Auto-Scaling Group List page opens.

  3. On the Auto-Scaling Group List page, click the resource for which you want to set the Security Group. The Auto-Scaling Group Details page opens.

  4. Click the Edit button for the Security Group. The Security Group Modification popup window opens, where you can view the list of available Security Groups.

    ClassificationDetailed Description
    Security Group NameSecurity Group name
    Table. Security Group List Items

  5. In the Security Group Modification popup window, select the Security Group and click the Confirm button. The Security Group Modification Notification popup window opens. Check the message in the notification popup window and click the Confirm button.

Managing Additional Auto-Scaling Group Information

You can set the Load Balancer to use and select the LB server group for the Auto-Scaling Group. For an Auto-Scaling Group that is using a Load Balancer, you can change it to not use it.

Modifying Load Balancer Draining Timeout

You can set the Load Balancer Draining Timeout for the Auto-Scaling Group.

Note

Draining Timeout is the time to wait before disconnecting the server from the Load Balancer.

  • You can set the Draining Timeout to safely clean up sessions, as there may be remaining sessions connected to the server.
  • If the Load Balancer is Not Used, the Draining Timeout cannot be set.
  • The default value is 300 seconds, and you can set it to a minimum of 1 second and a maximum of 3,600 seconds.

To set the Load Balancer Draining Timeout for the Auto-Scaling Group, follow these steps:

  1. Click the All Services > Compute > Virtual Server menu. The Virtual Server Service Home page opens.
  2. Click the Auto-Scaling Group menu. The Auto-Scaling Group List page opens.
  3. On the Auto-Scaling Group List page, click the resource for which you want to set the Load Balancer Draining Timeout. The Auto-Scaling Group Details page opens.
  4. Click the Load Balancer tab. The Load Balancer list page opens.
  5. Click the Edit button for the Draining Timeout. The Draining Timeout Modification popup window opens.
  6. In the Draining Timeout Modification popup window, select whether to use the Draining Timeout and enter the Draining Timeout time (in seconds).
  7. In the Draining Timeout Modification popup window, check the input values and click the Confirm button. The Draining Timeout Modification Notification popup window opens. Check the message in the notification popup window and click the Confirm button.

Using Load Balancer

You can modify the Load Balancer for the Auto-Scaling Group. To set the Load Balancer for the Auto-Scaling Group, follow these steps:

Note
  • When the Auto-Scaling Group’s server is created, it is automatically connected to the selected Load Balancer’s LB server group as a member, and when the server is terminated, it is disconnected from the LB server group.
  • If the Draining Timeout is Used, the server is disconnected from the LB server group after waiting for the Draining Timeout (in seconds).
  • For Load Balancer modification, the member is detached from the LB server group and waits in the Detach from LB state. For Scale In, the member is disconnected from the LB server group and waits in the Scale In state.
  1. Click the All Services > Compute > Virtual Server menu. The Virtual Server Service Home page opens.
  2. Click the Auto-Scaling Group menu. The Auto-Scaling Group List page opens.
  3. On the Auto-Scaling Group List page, click the resource for which you want to set the Load Balancer. The Auto-Scaling Group Details page opens.
  4. Click the Load Balancer tab. The Load Balancer list page opens.
  5. Click the Edit button for the Load Balancer. The Load Balancer Modification popup window opens.
  6. In the Load Balancer Modification popup window, select whether to use it. If you select Use, you can select the Load Balancer.
    ClassificationDetailed Description
    LB Server GroupLB server group name
    • Select the LB server group created in the selected VPC
    • LB server groups using Weighted Round Robin or Weighted Least Connection load balancing cannot be selected
    PortLB server group port information
    • Enter the port information required for registering the LB server group member
    • Enter a value between 1 and 65,534
    Table. Load Balancer List Items
    • You can add an LB server group by clicking the + button. Up to 3 can be added. You can remove the added Load Balancer by clicking the X button.
  7. Check the Load Balancer list and click the Confirm button. The Load Balancer Modification Notification popup window opens. Check the message in the notification popup window and click the Confirm button.
    Caution
    • Be cautious when detaching/attaching servers from Load Balancer, as it may affect the service.
    • If Draining Timeout is in use, setting Load Balancer to not in use or removing some connected Load Balancers using the X button will not immediately detach the server. The server will be detached from Load Balancer after waiting for the Draining Timeout (seconds). At this time, Auto-Scaling Group will be in Detach from LB state.
Note

Not using Load Balancer

You can modify the Load Balancer of Auto-Scaling Group to not in use. To set Load Balancer to not in use in Auto-Scaling Group, follow the procedure below.

Caution
  • Be cautious when detaching/attaching servers from Load Balancer, as it may affect the service.
  • If Draining Timeout is in use, setting Load Balancer to not in use or removing some connected Load Balancers using the X button will not immediately detach the server. The server will be detached from Load Balancer after waiting for the Draining Timeout (seconds). At this time, Auto-Scaling Group will be in Detach from LB state.
  1. Click All Services > Compute > Virtual Server menu. Move to the Service Home page of Virtual Server.
  2. Click Auto-Scaling Group menu. Move to the Auto-Scaling Group list page.
  3. Click the resource to set Load Balancer in the Auto-Scaling Group list page. Move to the Auto-Scaling Group details page.
  4. Click the Load Balancer tab. Move to the Load Balancer list page.
  5. Click the Modify button of Load Balancer. The Load Balancer modification popup window opens.
  6. Select whether to use Load Balancer in the Load Balancer modification popup window. If you deselect Use, Load Balancer will not be used.
  7. Confirm the deselection of Use and click the OK button. The Load Balancer modification notification popup window opens. Check the message in the notification popup window and click the OK button.

Deleting Auto-Scaling Group

Deleting unused Auto-Scaling Groups can reduce operating costs. However, deleting an Auto-Scaling Group may immediately stop the service in operation, so you must consider the impact of service termination before proceeding with the deletion.

Caution
Be cautious, as data cannot be recovered after deletion.

To delete an Auto-Scaling Group, follow the procedure below.

  1. Click All Services > Compute > Virtual Server menu. Move to the Service Home page of Virtual Server.
  2. Click Auto-Scaling Group menu. Move to the Auto-Scaling Group list page.
  3. Click the resource to delete in the Auto-Scaling Group list page. Move to the Auto-Scaling Group details page.
  4. Click the Delete Auto-Scaling Group button.
  5. After deletion is complete, check if the resource has been deleted in the Auto-Scaling Group list page.
Monitoring Metrics
Launch Configuration