Join Joseph Lowery for an in-depth discussion in this video Prepping to insert a new disk, part of Google Cloud Compute Engine Essential Training.
- View Offline
- Exercise Files
- There are really two stages to adding…a Compute Engine VM instance to your project…through the Google Cloud API.…First, you need to insert a root persistent disk…to contain the virtual machine instance.…And then you need to add the instance itself.…The actual Python code combines the insertion of the disk…with the creation of the instance.…But in this lesson we'll focus on prepping…for the disk phase.…Just as being able to list your instances…is a good first step toward creating one,…it'll be helpful to be able to list the current disks…and we can leverage our existing code to do it quickly.…
In my vm-manager.py file, I'm going to duplicate the routine…that we established for listing instances…and then modify it for disks.…So I'll scroll down here to where that routine exists,…select it and its extra little space there…and then paste it in.…And we'll even change the comment here…so there's no confusion.…Now it's just a matter of going through…and changing instances to disks.…
So the first is on line 57.…I don't need to change the parameters.…
- Integrating with Google Cloud products
- Setting up the Google Cloud SDK
- Creating a Compute Engine instance
- Authenticating users
- Working with Python and Compute Engine
- Managing resources
- Implementing network load balancing
Skill Level Intermediate
Amazon Web Services Essential Trainingwith Jeff Winesett3h 56m Intermediate
1. Introduction to Google Cloud Compute Engine
Getting underway6m 17s
2. Exploring Compute Engine
3. Integrating User Authentication
5. Working with Python and Compute Engine
6. Managing Resources with Compute Engine
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.