This is an old revision of the document!
Given that the device is /dev/vda and the system partition (/) is at /dev/vda1, we run this commands:
growpart /dev/vda 1 resize2fs /dev/vda1