The default 10GB is may not be enough to build the application docker images. Thus, let us resize the EBS volume used by the Cloud9 instance.
To change the EBS volume, please do
Modify the EBS volume.
Choose a new volume size (e.g. 100GB).
Please make sure changes went through, and the EBS volume now reflects the new size of the volume.
Changing the block device does not increase the size of the file system.
To do so head back to the Cloud9 instance and use the following commands.
sudo growpart /dev/xvda 1
sudo resize2fs $(df -h |awk '/^\/dev/{print $1}')
The root file-system should now show 99GB.
df --human-readable
Filesystem Size Used Avail Use% Mounted on
devtmpfs 483M 60K 483M 1% /dev
tmpfs 493M 0 493M 0% /dev/shm
/dev/xvda1 99G 8.0G 91G 9% /