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.
To create an Auto-Scaling Group, follow these steps:
Click All Services > Compute > Virtual Server menu. It will move to the Virtual Server’s Service Home page.
Click the Auto-Scaling Group menu. It will move to the Auto-Scaling Group list page.
On the Auto-Scaling Group list page, click the Create Auto-Scaling Group button. It will move to the Create Auto-Scaling Group page.
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 RequiredDetailed Description Auto-Scaling Group Name Required Auto-Scaling Group name - Manage servers of the same type and purpose as a group
Server Name Required Server 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 Servers Required Number 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
- After creating the Auto-Scaling Group, you can modify the settings using the Modify button. For more information, refer to Modifying the Number of Servers
Manual Desired Server Count Setting Optional Choose whether to manually change the Desired server count - After creating the Auto-Scaling Group, you can modify the settings using the Modify button. For more information, refer to Modifying Manual Desired Server Count Setting
Network Settings > Network Settings Required Network 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 Group Optional Set 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 Balancer Optional Connect 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
- Draining Timeout: The time to wait before disconnecting the server from the Load Balancer
- After creating the Auto-Scaling Group, you can modify the settings, and for more information, refer to Using Load Balancer in Auto-Scaling Group
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 RequiredDetailed Description Set Now Optional Set the scaling policy now - Click the Add Policy button to display the policy information input items
Set Later Optional Set the policy after creating the Auto-Scaling Group, on the detailed information page Table. Auto-Scaling Group Scaling Policy Settings Items
- For more information on policy settings, refer to Adding a Policy.
- In the Notification Settings section, set the notification recipient and method.
- For more information on notification settings, refer to Adding a Notification.
Category RequiredDetailed Description Set Now Optional Set 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 Later Optional Set the notification recipient and method after creating the Auto-Scaling Group, on the detailed information page Table. Auto-Scaling Group Notification Settings Items
- For more information on notification settings, refer to Adding a Notification.
- In the Additional Information Input section, enter or select the required information.
Category RequiredDetailed Description Tag Optional Add 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
- In the Launch Configuration section, select a Launch Configuration.
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:
- Click All Services > Compute > Virtual Server menu. It will move to the Virtual Server’s Service Home page.
- Click the Auto-Scaling Group menu. It will move to the Auto-Scaling Group list page.
- 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.
Category Detailed Description Auto-Scaling Group Status The 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 Deletion Button to delete the Auto-Scaling Group Table. Auto-Scaling Group Status Information and Additional Features
- 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.
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.
| 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 | User who created the service |
| Creation Time | Time when the service was created |
| Modifier | User who modified the service information |
| Modification Time | Time when the service information was modified |
| Auto-Scaling Group Name | Auto-Scaling Group name |
| Launch Configuration Name | Launch Configuration name selected when creating the Auto-Scaling Group
|
| Number of Servers | Current number of servers in the Auto-Scaling Group and set Min, Desired, Max server numbers
|
| Manual Setting of Desired Server Number | Use or do not use manual setting of Desired server number
|
| VPC | VPC information of the Auto-Scaling Group |
| General Subnet | General Subnet and NAT IP usage information of the Auto-Scaling Group |
| Local Subnet | Local Subnet information of the Auto-Scaling Group |
| Security Group | Security Group information of the Auto-Scaling Group
|
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.
| Category | Detailed Description |
|---|---|
| Category | Policy category
|
| Policy Name | Policy name |
| Execution Condition | Condition for executing the policy
|
| Execution Unit | Method of executing the policy
|
| Cool-down | Waiting time (in seconds) after the policy starts or stops a server
|
| More > Modify | Modify the policy information
|
| More > Activate | Activate the policy
|
| More > Deactivate | Deactivate the policy
|
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.
| Category | Detailed Description |
|---|---|
| Name | Schedule name |
| Min | Minimum server number set in the schedule |
| Desired | Target server number set in the schedule |
| Max | Maximum server number set in the schedule |
| Period | Schedule execution period
|
| Date/Day of the Week | Schedule execution date or day of the week
|
| Execution Time | Schedule execution time |
| Time Zone | Schedule execution time zone |
| Status | Schedule status |
| More > Modify | Modify the schedule information
|
| More > Activate | Activate the schedule
|
| More > Deactivate | Deactivate the schedule
|
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.
| Category | Detailed Description |
|---|---|
| Server Name | Name of the server created in the Auto-Scaling Group
|
| IP | IP assigned to the server |
| Creation Time | Date and time when the server was created |
| Status | Server status
|
| Load Balancer Connection Status | Load Balancer connection status
|
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.
| Category | Detailed Description |
|---|---|
| Draining Timeout | Draining Timeout usage
|
| Load Balancer | Load Balancer usage
|
| Load Balancer > Load Balancer Name | Load Balancer name to connect to the Auto-Scaling Group |
| Load Balancer > LB Server Group | Load Balancer’s LB server group
|
| Load Balancer > Port | Port registered as a member of the LB server group |
- The LB server group member information set in the Auto-Scaling Group can also be checked in the Connected Resources of the LB Server Group.
- If manual connection/disconnection between the server and Load Balancer is required, refer to Adding an LB Server Group Member.
Notification
You can check the notification recipient information and notification method for the selected resource on the Auto-Scaling Group List page.
| Category | Detailed Description |
|---|---|
| Notification Recipient | Name of the notification recipient |
| Email of the notification recipient | |
| Server Creation | Whether to send a notification when a server creation-related notification occurs
|
| Server Termination | Whether to send a notification when a server termination-related notification occurs
|
| Policy Execution Condition | Whether to send a notification when the policy execution condition is met |
| Status | Notification activation status
|
| More > Edit | Edit the notification information |
| More > Activate | Activate the notification information
|
| More > Deactivate | Deactivate the notification information
|
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.
| Category | Detailed Description |
|---|---|
| Tag List | Tag list
|
Work History
You can check the work history of the selected resource on the Auto-Scaling Group List page.
| Category | Detailed Description |
|---|---|
| Work History List | Resource change history
|
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.
To modify the Launch Configuration of the Auto-Scaling Group, follow these steps:
Click All Services > Compute > Virtual Server. The Virtual Server Service Home page opens.
Click Auto-Scaling Group. The Auto-Scaling Group List page opens.
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.
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.
CategoryDetailed Description Launch Configuration Name Launch Configuration name Image Launch Configuration OS image Server Type Launch Configuration server type Block Storage Launch Configuration Block Storage settings Auto-Scaling Group Count Number of Auto-Scaling Groups to which the Launch Configuration is applied Detailed View Button to view detailed Launch Configuration information Table. Launch Configuration List ItemsIn 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.
To modify the server count of the Auto-Scaling Group, follow these steps:
- Click All Services > Compute > Virtual Server. The Virtual Server Service Home page opens.
- Click Auto-Scaling Group. The Auto-Scaling Group List page opens.
- 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.
- Click the Edit Server Count button. The Edit Server Count popup window opens.
- In the Edit Server Count popup window, enter the required items and click the Confirm button.
Classification RequiredDetailed Description Server Count > Min Required Modify the minimum number of servers - Set the minimum number of servers that the Auto-Scaling Group will maintain
Server Count > Desired Required Modify the target server count - Set the target server count in the Auto-Scaling Group
- If Desired Server Count Manual Setting is Not Used, you cannot modify the Desired server count. To modify the Desired server count, refer to Modifying Desired Server Count Manual Setting
Server Count > Max Required Modify 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:
- Click All Services > Compute > Virtual Server. You will be taken to the Virtual Server’s Service Home page.
- Click Auto-Scaling Group. You will be taken to the Auto-Scaling Group List page.
- 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.
- Click the Edit button in the Server Count section. The Edit Server Count popup window will open.
- 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.
Modifying Desired Server Count Manual Setting
You can change the Desired server count manual setting of the Auto-Scaling Group.
To modify the Desired server count manual setting of the Auto-Scaling Group, follow these steps:
- Click the All Services > Compute > Virtual Server menu. The Virtual Server Service Home page opens.
- Click the Auto-Scaling Group menu. The Auto-Scaling Group List page opens.
- 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.
- Click the Edit button for the server count. The Desired Server Count Manual Setting popup window opens.
- 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.
To set the Security Group for the Auto-Scaling Group, follow these steps:
Click the All Services > Compute > Virtual Server menu. The Virtual Server Service Home page opens.
Click the Auto-Scaling Group menu. The Auto-Scaling Group List page opens.
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.
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.
Classification Detailed Description Security Group Name Security Group name Table. Security Group List ItemsIn 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.
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:
- Click the All Services > Compute > Virtual Server menu. The Virtual Server Service Home page opens.
- Click the Auto-Scaling Group menu. The Auto-Scaling Group List page opens.
- 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.
- Click the Load Balancer tab. The Load Balancer list page opens.
- Click the Edit button for the Draining Timeout. The Draining Timeout Modification popup window opens.
- In the Draining Timeout Modification popup window, select whether to use the Draining Timeout and enter the Draining Timeout time (in seconds).
- 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:
- 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.
- Click the All Services > Compute > Virtual Server menu. The Virtual Server Service Home page opens.
- Click the Auto-Scaling Group menu. The Auto-Scaling Group List page opens.
- 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.
- Click the Load Balancer tab. The Load Balancer list page opens.
- Click the Edit button for the Load Balancer. The Load Balancer Modification popup window opens.
- In the Load Balancer Modification popup window, select whether to use it. If you select Use, you can select the Load Balancer.
Classification Detailed Description LB Server Group LB 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
Port LB 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.
- 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.
- The LB server group member information set in Auto-Scaling Group can also be checked in LB server group connected resources.
- If manual connection/disconnection between server and Load Balancer is required, refer to Registering LB server group members.
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.
- 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.
- Click All Services > Compute > Virtual Server menu. Move to the Service Home page of Virtual Server.
- Click Auto-Scaling Group menu. Move to the Auto-Scaling Group list page.
- Click the resource to set Load Balancer in the Auto-Scaling Group list page. Move to the Auto-Scaling Group details page.
- Click the Load Balancer tab. Move to the Load Balancer list page.
- Click the Modify button of Load Balancer. The Load Balancer modification popup window opens.
- Select whether to use Load Balancer in the Load Balancer modification popup window. If you deselect Use, Load Balancer will not be used.
- 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.
To delete an Auto-Scaling Group, follow the procedure below.
- Click All Services > Compute > Virtual Server menu. Move to the Service Home page of Virtual Server.
- Click Auto-Scaling Group menu. Move to the Auto-Scaling Group list page.
- Click the resource to delete in the Auto-Scaling Group list page. Move to the Auto-Scaling Group details page.
- Click the Delete Auto-Scaling Group button.
- After deletion is complete, check if the resource has been deleted in the Auto-Scaling Group list page.