Before creating the Oracle Cloud Infrastructure (OCI) : Create a Database VM , create the appropriate Virtual Cloud Network (VCN) in the same compartment as the database VM you are about to create. Click here to know how to do that. Here this article explains the creation of a database VM on Oracle Cloud Infrastructure. This is very much similar to the Database Cloud Service on the “Classic” Oracle Public Cloud.
For Oracle Autonomous Database creation Click Here to know more about it.
Create SSH Key
Before you start, It is very important to create a SSH key Pair for authentication method. This Key Pair is required to login to server. If you dont know how to create Key pair visit our post and click here.
$ ssh-keygen -b 2048 -t rsa -f SGPrivateKey
$ chmod 600 SGPrivateKey *
You can create SSH key using Puttygen
1. Open Puttygen
2. Click On Key – Generate key pair
3. Move the Cursor until the Key generates.
4. Save the Private Key as .ppk files
Save this private key which is SSH Keypair. This key pair will be used to login to the server.
Create a Database VM (DBaaS)
Log into the Oracle Cloud and navigate to the Oracle Cloud Infrastructure (OCI) console.
Use the top-left menu to select the “Bare Metal, VM and Exadata” option. OR from the console you can select “Create a database”
Choose the Compartment and then Click on Create DB System
Wait for some time to get database provisioned
Oracle Cloud Database is now provisioned. All DB system information is published.
Status , AD, OCID, Shape, Created, Compartment, VCN, Port and Hostname information is published to this tab. Make a note of all these information.
Ip to login to Database
Using the Public IP Address you can login to the Database. Remember to punch in the SSH Key pair which we have created using Puttygen. In this way Oracle Cloud Infrastructure (OCI) : Create a Database VM created successfully.
Cloud knowledge have become important and critical. Up skill your knowledge with our Online Sessions Oracle Certified Cloud Architect. Enroll Now. Contact us for more details.
Yes I want to Know More About OCI Course