-
Notifications
You must be signed in to change notification settings - Fork 1
Dockerized APEX Workshop OCI Resources Setup
-
Open in your browser the OCI Console.
-
On the top navigation go to
Compute > Instances
. -
Select from the left sidebar under the
Compartment
drop down select the desired compartment where the Compute Instance will be launch. -
Click on the button
Create Instance
. -
On the dialog change the name of your instance to anything of your preference.
-
Change the attribute
Image Operating System
toCanonical Ubuntu 16.04
. -
On the sub-section
SSH Keys
provide the public ssh key of your PC.-
MacOS / Linux : Provide the contents of your
id_rsa.pub
file. -
Windows: Provide the contents of the generated public key with programs like
Putty
.
This is very important since this will allow you to connect to the Virtual Machine via
ssh
. -
MacOS / Linux : Provide the contents of your
-
Click on button
Create Instance
.
Once the Compute Instance (Virtual Machine) shows Running
status you are ready to connect to it.
- Open in your browser the OCI Console.
- On the top navigation go to
Networking > Virtual Cloud Networks
. - Select from the left sidebar under the
Compartment
drop down select the desired compartment where the created Compute Instance was launch. - Click on the
VCN
name link. - On the left sidebar under the
Resources
section select the optionSecurity Lists
. - Once the list of
Security Lists
has been loaded in the center area click on the security list name link. - Once the
Security List
details have been loaded click on buttonEdit All Rules
. - Once the dialog to edit the security list rules locate the section
Allow Rules for Ingress
and at the end of it click on button+Add Rule
. - A new rule element will be append.
- To allow all external traffic into port
8080
, to connect to APEX running through ORDS do the following steps:
- Change attribute
Source CIDR
to0.0.0.0/0
. - Change attribute
Destination Port Range
to8080
.
- To allow all external traffic into port
1521
to connect to the Oracle Database do the following steps:
- Change attribute
Source CIDR
to0.0.0.0/0
. - Change attribute
Destination Port Range
to1521
.
- Click on button
Save Security List Rules
.
-
Connect via
ssh
.$ ssh ubuntu@<Virtual Machine IP>
Use the ssh
client of your preference, Putty, MobaXterm, etc.
-
Connect via
ssh
.ssh ubuntu@<Virtual Machine IP>