Comment 20 for bug 634487

ultan,
  ec2-stop-instance ${IID}
  ec2-modify-instance-attribute --instance-type m1.small ${IID}
  ec2-start-instances ${IID}
  ssh to instance and do whatever you want
  ec2-stop-instance ${IID}
  ec2-modify-instance-attribute --instance-type t1.micro ${IID}
  ec2-start-instances ${IID}