Skip to content

Instantly share code, notes, and snippets.

@inbeom
inbeom / resize_instance.sh
Created November 5, 2012 12:14 — forked from thefron/resize_instance.sh
EC2 instance resizing script
#!/bin/bash
# resize_instance.sh
# Resize specified instance with given size
# resize_instance.sh [instance_id] [size]
# This script is based on http://alestic.com/2010/02/ec2-resize-running-ebs-root
E_BADARGS=65
if [ ! -n "$1" ]
then