Aviatrix controller makes it extremely simple to on-board Oracle OCI. Take a look at the screen shots here and follow along.
The Aviatrix Controller is multi cloud, multi subscription, multi account and multi region capable appliance/VM/instance. Launching the Controller in any public cloud will also enable you to deploy and manage networking and security in any other public cloud.
In our setup, Aviatrix Controller is already deployed and running in AWS. Bill for using Aviatrix services will still be billed to AWS billing account. One has to pay for the utilization of OCI resources in the OCI billing system.
On the controller UI
1- Click on-boarding option
2- Select Oracle Cloud Infrastructure (OCI) option
After step#2, you are presented with the following screen.
OCI Account , Tenancy and Compartment Details
The purpose of on-boarding is to help you setup an account on the Aviatrix Controller (AVX-CTRL) that corresponds to an OCI account with compartment policies, so that the Aviatrix Controller can launch Aviatrix GWs using OCI APIs. For on-boarding the OCI account in the AVX-CTRL, we need following four pieces of information from OCI console.
- User OCID
- Tenancy OCID
- Compartment OCID
- API Private Key File
User OCID information is collected from Identity section.
Tenancy OCID information is collected by navigating in the OCI Console’s Administration section (OCI Console –> Administration –>Tenancy Details)
Compartment or department OCID can be gathered by navigating in the Identity section of OCI console ( OCI Console –> Identity –>Compartments)
Generate Public and Private Keys
The commands here are valid for Mac and Linux OS. For Windows, you need to install “Git bash for Windows”
$ openssl genrsa -out oci_api_private_key.pem 2048
$ chmod go-rwx oci_api_private_key.pem
$ openssl rsa -pubout -in oci_api_private_key.pem -out oci_api_public_key.pem
$ cat oci_api_private_key.pem | pbcopy
Refer to following doc for detailed steps
At this point OCI is on-boarded. Notice that beside OCI, we have AWS, Azure and GCP on-boarded under the same controller as well.
Create Transit VPC
To make sure the connectivity is established between Aviatrix Controller and OCI, we will create a OCI Transit VCN (VCN is equivalent to VPC in AWS) directly from Aviatrix Controller UI. This Transit VCN will also be used in the subsequent testing.
Following screen shot taken from OCI console shows that VCN was successfully created from Aviatrix Controller.
Also notice that beside creating the simple VCN, Aviatrix Controller also creates following
- Public and Private subnets inside the VCN
- These subnets are created and managed for private and public routing tables
- Private and Public Routing tables
- Internet Gateway
Following screen shot shows the routing tables created by Aviatrix Controller.
This initial configuration shows the OCI account on-boarding and deployment of one Transit VPC with associated subnets and route table. The AVX-CTRL makes it easy and seamless to deploy multi-clouds with the same look and feel and without worrying about underneath constructs.