Tensorflow on Google Cloud Platform

0 votes
Which Google Cloud Platform service is the easiest for running Tensorflow?
Aug 1, 2018 in GCP by shams
• 3,580 points

1 answer to this question.

0 votes

There are a few ways to run Tensorflow:

  • CloudML
  • Datalab
  • and It can also be done manually
For Manually using Tensorflow:
  1. Create a project
  2. Open the Cloud Shell (a button at the top)
  3. List machine types: gcloud compute machine-types list. You can change the machine type I used in the next command.
  4. Create an instance:
gcloud compute instances create tf \
  --image container-vm \
  --zone europe-west1-c \
  --machine-type n1-standard-2
  1. Run sudo docker run -d -p 8888:8888 --name tf b.gcr.io/tensorflow-udacity/assignments:0.5.0 (change the image name to the desired one)
  2. Find your instance in the dashboard and edit the default network.
  3. Add a firewall rule to allow your IP as well as protocol and port tcp:8888.
  4. Find the External IP of the instance from the dashboard. Open IP:8888 on your browser. Done!
  5. When you are finished, delete the created cluster to avoid charges.
answered Aug 1, 2018 by kurt_cobain
• 9,240 points

Related Questions In GCP

0 votes
0 answers

where is drop down menu for the google cloud platform

Jul 29 in GCP by anonymous
+1 vote
2 answers

How to open a port on google compute engine

You need to set the firewall rule ...READ MORE

answered Jul 9 in GCP by K sagar
+2 votes
2 answers

How to download multiple files in Google Cloud Storage?

You can achieve this through the gsutil ...READ MORE

answered May 9, 2018 in GCP by kurt_cobain
• 9,240 points
0 votes
2 answers
0 votes
2 answers

Google Cloud datastore vs firebase

Google has already made a guide for ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 56,520 points
0 votes
2 answers

How to transfer google cloud project ownership?

Go to IAM and Admin Then Select IAM Click Add Provide another user's ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 56,520 points
0 votes
1 answer
+3 votes
11 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18 in GCP by dodge123@yahoo.com
0 votes
1 answer

How to delete a project from Google Cloud Console

First of all, select the project you ...READ MORE

answered Apr 18, 2018 in GCP by kurt_cobain
• 9,240 points