1.1
1.1
scpcli virtualserver auto scaling group create
--subnet_ids <value>
--server_name_prefix <value>
--name <value>
--min_server_count <value>
--max_server_count <value>
--launch_configuration_id <value>
--desired_server_count_editable <value>
--desired_server_count <value>
[--drain_enabled <value>]
[--drain_timeout <value>]
[--lb_server_groups <value>]
[--notifications <value>]
[--scaling_policies <value>]
[--security_group_ids <value>]
[--tags <value>]
Description
Auto-Scaling Group을 생성한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| subnet_ids required | array | Subnet ID 목록 | - |
| server_name_prefix required | string | 서버 이름 접두사 | server-name-prefix |
| name required | string | Auto-Scaling Group 이름 | auto-scaling-group-name |
| min_server_count required | integer | 최소 서버 수 | 1 |
| max_server_count required | integer | 최대 서버 수 | 2 |
| launch_configuration_id required | string | Launch Configuration ID | b5aea5a675fc4f6b9e0fcd1288354c5f |
| desired_server_count_editable required | boolean | 목표 서버 수 수정 가능 여부 | True |
| desired_server_count required | integer | 목표 서버 수 | 1 |
| drain_enabled optional | boolean | Drain 사용 여부 | True |
| drain_timeout optional | integer | Drain timeout 값 | 300 |
| lb_server_groups optional | array | LB 서버 그룹 목록 | '{"id": "d06e87d3-ca9a-461b-8e88-077a542a7335", "port": 8080}' |
| notifications optional | array | Notifications | '{"notification_events": ["SCALE_OUT", "SCALE_OUT_FAIL"], "user_ids": ["570907805e5447be84b618450ef52o0t"]}' |
| scaling_policies optional | array | Scaling policy list | '{"comparison_operator": "ge", "cooldown_seconds": 300, "evaluation_minutes": 1, "metric_method": "AVG", "metric_type": "CPU", "name": "policy-name", "scale_method": "AMOUNT", "scale_type": "SCALE_OUT", "scale_value": 10, "threshold": 60}' |
| security_group_ids optional | array | Security Group ID 목록 | [ |
| tags optional | array | Tags | '{"key": "Key", "value": "Value"}' |
Responses
| Name | Description | Example |
|---|---|---|
| id | LB 서버 그룹 ID | d06e87d3-ca9a-461b-8e88-077a542a7335 |
| port | LB 서버 그룹 포트 | 8080 |