Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Install-Module GoogleCloud -Scope CurrentUser -Repository PSGallery -Force
Type gcloud init --console-only
to initialize Cloud SDK
- got to (New-Project on GCE) Type in your project-name, we will use it later.
- go to
https://console.cloud.google.com/apis/library/compute.googleapis.com?project=YOUR_PROJECT_NAME
and enable Compute Api.
./createServer.ps1 -ProjectName "Screeps" -Zone "europe-west3-c"
is the minimal command. u can use -Verbose
to get extra Info of what is going on.
If u need help with the PS-Commands, here is some help
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt install docker-ce
sudo usermod -aG docker ${USER}
sudo usermod -aG docker USERNAME
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
cd /opt
sudo git clone https://github.com/Kaimodo/Screeps-launcher-Docker-compose-grafana
cd Screeps-launcher-Docker-compose-grafana
From here you can follow
If u want to remove the VM and it's resources just call .\deleteServer.ps1 -ProjectName "Screeps" -Zone "europe-west3-c"