18 lines
377 B
Markdown
18 lines
377 B
Markdown
![]() |
### ECS With SLB Example
|
||
|
|
||
|
The example launches ECS, disk, and attached the disk on ECS. It also creates an SLB, and addition the ECS to backendServer. The variables.tf can let you create specify parameter instances, such as image_id, ecs_type etc.
|
||
|
|
||
|
### Get up and running
|
||
|
|
||
|
* Planning phase
|
||
|
|
||
|
terraform plan
|
||
|
|
||
|
* Apply phase
|
||
|
|
||
|
terraform apply
|
||
|
|
||
|
|
||
|
* Destroy
|
||
|
|
||
|
terraform destroy
|