Skip to content

Latest commit

 

History

History

autoscaling_sample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

AutoScaling example

This is the example of AutoScaling. This will create following resources.

  1. Create VPC
  2. Create Vswitch
  3. Create Security Group and set some rules
  4. Create SLB instance
  5. Create Scaling Group, binding SLB
  6. Create Scaling Configuration, launch ubuntu machine
  7. Create Scaling Rules, scale in/out

How to use

First you need to chnage configuration to yours.

$ cp terraform.tfvars.sample terrafrom.tfvars
$ vim terraform.tfvars
 => Edit variables with your favorite editor.

Deploy to Alibaba Cloud

$ terraform apply