Looks like the only way to resize an Amazon EBS volume is to take snapshot, dismount, create a larger volume from the snapshot, mount the latter.
Now my program is running on a Windows EC2 instance and sees that it's out of disk space. How can the program resize the EBS volume the root partition resides on?