In the initial menu of the Oracle Cloud click on “Compute” and later on “Instances”:
On the next tab, click the “Create Instance” button:
In the Create Compute Instance tab, provide the requested information:
Name: Choose a name for your instance. (In the example: VMLINUXmachine)
Select an available domain for your instance: Choose the first available domain (In the example: ysjg: PHX-AD-1)
Choose an operating system or image source: Keep the option available on Oracle.
Image Operating System: Oracle Linux 7.6
Choose instance type: Choose “Virtual Machine”
Shape: We will use the option “VM.Standard2.1”
Image Version: Please select the latest version, 2018.09.25-0 (latest)
Configure boot volume: Keep the default option.
SSH Keys: Because Linux operating systems use SSH keys for authentication, you must provide a public key. Click “Choose SSH key file” and provide a public SSH key.
Then click on the “create” button:
While the server is being provisioned, the status displayed will be “Provisioning”:
Once the process is finished, the status is changed to “RUNNING”:
An interesting fact is that from this moment it is already possible to make ssh connection with the created server:
[root@techdatabasketblog /]# ssh 129.146.128.2 The authenticity of host '129.146.128.2 (129.146.128.2)' can't be established. ECDSA key fingerprint is SHA256:kuM9EKvzZ47/2qof0kVZc9+po3tDjTEPdsCXVgye9BI. ECDSA key fingerprint is MD5:84:06:1b:75:2c:5a:f4:72:db:49:ab:7e:b1:5c:5a:67. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '129.146.128.2' (ECDSA) to the list of known hosts. Enter passphrase for key '/root/.ssh/id_rsa': Please login as the user "opc" rather than the user "root". Connection to 129.146.128.2 closed. [root@techdatabasketblog /]# ssh opc@129.146.128.2 Enter passphrase for key '/root/.ssh/id_rsa': [opc@vmlinuxmachine ~]$ hostname vmlinuxmachine [opc@vmlinuxmachine ~]$ uname -a Linux vmlinuxmachine 4.14.35-1844.3.2.el7uek.x86_64 #2 SMP Mon Feb 25 17:43:37 PST 2019 x86_64 x86_64 x86_64 GNU/Linux [opc@vmlinuxmachine ~]$ date Tue Apr 23 11:03:45 GMT 2019 [opc@vmlinuxmachine ~]$
Hi! I am Bruno, a Brazilian born and bred. Former Oracle ACE, Computer Scientist, MSc in Data Science, over ten years of experience in companies such as IBM, Epico Tech, and Playtech based in three different countries (Brazil, Hungary, and Sweden) and joined projects remotely in many others. I am super excited to show you my interest in Databases, Cloud, Data Science, Data Engineering, Bigdata, AI, Programming, Software Engineering, and data in general.
(Continue reading)