Changes the instance type of one or more EC2 instances. Useful for demonstrating vertical scaling -- resize a t2.micro to a t2.large and back without reprovisioning.
- AWS credential configured
- Running EC2 instances to resize
| Prompt | Variable | Type | Required |
|---|---|---|---|
| Server Name or Pattern | _hosts |
text | Yes |
| Template | Playbook | Description |
|---|---|---|
| Cloud ǀ AWS ǀ Resize EC2 | cloud/resize_ec2.yml |
Stops the instance, changes instance type, and restarts it |
| Demo | Description |
|---|---|
| ☁️ AWS — Snapshot EC2 | Take a snapshot before resizing as a safety measure |
| 🚀 Deploy Cloud Stack in AWS | Create instances to resize |