'how to resize windows ec2 root volume (c)
is there an automated way to resize a windows ec2 instance root volume (c)?
- expand the root volume by 10GB
- extend the disk within the OS
Solution 1:[1]
There is no ideal way to do that without cloud watch metrics irrespective of ec2 or windows.
Yes, a crude way can be to utilize the windows command line du
tool and run a cron job with it. and store the disk info in a file.
Run grep on the file, if low disk space message is there, run your script
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Jatin Mehrotra |