How-to guides
Users can create the service by entering the required information for the Auto-Scaling Group and selecting detailed options through the Samsung Cloud Platform Console.
Create Auto-Scaling Group
You can create and use the Auto-Scaling Group service from the Samsung Cloud Platform Console.
To create an Auto-Scaling Group, follow the steps below.
Click the All Services > Compute > Virtual Server menu. 1. Navigate to the Service Home page of the Virtual Server.
Click the Auto-Scaling Group menu. 2. Auto-Scaling Group List Navigate to the page.
On the Auto-Scaling Group List page, click the Create Auto-Scaling Group button. 3. Auto-Scaling Group Creation Navigate to the page.
On the Auto-Scaling Group creation page, enter the information required to create the service.
- In the Launch Configuration area, select the Launch Configuration.
- Click the Launch Configuration creation button to create a new Launch Configuration.
- Enter or select the required information in the Service Information Input area.
Category required statusDetailed 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 to be created within the Auto-Scaling Group - Automatically assign a server name by combining the entered server name, which serves as an identifier to distinguish servers created within the Auto-Scaling Group, with a 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 the Auto-Scailg Group should maintain
- Desired: Set the target number of servers within the Auto-Scailg Group; also indicates the number of servers initially created when the Auto-Scailg Group is created
- Max: Set the maximum number of servers the Auto-Scailg Group can maintain
- After creating the Auto-Scaling Group, you can adjust the settings using the Edit button. For details, see 서버 수 수정하기
Desired server count manual setting Selection Select whether to manually change the Desired server count - Even after creating the Auto-Scaling Group, set it via the Edit button. For details, see Desired 서버 수 수동 설정 수정하기
Network Settings > Network Settings Required Network settings for Auto-Scaling Group - Select the desired VPC and standard Subnet
- IP can only be auto-generated.
- When you select local Subnet, you can choose the desired local Subnet, and IP can only be auto-generated
Network Settings > Security Group Selection To allow required connections, you need to configure a Security Group - If you do not configure a Security Group, all inbound and outbound traffic will be blocked according to the default rule (Any/Deny)
- For Linux servers, allow SSH traffic
- For Windows servers, allow RDP traffic
- Even after creating an Auto-Scaling Group, configure it via the Edit button. For more details, see Security Group 설정하기
Load Balancer Selection Connect the Auto-Scaling Group to a Load Balancer - Register the Auto-Scaling Group’s servers as members of the LB server group
- LB server group: Select the LB server group that exists in the chosen VPC
- Port: Enter a value between 1 and 65,534
- Press the + button to add an LB server group (up to a total of three LB server groups and ports are allowed)
- LB server groups that use Weighted Round Robin or Weighted Least Connection load balancing cannot be selected
- Draining Timeout value: After checking Draining Timeout as Enabled, you can set the Draining Timeout value
- Draining Timeout: The waiting period before removing a server from the Load Balancer
- Since sessions may remain connected to the server, setting a Draining Timeout and waiting allows safe session cleanup
- If the Load Balancer is unused, Draining Timeout cannot be configured
- The default is 300 seconds; you can enter values from a minimum of 1 second up to a maximum of 3,600 seconds.
- Draining Timeout: The waiting period before removing a server from the Load Balancer
- Changes can be made after creating the Auto-Scaling Group; for details, refer to Auto-Scaling Group Load Balancer 사용하기.
Table. Auto-Scaling Group service information entry items - In the Scaling policy configuration area, set the Scaling policy.
- For detailed information on policy settings, see 정책 추가하기.
Category required statusDetailed description Current setting Selection Set the Scaling policy now - Add Policy button click displays policy information input fields
Set later Selection After creating an Auto-Scaling Group, set the policy on the details page Table. Auto-Scaling Group Scaling policy configuration items
- For detailed information on policy settings, see 정책 추가하기.
- In the Notification Settings area, configure the notification recipients and notification method.
- For detailed information about notification settings, refer to 알림 추가하기.
Category required statusDetailed description Current setting Selection Set the notification recipients and notification method now - Click the Add Notification button to open the Add Notification popup
- For detailed information on notification settings, refer to the details
- You can modify notification information by clicking the Edit button in the notification recipients list
Set later Selection After creating an Auto-Scaling Group, set the notification recipients and notification method on the details page. Table. Auto-Scaling Group notification configuration items
- For detailed information about notification settings, refer to 알림 추가하기.
- In the Additional Information Input area, enter or select the required information.
Category required statusDetailed description Status check Selection Check the status of Virtual Server and Load Balancer and replace servers that are in an Unhealthy state - Virtual Server status check: Enabled is the default and cannot be changed
- Load Balancer status check: Enabled only when a Load Balancer is connected in the service information input area
- Grace period: Set the time to defer status checks until the newly added server operates normally
- Enter 0 to disable the status check grace period
tag Selection Add Tag - Up to 50 per resource can be added
- Add Tag button after clicking, enter or select Key, Value values
Table. Auto-Scaling Group additional information input fieldsCautionA server that the user changes to Stop is not considered Unhealthy, so even when using the health check feature, the server will not be replaced.
- In the Launch Configuration area, select the Launch Configuration.
Summary Check the detailed information and estimated billing amount generated in the panel, and click the Create button.
- When creation is complete, verify the created Auto-Scaling Group on the Auto-Scaling Group list page.
Auto-Scaling Group Check detailed information
The Auto-Scaling Group service allows you to view and edit the full resource list and detailed information. Auto-Scaling Group Details page is organized into Detailed Information, Policies, Schedule, Virtual Server, Load Balancer, Tags, Operation History tabs.
To view detailed information about the Auto-Scaling Group, follow these steps.
- All Services > Compute > Virtual Server menu, click. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Navigate to the Auto-Scaling Group List page.
- Auto-Scaling Group List page, click the resource to view detailed information. 3. Go to the Auto-Scaling Group Details page.
- Auto-Scaling Group Details The page displays status information and additional feature information, and Details, Policies, Schedule, Virtual Server, Load Balancer, Tags, Operation History are organized as tabs.
Category Detailed description Auto-Scaling Group status Status of the Auto-Scaling Group created by the user - Creating: Creating Auto-Scaling Group
- In Service: In Service
- Scale In: Scale In in progress
- Scale Out: Scale Out in progress
- Cool Down: Cooling down
- Terminating: Terminating Auto-Scaling Group
- Attach to LB: Attaching to Load Balancer
- Detach from LB: Detaching from Load Balancer
Delete Auto-Scaling Group Button to delete Auto-Scaling Group Table. Auto-Scaling Group status information and additional features
- Auto-Scaling Group Details The page displays status information and additional feature information, and Details, Policies, Schedule, Virtual Server, Load Balancer, Tags, Operation History are organized as tabs.
Detailed Information
Auto-Scaling Group list page allows you to view detailed information of the selected resource and, if needed, modify the information.
| 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 |
| Constructor | User who created the service |
| Creation date and time | Service creation date and time |
| Modifier | User who edited the service information |
| Modification date and time | Date and time the service information was modified |
| Auto-Scaling Group name | Auto-Scaling Group name |
| Launch Configuration name | When creating an Auto-Scaling Group, the selected Launch Configuration name
|
| Number of servers | Current number of servers created in the Auto-Scaling Group and the configured Min, Desired, Max server counts
|
| Desired server count manual setting | Desired server count manual setting enable/disable
|
| VPC | Auto-Scaling Group VPC information |
| Standard Subnet | General Subnet and NAT IP usage information for Auto-Scaling Group |
| Local Subnet | Local Subnet of Auto-Scaling Group |
| Security Group | Auto-Scaling Group’s Security Group
|
| Status check | Whether to use the replacement function for Virtual Server and Load Balancer in an Unhealthy state
|
Policy
On the Auto-Scaling Group List page, you can view the list of policies for the selected resource and, if needed, add or manage policies.
| Category | Detailed description |
|---|---|
| Category | Policy Type
|
| Policy Name | Name for policy classification |
| Execution conditions | Conditions to trigger the policy
|
| execution unit | Policy execution method
|
| Cooldown | The waiting time (seconds) when a server is started or terminated due to a policy
|
| More > Edit | Modify the policy information
|
| More > Activate | Enable this policy
|
| More > Disable | Disable this policy
|
Schedule
Auto-Scaling Group List page allows you to view the schedule list of the selected resources and, if necessary, add or manage schedules.
| Category | Detailed description |
|---|---|
| name | Schedule name |
| Min | Minimum number of servers set in the schedule |
| Desired | Number of target servers set in the schedule |
| Max | Maximum number of servers set in the schedule |
| Period | Schedule execution frequency
|
| Date/Day | Schedule execution date or day of week
|
| Execution time | Schedule execution time |
| Time zone | Schedule execution time window |
| status | Schedule status |
| More > Edit | Edit the schedule information |
| More > Activate | Activate this schedule
|
| More > Disable | Disable this schedule
|
| Add schedule | Add a new schedule |
| Delete | Delete the selected schedule from the list |
Virtual Server
On the Auto-Scaling Group List page, you can view the Virtual Server list of the selected resource.
| Category | Detailed description |
|---|---|
| Server name | Server name created in the Auto-Scaling Group
|
| IP | IP assigned to the server |
| Creation date and time | The date and time the server was created |
| status | Result of status check for Virtual Server and Load Balancer
|
Load Balancer
Auto-Scaling Group List page allows you to view the Load Balancer list of the selected resources, and, if necessary, you can add or manage Load Balancers.
| Category | Detailed description |
|---|---|
| Draining Timeout | Whether to use Draining Timeout
|
| Load Balancer | Load Balancer usage
|
| Load Balancer > Load Balancer name | Load Balancer name to attach to the Auto-Scaling Group |
| Load Balancer > LB server group | Load Balancer’s LB server group
|
| Load Balancer > Port | Port registered as a Member in the LB server group |
- The LB server group member information set in the Auto-Scaling Group can also be checked in LB 서버 그룹 연결된 자원.
- Also, if manual connection/disconnection between the server and Load Balancer is required, please refer to LB 서버 그룹 Member 추기하기.
Notification
On the Auto-Scaling Group List page, you can view the notification recipients and notification methods for the selected resource.
| Category | Detailed description |
|---|---|
| Notification recipient | Name of the notification recipient |
| Notification recipient’s email | |
| Create Server | Whether to send a notification when a server creation-related alert occurs
|
| Server termination | Whether to send a notification when a server termination-related alert occurs
|
| When the policy execution condition is met | Whether a notification is triggered when the policy execution conditions are met |
| status | Notification activation status
|
| More > Edit | Edit the notification information |
| More > Activate | Enable this notification information
|
| More > Disable | Disable the notification information
|
| Add notification | Add a new notification |
| Delete | Delete the selected notification from the list |
Tag
On the Auto-Scaling Group List page, you can view the tag information of the selected resource, and you can add, modify, or delete it.
| Category | Detailed description |
|---|---|
| Tag list | Tag list
|
Operation History
Auto-Scaling Group List page allows you to view the operation history of the selected resource.
| Category | Detailed description |
|---|---|
| Task History List | Resource Change History
|
Auto-Scaling Group Managing Resources
If you need management functions for the created Auto-Scaling Group, you can perform tasks on the Auto-Scaling Group Details page.
Edit Launch Configuration
You can modify the Launch Configuration of an Auto-Scaling Group.
To modify the Launch Configuration of an Auto-Scaling Group, follow these steps.
All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
Click the Auto-Scaling Group menu. 2. Go to the Auto-Scaling Group List page.
On the Auto-Scaling Group List page, click the resource to edit the Launch Configuration. 3. Auto-Scaling Group Details Navigate to the page.
Click the Edit button for the Launch Configuration name. 4. Launch Configuration Edit The popup window opens. 4. You can view the list of selectable 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 with a Launch Configuration applied View Details Button to view Launch Configuration details Table. Launch Configuration list itemsLaunch Configuration Edit In the popup window, select the Launch Configuration to change, then click the Confirm button. 5. Launch Configuration Modification Notification A popup window opens. 5. Launch Configuration Modification Notification Check the message in the popup window and click the Confirm button.
Modify server count
You can modify the number of servers in the Auto-Scaling Group.
To modify the number of servers in an Auto-Scaling Group, follow these steps.
- All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Navigate to the Auto-Scaling Group List page.
- On the Auto-Scaling Group List page, click the resource to modify the server count. 3. Go to the Auto-Scaling Group Details page.
- Click the Edit server count button. 4. Edit Server Count popup window opens.
- Edit Server Count After entering the required fields in the popup window, click the Confirm button.
Category required statusDetailed description Number of servers > Min Required Minimum number of servers to modify - Set the number of servers that the Auto-Scaling Group maintains at a minimum
Number of servers > Desired Required Number of target servers to modify - Set the number of target servers within the Auto-Scaling Group
- Desired server count manual setting is disabled, you cannot modify the Desired server count. To modify the Desired server count, refer to Desired server count manual setting modification
Number of servers > Max Required Target number of servers to modify - Set the number of servers that the Auto-Scailg Group can maintain at maximum
Table. Auto-Scailg Group server count modification items
Terminate Virtual Server Created by Auto-Scaling Group
Virtual Server created in the Auto-Scaling Group can be terminated by clicking the Terminate button on its detail page or by modifying the server count.
- Please note that data cannot be recovered after terminating the service.
- To cancel the service, first disconnect the File Storage and disable the Lock. * If the File Storage is connected or a lock is set, the Virtual Server cannot be terminated.
- If you terminate a Virtual Server created in the Auto-Scaling Group, the associated Load Balancer is automatically detached.
- When a Virtual Server is terminated, the status of the attached Storage is as follows.
- If Delete on termination is not set: the volume will not be deleted even if the Virtual Server is terminated.
- When Delete on termination is set: If you terminate the Virtual Server, the volume will be deleted. * However, if a Snapshot exists, it will not be deleted even if Delete on termination is set.
- Multi-attach volume: It can only be deleted when the server you are trying to delete is the last remaining server attached to the volume.
Cancel on the Virtual Server detail page
To cancel a Virtual Server on the Virtual Server detail page, follow these steps.
- Click the All Services > Compute > Virtual Server menu. 1. Navigate to the Service Home page of the Virtual Server.
- On the Service Home page, click the Virtual Server menu. 2. Go to the Virtual Server List page.
- On the Virtual Server List page, select the Virtual Server created by the Auto-Scaling Group. 3. Navigate to the Virtual Server Details page.
- On the Virtual Server Details page, click the Service Cancellation button. 4. A popup window announcing the server termination opens.
- Confirm Click the button. 5. Server termination is complete.
Terminate by adjusting the server count
To terminate a Virtual Server by adjusting the server count, follow the steps below.
- All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Go to the Auto-Scaling Group List page.
- Auto-Scaling Group List page, click the resource to terminate the Virtual Server. 3. Auto-Scaling Group Details page.
- Click the Edit button for the Server Count item. 4. Edit Server Count popup window opens.
- Server Count Modification In the popup window, after reducing the Desired count, click the Confirm button. 5. When the desired number of servers is adjusted, the Virtual Server is terminated.
- Desired server count manual setting is unused, you cannot modify the Desired server count. * To modify the Desired server count, refer to Desired 서버 수 수동 설정 수정하기.
- When a Virtual Server is terminated, the Desired server count remains unchanged, and scale-out proceeds according to the Desired check batch.
Manually modify the desired number of servers
You can manually change the Desired server count setting of the Auto-Scaling Group.
To modify the manual setting of the Desired server count for an Auto-Scaling Group, follow these steps.
- All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Navigate to the Auto-Scaling Group List page.
- Auto-Scaling Group List page, click the resource to manually change the Desired server count. 3. Auto-Scaling Group Details Navigate to the page.
- Click the Edit server count button. 4. Desired server count manual setting The popup window opens.
- Desired server count manual setting After selecting whether to use it in the popup window, click the Confirm button.
Setting up Security Group
You can configure the Security Group of an Auto-Scaling Group.
Follow these steps to configure the Security Group of an Auto-Scaling Group.
All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
Click the Auto-Scaling Group menu. 2. Go to the Auto-Scaling Group List page.
Auto-Scaling Group List page, click the resource to configure the Security Group. 3. Go to the Auto-Scaling Group Details page.
Click the Edit button for Security Group. 4. Security Group Edit The popup window opens. 4. You can view the list of selectable Security Groups.
Category Detailed description Security Group name Security Group name Table. Security Group list itemsSecurity Group Edit In the popup window, after selecting the Security Group, click the Confirm button. 5. Security Group Modification Notification A popup window opens. 5. Security Group Modification Alert Check the message in the popup window and click the Confirm button.
Change status check
You can configure it to automatically replace servers that are in an Unhealthy state by checking the status of Virtual Server and Load Balancer.
- The Load Balancer status check feature can be used only when a Load Balancer is in use.
- A server that the user changes to Stop is not considered Unhealthy, so even when using the health check feature, the server will not be replaced.
- All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Go to the Auto-Scaling Group List page.
- On the Auto-Scaling Group List page, click the resource to modify the Load Balancer health check feature. 3. Navigate to the Auto-Scaling Group Details page.
- Click the Edit button of Status Check. 4. Edit Status Check The popup window opens.
- Status Check Edit In the popup, choose whether to enable Load Balancer Status Check.
- After entering the Grace period, click the Confirm button.
- If you do not want to use the grace period, set the grace period to 0.
Auto-Scaling Group Manage Additional Information
You can set the Auto-Scaling Group’s Load Balancer to enabled and select the LB server group. For an Auto-Scaling Group that uses a Load Balancer, you can set it to unused.
Load Balancer Draining Timeout Edit
You can set the Load Balancer Draining Timeout of an Auto-Scaling Group.
Draining Timeout is the time to wait before removing a server from the Load Balancer.
- Because sessions may remain connected to the server, setting a Draining Timeout and waiting can clean up sessions more safely.
- If the Load Balancer is unused, the Draining Timeout cannot be set.
- The default is 300 seconds, and it can be set from a minimum of 1 second up to a maximum of 3,600 seconds.
To set the Load Balancer Draining Timeout for an Auto-Scaling Group, follow these steps.
- All Services > Compute > Virtual Server menu, click it. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Go to the Auto-Scaling Group List page.
- Auto-Scaling Group List page, click the resource to configure the Load Balancer Draining Timeout. 3. Auto-Scaling Group Details Navigate to the page.
- Load Balancer Click the tab. 4. Load Balancer Navigate to the list page.
- Click the Edit button of Draining Timeout. 5. Draining Timeout Edit A popup window opens.
- Edit Draining Timeout In the popup window, select whether to use Draining Timeout, and enter the Draining Timeout duration (seconds).
- Draining Timeout Edit After checking the input value in the popup window, click the Confirm button. 7. Draining Timeout Modification Notification A popup window opens. 7. Check the message in the notification popup and click the Confirm button.
Using Load Balancer
You can modify the Load Balancer of an Auto-Scaling Group. To configure the Load Balancer of an Auto-Scaling Group, follow these steps.
- When a server in the Auto-Scaling Group is created, it is automatically added as a member of the selected Load Balancer’s LB server group, and when the server is terminated, it is removed from the LB server group’s members.
- If Draining Timeout is in use, after waiting for the Draining Timeout (seconds), the server is removed from the LB server group’s members.
- In the case of Member separation due to Load Balancer modification, it waits in Detach from LB state, and in the case of Member separation due to Scale In, it waits in Scale In state.
- All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Navigate to the Auto-Scaling Group List page.
- Auto-Scaling Group List page, click the resource to use with Load Balancer. 3. Go to the Auto-Scaling Group Details page.
- Load Balancer Click the tab. 3. Load Balancer Navigate to the list page.
- Click the Edit button of the Load Balancer. 4. Load Balancer Edit The popup window opens.
- Edit Load Balancer Please select whether to use it in the popup window. 5. If you select Use, you can select a Load Balancer.
Category Detailed description LB server group LB server group name - Select the LB server group that is created in the selected VPC
- LB server groups that use Weighted Round Robin or Weighted Least Connection load balancing cannot be selected
Port Port information of the LB server group - When registering as a member of the LB server group, enter the required port information in the registration details.
- Enter a value between 1 and 65,534
Table. Load Balancer list items- Click the + button to add an LB server group. * A maximum of three is allowed. * You can remove the Load Balancer you added by clicking the X button.
- Check the Load Balancer list and click the Confirm button. 6. Load Balancer Modification Notification A popup window opens. 6. Check the message in the notification popup and click the Confirm button.
- Please be aware that separating or connecting servers from the Load Balancer may impact the service.
- If the Draining Timeout is in use, setting the Load Balancer to unused or removing some of the connected Load Balancers with the X button will not disconnect them immediately. * After waiting for the Draining Timeout (seconds), the server is detached from the Load Balancer. * At this point, the Auto-Scaling Group waits in the Detach from LB state.
- The LB server group member information set in the Auto-Scaling Group can also be checked in LB 서버 그룹 연결된 자원.
- If manual connection/disconnection between the server and Load Balancer is required, refer to LB 서버 그룹 Member 등록하기.
Load Balancer Not Used
You can modify the Auto-Scaling Group’s Load Balancer to be disabled. To configure an Auto-Scaling Group without using a Load Balancer, follow these steps.
- Please be aware that separating or connecting servers from the Load Balancer may impact the service.
- If the Draining Timeout is in use, setting the Load Balancer to not used or removing some of the connected Load Balancers with the X button will not detach them immediately. * After waiting for Draining Timeout(seconds), the server is detached from the Load Balancer. * At this point, the Auto-Scaling Group waits in the Detach from LB state.
- All Services > Compute > Virtual Server Click the menu. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Auto-Scaling Group List Navigate to the page.
- On the Auto-Scaling Group List page, click the resource to set the Load Balancer to unused. 3. Auto-Scaling Group Details page.
- Load Balancer Click the tab. 4. Load Balancer Navigate to the list page.
- Click the Edit button of Load Balancer. 5. Load Balancer Edit The popup window opens.
- Edit Load Balancer Select whether to use it in the popup window. 6. If you deselect 사용, you will no longer use the Load Balancer.
- Uncheck the Use option and click the Confirm button. 7. Load Balancer Modification Notification A popup window opens. 7. Check the notification popup message and click the Confirm button.
Delete Auto-Scaling Group
Deleting unused Auto-Scaling Groups can reduce operating costs. However, if you terminate the Auto-Scaling Group, the running service may be stopped immediately, so you should proceed with the termination only after fully considering the impact of service interruption.
To terminate the Auto-Scaling Group, follow these steps.
- All Services > Compute > Virtual Server menu, click it. 1. Navigate to the Service Home page of the Virtual Server.
- Click the Auto-Scaling Group menu. 2. Go to the Auto-Scaling Group List page.
- Auto-Scaling Group List page, click the resource to terminate. 3. Go to the Auto-Scaling Group Details page.
- Click the Auto-Scaling Group Delete button.
- After the deletion is complete, verify on the Auto-Scaling Group List page that the resource has been deleted.