apt-get install curl apt-transport-https -yf
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
apt-get update && apt-get install google-cloud-sdk -yf
gcloud init
gsutil -m rsync -d -r /data/ gs://[bucket]/data

Enable SWAP:

dd if=/dev/zero of=/var/swap bs=2048 count=500000
 chmod 600 /var/swap
 mkswap /var/swap
 swapon /var/swap
 apt upgrade

Setting Up | rsync commands