Create a Compute Instance on Oracle Cloud

Create a Compute Instance on Oracle Cloud

Creating an Oracle Compute Box is quite straightforward.

This guide shows you how to Create a Compute Instance on Oracle Cloud and then an optional section at the end shows you how to expose ports so the box can be communicated with.

Note that you can only create 6 Public IPs per VNIC; otherwise, create a new VNIC when this limit is reached

Compute Creation

  1. Sign in to https://cloud.oracle.com/

  2. Go to URL https://cloud.oracle.com/compute/instances

  3. Click Create Instance

  4. Change the Name to something memorable

  5. Review the default settings for Image and Shape or change where appropriate

    If you want to read more about shapes read this Oracle Cloud Infrastructure Compute shapes blog from Birzu, one of my favourite bloggers.

  6. Download the Private (required) and Public (optional) Keys

  7. Copy the keys to a safe folder

  8. Create Create to create the Compute instance which will take about 3 minutes to create

  9. Once provisioned, you'll see this information:

  10. Copy the IP to the clipboard

  11. If you're using a Windows machine to connect to the OCI instance, you must use a tool like PuTTYgen to convert the private key file to a format that PuTTY can use.

    In Puttygen, load the .key file (not the .pub file) and accept the warning (see picture)

    Then click Save private key and click yes

    Save the file as priv.ppk

  12. Install/Open Putty application

  13. Paste the IP address into Host Name (or IP address)

  14. Click Connection > SSH > AUTH > Private key > Select the priv.ppk Private Key

  15. Click on Session, Enter your Compute Name (e.g axelay) to Saved Sessions and click Save

  16. Double Click the Compute Name (e.g axelay) from the list to open a Putty session

  17. Click yes on this warning

  18. Username is opc

Optional: Opening ports

You are probably going to need to communicate with your new box through ports. We have to first allow through the Firewall, and then secondly through a VNIC Security List.

Just follow this guide to open any ports you need on your new box. https://mattmulvaney.hashnode.dev/opening-ports-for-an-oracle-compute-instance

Enjoy!

What is the picture? It's a bridleway near Follifoot. Visit Yorkshire!