./upload_to_upcloud.sh and it'll download the latest qcow2 image,
then upload the raw version to UpCloud as a template.
It's smart, too. It won't needlessly redownload the latest image if it doesn't need to, nor will it upload it to UpCloud if it exists already in your account.
You'll need a few tools: