简体   繁体   中英

AWS EC2 setting up auto scale

I am trying to setup auto scaling on an existing server using EC2 but using an existing instance. AWS's docs have the option --instance-id but that option is not listed/found in the CLI version I have. Nor is the as-attach-instance command.

How can I setup to monitor an existing instance?

The only alternative I have is having the auto scaling group create a min number of 1 instance and work off that but I'd rather avoid it if I can. Also, can I make sure auto-scaling will launch instances using the next available IP and not a random one?

Creating your autoscale group so that it launches into the VPC network with range you want should do it.

自动缩放

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM