OCI Demo: Creating instance and login

Select VCN under the network and click ‘Start VCN Wizard’

I will choose ‘Create VCN with Internet connectivity’. In next screen I will provide CIDR for private and public subnet

Click next and it will provide all information,

Note: you can see there are ‘Gateways’, ‘Security Lists’ and ‘Route tables’.

Let’s expand ‘Gateways’, ‘Security Lists’ and ‘Route tables’. You can see internet gateway usage, ingress and egress in ‘Security lists’ etc.

Now hit create button and it will create a FULLY WORKING vcn and other things inside it.

Now create a compute instance.

Click ‘Instance’ under the ‘Compute’ option. and provide details like machine, image, os etc.

Once ready…you can connect to Sanjay_Webserver1 from your windows machine,

ssh -i Downloads\ssh-key-2024-08-03.key ubuntu@143.47.225.152

Note: There is nothing installed in this new machine.

How To Install VIM on Ubuntu Linux Operating System

  1. Command To Update the apt package manager In Ubuntu – $ sudo apt update.
  2. Command To Search VIM – $ sudo apt search vim.
  3. Command To Install VIM – $ sudo apt install vim.
  4. Command To check the version Of VIM – $ vim –version.

Public ip won’t be able to access the server/instance. In order to do that.

Add ingress CIDR and allow traffic on port 80

Leave a Reply

Your email address will not be published. Required fields are marked *