Chapter 5 Lab difficulties with exercises 5.2-7. and 5.3-5.
For 5.2-7. The instructions only say "..., download the JSON key file associated with it." for me it was not clear that the keys should be created first in order to download such "JSON key file"; so I lost some time looking for them before searching for clarification online and finally discovering that I have to create them.
For 5.3-5. "
I think the 'image' field in the main.tf file should be updated to a more recent image or family e.g.:
image = "debian-cloud/debian-11"
otherwise one might end up with an error like:
Error: Error resolving image name 'debian-cloud/debian-10': Could not find image or family debian-cloud/debian-10
Allow me to expand my account of the difficulties I had with these exercises in case it helps to improve the course.
Somehow after the first lab (Chapter3Lab) I ended up with 2 Google Cloud projects, I think I got one (automatically) by just pressing a button like "demo-project" and the one I manually created for the virtual machine "cp" for that lab. So when going over the "gcloud init" command I tried to select the manually created one with the virtual machine cp but the "JSON key file" that I manage to download had the name of the other project which was not the same I entered on the main.tf files; then I had no issues until I tried "terraform apply" and initially I got an error that was solved by enabling the "Compute Engine API" then I struggled with an error that said something like: "Error: Error loading zone 'us-central1-a': googleapi: Error 403:..." at that moment I got very confused because while trying to review the parameters on the Web browser for a while I was not able to list/view neither the service account I had created before nor the project I was trying to use on the main.tf file. Eventually it occurred to me that I should try to use the other project and when I did I still got the issue about the image field that I mentioned above and after fixing it, everything ran as expected. While doing my final reviews of the newly created images I was able again to list/view my service account and my other project on the Google Cloud console.
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 4 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 983 Software
- 375 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)