What is GCP?
What is the need of GCP?
How is GCP different from other free cloud platforms?
How to access GCP?
1. Using URL go to www.cloud.google.com and signup for free using your gmail account.
2. Once the sign up is done, go to the same website which shoes "Go to Console" link
3. Clicking on the link will take you to google cloud page.
How to create a instance?
1. Once the google cloud page is displayed.
2. Click on products and services on the left side of the page and click on "Compute Engine and then on Vm instances and then on Create"
Create an Instance
NAME: devops
ZONE: us-central1-c ( Always select us zone as it is more secure compared to other zones)
MACHINE TYPE: 1vCPU (A minimum of 1 virtual cpu is sufficient for practicing devops module)
BOOT DISK: Centos 7 (For practice)
IDENTIFY AND API ACCESS: Compute Engine default service account( Default)
ACCESS SCOPES: Allow default access (Default)
Firewall:
Management, disks, networking, SSH keys
SSH KEYS:
Go to bit bash and be in users location like /c/Users/kanchana
kanchana@ved_kanchana MINGW32 ~ (master)
$ pwd
/c/Users/kanchana
kanchana@ved_kanchana MINGW32 ~ (master)
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/kanchana/.ssh/id_rsa):
Created directory '/c/Users/kanchana/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/kanchana/.ssh/id_rsa.
Your public key has been saved in /c/Users/kanchana/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:z8Ae9mf3Zj0MKSGVlKC8HQfT1RGS+u0gzYC4bFm66EE kanchana@ved_kanchana
The key's randomart image is:
+---[RSA 2048]----+
| ++.+oooo|
| . . o= ... |
| o..o.. |
| oo+o+ |
| E..S.. * o |
| . O * o B . |
| .o o + = * .|
| ... o . =+|
| .. oo|
+----[SHA256]-----+
.ssh folder will be created under /c/Users/kanchana folder
There will be 2 files id_rsa and id_rsa.pub
copy the contents in id_rsa.pub and paste in ssh keys of GCP instance page.
Instance is created successfully.
Click on ssh in the instance , a new tab will be opened.
What is the need of GCP?
How is GCP different from other free cloud platforms?
How to access GCP?
1. Using URL go to www.cloud.google.com and signup for free using your gmail account.
2. Once the sign up is done, go to the same website which shoes "Go to Console" link
3. Clicking on the link will take you to google cloud page.
How to create a instance?
1. Once the google cloud page is displayed.
2. Click on products and services on the left side of the page and click on "Compute Engine and then on Vm instances and then on Create"
Create an Instance
NAME: devops
ZONE: us-central1-c ( Always select us zone as it is more secure compared to other zones)
MACHINE TYPE: 1vCPU (A minimum of 1 virtual cpu is sufficient for practicing devops module)
BOOT DISK: Centos 7 (For practice)
IDENTIFY AND API ACCESS: Compute Engine default service account( Default)
ACCESS SCOPES: Allow default access (Default)
Firewall:
Management, disks, networking, SSH keys
SSH KEYS:
Go to bit bash and be in users location like /c/Users/kanchana
kanchana@ved_kanchana MINGW32 ~ (master)
$ pwd
/c/Users/kanchana
kanchana@ved_kanchana MINGW32 ~ (master)
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/kanchana/.ssh/id_rsa):
Created directory '/c/Users/kanchana/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/kanchana/.ssh/id_rsa.
Your public key has been saved in /c/Users/kanchana/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:z8Ae9mf3Zj0MKSGVlKC8HQfT1RGS+u0gzYC4bFm66EE kanchana@ved_kanchana
The key's randomart image is:
+---[RSA 2048]----+
| ++.+oooo|
| . . o= ... |
| o..o.. |
| oo+o+ |
| E..S.. * o |
| . O * o B . |
| .o o + = * .|
| ... o . =+|
| .. oo|
+----[SHA256]-----+
.ssh folder will be created under /c/Users/kanchana folder
There will be 2 files id_rsa and id_rsa.pub
copy the contents in id_rsa.pub and paste in ssh keys of GCP instance page.
Instance is created successfully.
Click on ssh in the instance , a new tab will be opened.
Thanks for sharing this Informative content. Well explained. Got to learn new things from your Blog on. Google cloud computing online training Hyderabad
ReplyDelete