March 2019
Beginner to intermediate
778 pages
34h 20m
English
In this recipe, we'll create a Linux instance and run a simple Flask application. In the web application, we'll write code to capture an error and send it to Stackdriver Error Reporting:
$ gcloud compute instances create flask-instance --image=debian-9-stretch-v20180307 --image-project "debian-cloud" --machine-type=f1-micro --scopes cloud-platform --zone us-east1-c --tags flask-server --project <Project ID>
$ gcloud compute firewall-rules create default-allow-http-5000 --allow tcp:5000 --source-ranges 0.0.0.0/0 ...
Read now
Unlock full access