How to Create VM Database System Oracle 
Tags: database
Published: 2021-06-16 03:57:39

###Hello Everyone, Let's Learn With Me!

In my post this time, We will learn how to create VM Database System in Oracle Cloud Infrastructure. 

####Log in Oracle Cloud
we must log in to the platform Oracle Cloud in https://cloud.oracle.com/ first. 
Put in your name tenancy here, and click next. 
![login tenancy](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pshcj4xa2ycjs9q9bh4m.png)

You can log in with your user. then click sign in. 
![username](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6ob0sesnnungwb35470w.png)

####Preparation
If you log in with not a administrator, you must be granted security in a policy by an administrator (required IAM Policy)

The administrator must be give your user access to manage Oracle Database resource. 
Setting it on IAM policy. 
if you already have access, you can access the console.

Don't forget with your public key. 

for VCN, there must be a subnet resource, internet gateway, routing table. 

If all ready.. let's create Database System. 


####Create Database System 

Click menu and then choose the Oracle Database, click Bare Metal, VM and Exadata
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k1l1s93x5n264uhxm6wp.png)

Click Create DB System
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0jowl7fb72iqcgq8hcxw.png)
 
In here, select your compartment. fill name for your DB System. You can select your AD, if your region have 3 AD. for shape type, select the Virtual Machine. 
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p1xopvcwte3cgjbgq35o.png)

For shape VM, you can change it. In here I select VM.Standard2.1
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2kvnze4xnb1868ymd2ks.png)

The number of nodes in the DB system, which depends on the form you choose.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4q35hscr4oedecx9415d.png)

Select for storage 
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q1ej5jkor3svoes5wgj6.png)

Add your public key 
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1cg1w7amotskshxk7p3s.png)

For license type, I choose license Include
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7klwv6dog0k8smge93k8.png)

And then, select your VCN and select private subnet. Fill your host domain name. You can add your private address
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j472wb4f0fvfvbjbqn75.png)
 
Click hide advance option for setting Fault Domain and Time zone. And then click next.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ylcee9ojpynf5e7b87js.png)

Enter your database name and select for your database image
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/twmgsl7otzu7fn9h6awk.png)
 
Note : database name max 8 character.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ao1b24kcitqldojtwgpu.png)
 
Create administrator credential. enter new password for sys user
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xiu83j90a5mq5kkwj99s.png)
 
Note :
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/warymwsam3dgxei1ww1g.png)

We can enable automatic backup. 
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/py8nko68g6luxvnk3arh.png)

And then click create button to create DB System.
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j1yzc24u2uzuv43oj4cz.png)

Wait 3-5 minutes
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ncbe9atai6uqt1x2a96l.png)

And finally, your VM DB System is running. 
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/so4wu0dmulzfboqh7wgw.png)


Okay, that is all my post about how to Create VM DB System on the Oracle Cloud instance. 
###Thank you for reading:)