Skip to main content

OCI Command Guide (si orbit oci)

OCI si orbit oci provides signed Oracle Cloud Infrastructure API workflows for tenancy bootstrap and infrastructure operations.

Command surface

si orbit oci <auth|context|doctor|identity|network|compute|oracular|raw>

Auth, context, and diagnostics

si orbit oci auth status --profile DEFAULT --config-file ~/.oci/config --region us-ashburn-1 --json
si orbit oci context list --json
si orbit oci context current --json
si orbit oci context use --account core --profile DEFAULT --region us-ashburn-1
si orbit oci doctor --profile DEFAULT --region us-ashburn-1 --public --json

Identity and tenancy data

si orbit oci identity domains list --tenancy <tenancy_ocid> --json
si orbit oci identity compartment create --parent <compartment_ocid> --name apps --description "application compartment" --json

Network bootstrap

si orbit oci network vcn create --compartment <ocid> --cidr 10.0.0.0/16 --display-name core-vcn --json
si orbit oci network gateway create --compartment <ocid> --vcn-id <vcn_ocid> --display-name igw --enabled --json
si orbit oci network security create --compartment <ocid> --vcn-id <vcn_ocid> --ssh-port 22 --json
si orbit oci network subnet create --compartment <ocid> --vcn-id <vcn_ocid> --route-table-id <rt_ocid> --security-list-id <sl_ocid> --dhcp-options-id <dhcp_ocid> --json

Compute operations

si orbit oci compute image ubuntu --tenancy <ocid> --shape VM.Standard.E4.Flex --json
si orbit oci compute instance create --compartment <ocid> --ad <availability_domain> --subnet-id <subnet_ocid> --image-id <image_ocid> --json

Oracular helpers

si orbit oci oracular cloudinit --ssh-port 22 --json
si orbit oci oracular tenancy --profile DEFAULT --config-file ~/.oci/config --json

Raw API mode

si orbit oci raw --service core --method GET --path /instances --json
si orbit oci raw --service identity --method GET --path /tenancies/<tenancy_ocid> --json

Safety guidance

  • Keep OCI private key references in secure paths and avoid embedding key material in scripts.
  • Validate compartment and region before network or compute writes.
  • Prefer generated cloud-init artifacts reviewed in version control.
  • Use --json for auditable operation logs.

Troubleshooting

  1. si orbit oci auth status --json
  2. si orbit oci doctor --json
  3. si orbit list --provider oci_core --json
  4. Verify profile/config path and region alignment.