How to set root device size when creating new instance?

How big is the migrate-gitea image once unpacked? If its around or greater than 5GB then that is why you are getting those out of disk space errors.

Have you tried using increasingly larger sizes and see where it works?