VGA Console support is now available for Oracle Cloud Infrastructure Linux and MS Windows Virtual Machines (VMs). VGA Console, also known as VNC Console, enables you to access your VM even without a network connection. It's like plugging a keyboard, mouse and monitor into your server - something you're used to in your on-premises datacenter – and is useful in several scenarios:
troubleshooting issues in your cloud instances without network communication
wrong firewall rules blocking external and internal access
connecting into your Windows instance in a private network without public access
troubleshooting an imported or customized image that does not complete a successful boot
verifying why a previously working instance stopped responding
gives Windows users a way to access their instances without exposing RDP to the internet
anything else that requires you to connect directly into your instance without network access
The process to create a VNC connection to an instance is easy, and also explained in public documentation.
Before you can connect to the serial console or VNC console, you need to create the instance console connection. To create the console connection for an instance:
In the Console, click Compute, choose your Compartment, and then click Instances.
In the list of instances, find the instance you want serial access access for, and click the instance name.
In the Resources section on the Instance Details page, click Console Connections, and then Create Console Connection.
Specify the public key portion for the SSH key, either by browsing and selecting a public key file, for example id_rsa.pub, or by pasting your public key into the text box, and then click Create Console Connection.
Once the Console Connection has been created click on the ellipsis and choose "Connect with VNC".
Choose your platform and run the command in the terminal. On Mac or Linux Desktops, you can run the below command line in the terminal. Microsoft Windows users will need to install Putty or Plink first.
This establishes a secure SSH tunnel for VNC. Open your favorite VNC client and connect to localhost:5900. This will work on any virtual machine instance launched after October 13th, 2017.
Linux Virtual Machine
MS Windows virtual machine
Check Oracle Cloud Infrastructure public documentation for additional details.