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,670 points
934 views

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.

Hope it helps!!

If you need to know more about Google Cloud, We recommend joining GCP Certification course today.

Thanks!

answered Aug 1, 2018 by kurt_cobain
• 9,350 points

Related Questions In GCP

0 votes
1 answer

Creating an alpha cluster using GKE on Google Cloud Platform.

The term Alpha cluster means that alpha APIs are ...READ MORE

answered Sep 27, 2019 in GCP by Sirajul
• 59,230 points
867 views
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
• 58,020 points
1,816 views
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
• 58,020 points
5,852 views
0 votes
1 answer
+7 votes
12 answers

How do I delete my Google Cloud Platform Account?

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

answered Jan 18, 2019 in GCP by dodge123@yahoo.com
164,783 views
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,350 points
2,883 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP