Join Joseph Lowery for an in-depth discussion in this video Displaying available instances, part of Google Cloud Compute Engine Essential Training.
- Now that we're authorized,…let's see what kind of information…we can extract from Compute Engine.…Before you start inserting disks and adding new instances…you'll want to know exactly…which instances you already have.…Details that are readily accessible…via the Google Cloud Compute Engine APIs.…And initializing those APIs is our first step…toward listing available disks and instances.…So I have opened the VM manager.py file…I've been working with.…And now I'm gonna open up an asset file…found in the chapter 5 0503 folder.…
And the start folder to be precise…called assets.py.…This has the code that I'll need…to power up the APIs…as well as list the instances.…So, let's begin by incorporating the variables…we'll need to initialize the APIs first.…There are three located right at the top of the file.…The API version,…the Google Cloud Compute Engine API URL…that uses that API version.…And the project ID…which currently has a placeholder value.…
So I'll copy these three variables,…switch over to my VM manager code…and then just paste it at the top…
- 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
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.