OCI Setup¶
Login to OCI¶
- Login to your OCI Tenant
Create Group¶
- Navigate to Identity & Security -> Groups
- Click Create Group
- Specify the following
- Name: valtix-controller-group
- Description: Valtix Controller Group
- Click Create
Create Policy¶
- Navigate to Identity & Security -> Policies
- Select the root Compartment
- Click Create Policy
- Specify the following
- Name: valtix-controller-policy
- Description: Valtix Controller Policy
- Compartment: [Must be the "root" Compartment]
- Under Policy Builder enable Show manual editor
-
Modify and paste the following Policy
Allow group <group_name> to inspect instance-images in compartment <compartment_name> Allow group <group_name> to read app-catalog-listing in compartment <compartment_name> Allow group <group_name> to use volume-family in compartment <compartment_name> Allow group <group_name> to use virtual-network-family in compartment <compartment_name> Allow group <group_name> to manage volume-attachments in compartment <compartment_name> Allow group <group_name> to manage instances in compartment <compartment_name> Allow group <group_name> to {INSTANCE_IMAGE_READ} in compartment <compartment_name> Allow group <group_name> to manage load-balancers in compartment <compartment_name> Allow group <group_name> to read marketplace-listings in tenancy Allow group <group_name> to read marketplace-community-listings in tenancy Allow group <group_name> to inspect compartments in tenancy Allow group <group_name> to manage app-catalog-listing in compartment <compartment_name>
- group_name: valtix-controller-group
- compartment_name: [Compartment where Valtix will be deployed]
Tech Notes
When replacing the <compartment_name> with the name of the Compartment where the policy will apply, if the Compartment is a sub-compartment, the name format is compartment:sub-compartment (e.g., Prod:App1).
If the <compartment_name> is specified as the root Compartment (e.g., valtix (root)), OCI will not accept the Policy and will produce an error: Invalid parameter. The policy will need to be defined for an specific Compartment and that Compartment cannot be the root Compartment.
-
Click Create
Create User¶
- Navigate to Identity & Security -> Users
- Click Create User
- Specify the following
- Name: valtix-controller-user
- Description: Valtix Controller User
- Click Create
Add User to Group¶
- From the User Details view for the User, select Groups
- Click Add User to Group
- Specify the following
- Users: valtix-controller-user
- Click Add
Create API Key¶
- From the User Details view for the User, select API Keys
- Click Add API Key
- Select Download Private Key and retain the Private Key for future use
- Select Download Public Key and retain the Public Key for future use
- Click Add
Configuration File Preview¶
- In the Configuration File Preview, record the following
- user: [user=ocid1.user.oc1...]
- tenancy: [tenancy=ocid1.tenancy.oc1...]
Accept Terms and Conditions¶
- Select Compute -> Instance
- Choose the desired Compartment
- Click Create instance
- Under Image and shape, select Change image
- Under Image source, select Community images
- Search for Valtix
- Check the box for Valtix
- Check the box for I have reviewed and accept the Publishers terms of use, Oracle Terms of Use, and the Oracle General Privacy Policy
- Click Select image
- Exit out (do not deploy the image)
Repeat the steps for each Compartment you plan to deploy a Valtix Gateway.