How to reserve and attach IP to Oracle VM instance

Oracle recently announced two always free instances including other free services, a big move by oracle to provide cloud for everyone. So I created an account and I have been using their free tier instances for two weeks. Great service so far. Here is a benchmark report of one of my free instance (Note: outbound transfer speed is capped to 5 MB).

Since Oracle provides public IP for free, I reserved and attached an IP address to my instance. They didn’t charge any penny for IP (at the time of writing) even if you reserved it and don’t attach it to VM. However it took much time for me to understand how to attach reserved IP to the cloud instance. So here I will demonstrate it step by step.

Reserving an IP

To reserve an IP, make sure you are in the same region of your VM instance.  Go to Networking > Virtual Cloud Network

Now click “Public IPs” and select your compartments

Click “Create Reserved Public IP”. A pop up will appear. Give it a name and just click “Create Reserved Public IP”

We just reserved an IP for our instance. Now let’s attach that IP to our instance.

Attaching IP to instance

Go to “Compute” > “Instances”

Select your VM

Select “Attached VNCs” from left menu

Click on your VNC

Now again from left sidebar, select “IP Addresses” and edit the option

Select your reserved IP from dropdown menu and click “Update”

Success!! You have just attached your reserved IP to the VM instance.

 

Leave a Reply

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