Users can create the service by entering the required information for an 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 these steps.
Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
Click the Auto-Scaling Group menu. You will be taken to the Auto-Scaling Group List page.
On the Auto-Scaling Group List page, click the Create Auto-Scaling Group button. You will be taken to the Create Auto-Scaling Group 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.
- Launch Configuration creation button can be clicked to create a new Launch Configuration.
- Enter or select the required information in the Service Information Input area.
Category Whether 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 to be created within the Auto-Scaling Group - The server name is automatically assigned as a combination of the entered server name and a sequence, serving as an identifier to distinguish servers created within the Auto-Scaling Group.
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-Scaling Group should maintain
- Desired: Set the target number of servers within the Auto-Scaling Group; also indicates the number of servers initially created when the Auto-Scaling Group is created
- Max: Set the maximum number of servers the Auto-Scaling Group can maintain
- After creating the Auto-Scaling Group, you can adjust the settings using the Edit button. For details, see Modify Server Count
Desired server count manual setting Selection Select whether to manually change the Desired number of servers - Even after creating the Auto-Scaling Group, configure it via the Edit button. For details, refer to Manually edit Desired server count
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 using the modify button. For details, refer to Configure 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 a 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 termination
- If the Load Balancer is unused, Draining Timeout cannot be set
- The default is 300 seconds; you can enter a value from 1 second up to 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, see Using Auto-Scaling Group Load Balancer
Table. Auto-Scaling Group service information input items - In the Scaling policy setting area, set the scaling policy.
- For detailed information on policy settings, refer to Add Policy.
Category RequiredDetailed description Current setting Selection Set scaling policy now - Add Policy button click shows policy information input fields
Set later Selection After creating an Auto-Scaling Group, set policies on the detail information page Table. Auto-Scaling Group scaling policy configuration items
- For detailed information on policy settings, refer to Add Policy.
- In the Notification Settings area, configure the notification recipients and notification method.
- For detailed information on notification settings, see Add Notification.
Category Required?Detailed 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 about notification settings, see the details
- In the notification recipients list, click the Edit button to modify the notification information
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 on notification settings, see Add Notification.
- 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 Unhealthy - 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
- After clicking the Add Tag button, 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, check the created Auto-Scaling Group on the Auto-Scaling Group list page.
Check detailed information of Auto-Scaling Group
Auto-Scaling Group service allows you to view and edit the full resource list and detailed information. The Auto-Scaling Group Details page is composed of Details, Policies, Schedule, Virtual Server, Load Balancer, Tags, Operation History tabs.
To view detailed information about the Auto-Scaling Group, follow these steps.
- Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. You will be taken to the Auto-Scaling Group List page.
- On the Auto-Scaling Group List page, click the resource to view detailed information. You will be taken to the Auto-Scaling Group Details page.
- Auto-Scaling Group Details page displays status information and additional feature information, and consists of Details, Policies, Schedule, Virtual Server, Load Balancer, Tags, Activity History 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: Serviceable state
- 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 page displays status information and additional feature information, and consists of Details, Policies, Schedule, Virtual Server, Load Balancer, Tags, Activity History tabs.
Detailed Information
Auto-Scaling Group List page lets you view detailed information of the selected resource and modify it 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 |
| constructor | User who created the service |
| Creation date and time | Service creation date and time |
| editor | User who edited the service information |
| Modification date | 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 instances in the Auto-Scaling Group and the configured Min, Desired, Max instance counts
|
| Manually set the desired number of servers | Desired server count manual setting enable/disable
|
| VPC | VPC information of the Auto-Scaling Group |
| General Subnet | General Subnet and NAT IP usage information for the 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 Unhealthy state
|
Policy
On the Auto-Scaling Group List page, you can view the policy list of the selected resource and, if needed, add or manage policies.
| Category | Detailed description |
|---|---|
| Category | Policy Type
|
| Policy Name | Name for policy-specific categorization |
| Execution conditions | Conditions to trigger the policy
|
| execution unit | Method of executing the policy
|
| Cool down | The waiting time (seconds) when a server is started or terminated due to a policy
|
| More > Edit | Modify the policy information
|
| More > Enable | Enable this policy
|
| More > Disable | Disable the policy
|
Schedule
On the Auto-Scaling Group List page, you can view the schedule list of the selected resource 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 of Week | 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 | Deactivate this schedule
|
| Add schedule | Add a new schedule |
| Delete | Delete the selected schedule from the list |
Virtual Server
Auto-Scaling Group List You can view the Virtual Server list of the selected resource on the page.
| Category | Detailed description |
|---|---|
| Server name | If you click the Server Name of the server 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
On the Auto-Scaling Group List page, you can view the Load Balancer list of the selected resource, and, if needed, add or manage Load Balancers.
| Category | Detailed description |
|---|---|
| Draining Timeout | Draining Timeout usage
|
| 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 | LB server group of the Load Balancer
|
| Load Balancer > Port | Port registered as a member in the LB server group |
- The LB server group member information configured in the Auto-Scaling Group can also be viewed in LB Server Group Connected Resources.
- Also, if manual connection/disconnection between the server and the Load Balancer is required, see Add LB Server Group Member.
Notification
Auto-Scaling Group List page allows you to 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 notifications 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 satisfied | Whether to generate a notification when the policy execution condition is satisfied |
| status | Notification activation status
|
| More > Edit | Edit the notification information |
| Show more > Enable | Enable this notification information
|
| More > Disable | Disable this notification information
|
| Add notification | Add a new notification |
| Delete | Delete the selected notification from the list |
tag
Auto-Scaling Group List page lets you view the tag information of selected resources, and add, modify, or delete them.
| Category | Detailed description |
|---|---|
| Tag list | Tag list
|
Work History
You can view the operation history of the selected resource on the Auto-Scaling Group List page.
| Category | Detailed description |
|---|---|
| Task History List | Resource Change History
|
Auto-Scaling Group Managing Resources
If you need to manage a created Auto-Scaling Group, you can perform actions 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.
Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
Click the Auto-Scaling Group menu. You will be taken to the Auto-Scaling Group list page.
On the Auto-Scaling Group List page, click the resource you want to edit the Launch Configuration for. You will be taken to the Auto-Scaling Group Details page.
Launch Configuration name. Click the Edit button. The Launch Configuration Edit popup opens. 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 Number of Auto-Scaling Groups Number of Auto-Scailg Groups with Launch Configuration applied View Details Button to view Launch Configuration details Table. Launch Configuration list itemsIn the Launch Configuration Edit popup, select the Launch Configuration to modify, then click the Confirm button. The Launch Configuration Edit Notification popup opens. Check the message in the Launch Configuration Edit Notification popup and click the Confirm button.
Edit 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.
- Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. You will be taken to the Auto-Scaling Group list page.
- On the Auto-Scaling Group List page, click the resource to edit the server count. You will be taken to the Auto-Scaling Group Details page.
- Click the Edit button for server count. The Edit Server Count popup opens.
- Modify Server Count In the popup window, after entering the required fields, click the Confirm button.
Category RequiredDetailed description Number of servers > Min Required Minimum number of servers to modify - Set the number of servers that the Auto-Scaling Group should maintain at a minimum
Number of servers > Desired Required Target server count to modify - Set the target server count 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, see Desired server count manual setting modification
Number of servers > Max Required Target number of servers to modify - Set the maximum number of servers the Auto-Scailg Group can maintain
Table. Auto-Scailg Group server count modification items
Terminate Virtual Server Created by Auto-Scaling Group
Virtual Servers created in an Auto-Scaling Group can be terminated by clicking the terminate button on the Virtual Server’s detail page or by modifying the server count.
- Be careful, as 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, you cannot cancel the Virtual Server.
- If you terminate a Virtual Server created in an 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: terminating the Virtual Server deletes the volume. However, if a Snapshot exists, the volume is not deleted even when Delete on termination is set.
- Multi attach volume: It can be deleted only when the server you are deleting 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. Navigate to the Service Home page of Virtual Server.
- On the Service Home page, click the Virtual Server menu. You will be taken to the Virtual Server List page.
- On the Virtual Server List page, select the Virtual Server created by the Auto-Scaling Group. Navigate to the Virtual Server Details page.
- Click the Cancel Service button on the Virtual Server Details page. A popup confirming the server termination will appear.
- Click the Confirm button. Server termination is complete.
Cancel by adjusting the server count
To cancel a Virtual Server by modifying the server count, follow the steps below.
- Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. Navigate to the Auto-Scaling Group List page.
- On the Auto-Scaling Group List page, click the resource to terminate the Virtual Server. You will be taken to the Auto-Scaling Group Details page.
- Click the Edit button of the Server Count item. The Server Count Edit popup opens.
- Server Count Edit In the popup window, after reducing the Desired number, click the Confirm button. As the Desired server count is adjusted, the Virtual Server will be terminated.
- If Desired server count manual setting is set to unused, you cannot modify the Desired server count. To modify the Desired server count, see Desired server count manual setting modification.
- When a Virtual Server is terminated, the Desired server count remains unchanged, and scale‑out proceeds according to the Desired check batch.
Modify manual setting of desired server count
You can manually change the Desired server count of the Auto-Scaling Group.
To modify the manual setting of the Desired server count for an Auto-Scaling Group, follow these steps.
- Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. You will be taken to the Auto-Scaling Group List page.
- On the Auto-Scaling Group List page, click the resource to manually change the Desired server count. You will be taken to the Auto-Scaling Group Details page.
- Click the Edit button for the server count. The Desired server count manual setting popup opens.
- Desired server count manual setting After selecting whether to use it in the popup window, click the Confirm button.
Configure 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.
Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
Click the Auto-Scaling Group menu. You will be taken to the Auto-Scaling Group List page.
On the Auto-Scaling Group List page, click the resource to configure the Security Group. You will be taken to the Auto-Scaling Group Details page.
Click the Edit button for Security Group. Security Group Edit popup opens. 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. Security Group edit notification popup opens. Check the message of the Security Group edit notification popup and click the Confirm button.
Change status check
You can configure it to check the status of Virtual Server and Load Balancer and automatically replace servers that are in an Unhealthy state.
- The Load Balancer status check feature can only be used when a Load Balancer is in use.
- A server that the user changes to Stop is not considered Unhealthy, so even if you use the health check feature, the server will not be replaced.
- Click the All Services > Compute > Virtual Server menu. Go to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. Go to the Auto-Scaling Group list page.
- On the Auto-Scaling Group List page, click the resource for which you want to change the Load Balancer health check function. You will be taken to the Auto-Scaling Group Details page.
- Click the Edit button of Status Check. Status Check Edit 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.
Manage Additional Information for Auto-Scaling Group
You can set the Load Balancer of an Auto-Scaling Group to enabled and select the LB server group. For an Auto-Scaling Group that is using a Load Balancer, you can change it to disabled.
Modify Load Balancer Draining Timeout
You can set the Load Balancer Draining Timeout of an Auto-Scaling Group.
The Draining Timeout is the time to wait before detaching a server from the Load Balancer.
- Because sessions may remain connected to the server, setting a Draining Timeout and waiting allows you to clean up sessions more safely.
- If the Load Balancer is unused, 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 of an Auto-Scaling Group, follow these steps.
- Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. You will be taken to the Auto-Scaling Group List page.
- Auto-Scaling Group List page, click the resource to set the Load Balancer Draining Timeout. You will be taken to the Auto-Scaling Group Details page.
- Click the Load Balancer tab. You will be taken to the Load Balancer list page.
- Click the Edit button for Draining Timeout. The Draining Timeout Edit popup opens.
- Draining Timeout Edit In the popup window, select whether to use Draining Timeout, and enter the Draining Timeout duration (seconds).
- Draining Timeout Edit After verifying the input values in the popup window, click the Confirm button. Draining Timeout Edit Notification popup window opens. 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 used, after waiting for the Draining Timeout (seconds), the server is removed from the LB server group’s members.
- When a Member is separated due to Load Balancer modification, it waits in the Detach from LB state; when a Member is separated due to Scale In, it waits in the Scale In state.
- Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. Navigate to the Auto-Scaling Group List page.
- On the Auto-Scaling Group List page, click the resource that will use the Load Balancer. Navigate to the Auto-Scaling Group Details page.
- Click the Load Balancer tab. You will be taken to the Load Balancer list page.
- Click the Edit button of the Load Balancer. The Load Balancer Edit popup opens.
- Load Balancer Edit Please select whether to use it in the popup. Selecting Use allows you to choose 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. Up to three are allowed. Click the X button to remove the added Load Balancer.
- Check the Load Balancer list and click the Confirm button. Load Balancer Modification Notification popup opens. Verify the message in the notification popup and click the Confirm button.
- Please be careful, as separating or connecting servers from the Load Balancer may affect the service.
- If Draining Timeout is in use, setting the Load Balancer to unused or removing some of the attached Load Balancers with the X button will not detach immediately. After waiting for the Draining Timeout (seconds), the server is detached from the Load Balancer. At that time, the Auto-Scaling Group remains in the Detach from LB state.
- The LB server group member information configured in the Auto-Scaling Group can also be viewed in LB Server Group Connected Resources.
- Also, if manual connection/disconnection between the server and Load Balancer is required, please refer to Register LB Server Group Member.
Not Using Load Balancer
You can modify the Auto-Scaling Group’s Load Balancer to be unused. To set the Auto-Scaling Group’s Load Balancer to unused, follow these steps.
- Please be careful as there may be service impact when separating or connecting servers from the Load Balancer.
- If Draining Timeout is in use, setting the Load Balancer to unused or removing some of the attached Load Balancers with the X button will not detach immediately. After waiting for the Draining Timeout (seconds), the server is detached from the Load Balancer. At that time, the Auto-Scaling Group remains in the Detach from LB state.
- Click the All Services > Compute > Virtual Server menu. Go to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. You will be taken to the Auto-Scaling Group List page.
- On the Auto-Scaling Group List page, click the resource to change the Load Balancer to unused. You will be taken to the Auto-Scaling Group Details page.
- Click the Load Balancer tab. You will be taken to the Load Balancer list page.
- Click the Edit button of the Load Balancer. The Load Balancer Edit popup opens.
- Load Balancer edit Choose whether to use it in the popup window. If you deselect Use, Load Balancer will no longer be used.
- Use deselection, and click the Confirm button. Load Balancer Modification Notification popup opens. Verify the message in the notification popup and click the Confirm button.
Delete Auto-Scaling Group
Deleting an unused Auto-Scaling Group can reduce operational costs. However, terminating an Auto-Scaling Group may cause the running service to stop immediately, so you should thoroughly consider the impact of service interruption before proceeding with the termination.
To terminate an Auto-Scaling Group, follow these steps.
- Click the All Services > Compute > Virtual Server menu. Navigate to the Service Home page of Virtual Server.
- Click the Auto-Scaling Group menu. Navigate to the Auto-Scaling Group List page.
- On the Auto-Scaling Group List page, click the resource to terminate. Navigate to the Auto-Scaling Group Details page.
- Click the Auto-Scaling Group Delete button.
- After the deletion is complete, verify that the resource has been removed on the Auto-Scaling Group List page.