In this tutorial, We will see how to create a Linux instance using oracle free cloud infrastructure.
First, we need to create a public key and private keys using Putty key generator. Public key is used while creating the Linux instance.
Private key is used to connect the Linux instance using any SSH client.
Install Putty keygen using this link. https://www.puttygen.com/download-putty
Step 1: Open Putty KeyGen and click generate button.
Step 2: Once the key generated, copy the key to a text file and save the text file as .pub extension. This .pub ( Public key) is used while creating the Linux instance.
Step 3: Next, we need to save the private key as below. Enter the key phrase and confirm the key phrase again. Note down this key phrase somewhere. Later this key phrase is used along with private key (.ppk) to access the linux instance using any SSH client.
Step 4: Log in to your oracle cloud instance. Oracle cloud dashboard will look like below. Click the 'Create VM instance' menu.
Step 5: Below screen will be loaded after clicking 'Create VM instance'.
Step 6: We need to use the public key we created in Step 2. Click the create button after loading the public key.
Step 7: Once the Linux instance created, verify whether it's running as below. It may take a few minutes. Copy the public IP and use it to connect to the SSH client.
Step 8: Open the Putty SSH client. In the Host Name box, Paste the copied IP address in Step 7.
Step 9: Load the private key created in Step 3 using the below option.
Step 10: Click the Open button after the above step. You can see the below screen. Click Yes in the alert.
Step 11: Use the key phrase we noted in Step 3 and click enter.
That's all we need to do. You will be connected to Linux terminal.
Please click and subscribe to the below channel to see this tutorial in video format.
https://www.youtube.com/channel/UCtzdDJIXhQX6v3-8iXCJWQw?sub_confirmation=1
Click this link for youtube video tutorial.
Please post your questions in the comment section.
Comments
Post a Comment