Next step in building our network is to create 4 instances.
Each server will use 1 OCPU ARM and 6GB RAM
Let’s build a server
Create Instance
From Menu select Compute/Instance then click Create
Then click on Create Instance
Now you will create your new instance
Define your server name – It has to have appX in name to use build script which will be provided later on.
Name server like
yourapp1
yourapp2
yourapp3
yourapp4
Then select the compartment which you created in the previous step.
In Placement section click Edit in top right corner and select AD1 and Fault-Domain1
Server | Availability Domain | Fault Domain | IP |
---|---|---|---|
app1 | AD 1 | 1 | 10.10.1.11 |
app2 | AD 1 | 2 | 10.10.1.12 |
app3 | AD 2 | 2 | 10.10.1.13 |
app4 | AD 2 | 3 | 10.10.1.24 |
Image and Shape
Click Edit button in top right corner to expand this view
Next to image – click Change and select Oracle Linux version 8
Next to shape – click Change and select server AMPER with 1 OCPU and 6 GB RAM – use slider to adjust as needed
View after update
Networking
In the networking section, you will specify the location of the server
select public VCN and public subnet, public IP
Click on Advanced Option and set the hostname and internal IP – follow IP in Table 1 as they are part of the setup script.
Public Key
Define a public key for your instance. You can generate a key in this step and download or you can pregenerate it using ssh-keygen or putty on windows.
I generated a key and passed here my public key.
A good practice is to set a keyphrase when you will generate a key for your use.
Boot Volume
The last step is to select the boot volume. As we can use 200GB we will set 50GB per each server
Create
Now you can click Create button. The server will be created in couple of minutes.
On instance page you will see a progress of the build process
Please follow this instruction and create all 4 servers, the next step we perform server installation of all applications to prepare the server to work.
Note a public IP – you will need it to connect to servers.
0 Comments