https://github.com/nov05/gcp-skills-boost/tree/dev/Create%20a%20Virtual%20Machine
Welcome to Cloud Shell! Type "help" to get started, or type "gemini" to try prompting with Gemini CLI.
Your Cloud Platform project in this session is set to qwiklabs-gcp-01-f1fe7040de18.
Use `gcloud config set project [PROJECT_ID]` to change to a different project.
student_01_0969eef077e9@cloudshell:~ (qwiklabs-gcp-01-f1fe7040de18)$ curl -LO https://raw.githubusercontent.com/Itsabhishek7py/GoogleCloudSkillsboost/main/Create%20a%20Virtual%20Machine/gsp001.sh
sudo chmod +x gsp001.sh
./gsp001.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3030 100 3030 0 0 67540 0 --:--:-- --:--:-- --:--:-- 68863
Starting Execution
Your active configuration is: [cloudshell-32620]
Created [https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-f1fe7040de18/zones/us-east1-c/instances/gcelab].
WARNING: Some requests generated warnings:
- The resource 'projects/debian-cloud/global/images/debian-11-bullseye-v20241009' is deprecated. A suggested replacement is 'projects/debian-cloud/global/images/debian-11-bullseye-v20241112'.
NAME: gcelab
ZONE: us-east1-c
MACHINE_TYPE: e2-medium
PREEMPTIBLE:
INTERNAL_IP: 10.142.0.2
EXTERNAL_IP: 34.148.166.45
STATUS: RUNNING
Created [https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-f1fe7040de18/zones/us-east1-c/instances/gcelab2].
NAME: gcelab2
ZONE: us-east1-c
MACHINE_TYPE: e2-medium
PREEMPTIBLE:
INTERNAL_IP: 10.142.0.3
EXTERNAL_IP: 35.227.26.250
STATUS: RUNNING
WARNING: The private SSH key file for gcloud does not exist.
WARNING: The public SSH key file for gcloud does not exist.
WARNING: You do not have an SSH key for gcloud.
WARNING: SSH keygen will be executed to generate a key.
Generating public/private rsa key pair.
Your identification has been saved in /home/student_01_0969eef077e9/.ssh/google_compute_engine
Your public key has been saved in /home/student_01_0969eef077e9/.ssh/google_compute_engine.pub
The key fingerprint is:
SHA256:WdCE03oN50hWL2cAf5nbYD/bkcykMgaHgMcso0HUELo student_01_0969eef077e9@cs-81852633492-default
The key's randomart image is:
+---[RSA 3072]----+
| o=+ +..=ooo |
| .. = ++.B..o o |
| . o + B.Bo X. |
| .. .o= o*==.|
| E S. + ..*o|
| . o =|
| ..|
| |
| |
E: The repository 'https://deb.debian.org/debian bullseye-backports Release' no longer has a Release file.
Creating firewall...working..Created [https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-f1fe7040de18/global/firewalls/allow-http].
Creating firewall...done.
NAME: allow-http
NETWORK: default
DIRECTION: INGRESS
PRIORITY: 1000
ALLOW: tcp:80
DENY:
DISABLED: False
**************************************************
* π CONGRATULATIONS FOR COMPLETING THE LAB! π *
**************************************************
* π DON'T FORGET TO SUBSCRIBE TO MY CHANNEL! π *
**************************************************
π https://www.youtube.com/@drabhishek.5460 π
student_01_0969eef077e9@cloudshell:~ (qwiklabs-gcp-01-f1fe7040de18)$
β The new script passed all the lab checks.
nov05/gcp-skills-boost@90d2fd7