Suppose you’ve been asked to provide a virtual server for a developer team. After a few months, the developer team realizes the virtual server needs more CPU power, because the usage pattern has changed. You can handle that request with the CLI and the SDK, but as you learned in section 3.4, before the instance type can be changed, you must stop the instance. The process will be as follows: stop the instance, wait for the instance to stop, change the instance type, start the instance, and wait for the instance to start.
A descriptive approach like that used by CloudFormation is ...
- Chapter 4. Programming your infrastructure: the command line, SDKs, and CloudFormation
- from Amazon Web Services in Action
- Publisher: Manning Publications
- Released: October 2015
Nice example of why descriptive approach is much better than manual scripting.