Run VM Build Executors in Another Compartment’s VCN and Subnets

To allow a VM build executor access your Oracle Cloud services in a compartment’s VCN, you should configure the VM executors to run in the same VCN. This allows the VM executor to access Oracle Cloud services easily without any complex networking configuration.

Before you configure the VCN, make a note of these:

This table describes what you need to do if you have a VCN.

If … Then :
You have a VCN without a public subnet
  1. Create and Configure a Public Subnet in a VCN.
    You'll also configure the subnet's security list to allow inbound access from and outbound access to VB Studio.
  2. To allow a VM executor access a service running in the private subnet, configure the private subnet's security list. See Allow VM Build Executors to Access a Private Subnet's Resources.
  3. Add and Manage VM Build Executors in the VCN.
You have a VCN with a public subnet
  1. In your VCN, create a security list with ingress rules and egress rules as described in steps 7-12 in Create and Configure a Public Subnet in a VCN.
  2. Open your public subnet's details page and add the security list. See step 15 in Create and Configure a Public Subnet in a VCN.
  3. To allow a VM executor access to services running in the private subnet, configure the private subnet's security list. See Allow VM Build Executors to Access a Private Subnet's Resources.
  4. Add and Manage VM Build Executors in the VCN.
You don’t have a VCN and want to create one
  1. Use the VCN wizard to create a VCN with a public subnet and an internet gateway. See Virtual Networking Quickstart.
  2. Create and Configure a Public Subnet in a VCN.
    You'll also configure the subnet's security list to allow inbound access from and outbound access to VB Studio.
  3. To allow a VM executor access to services running in the private subnet, configure the private subnet's security list. See Allow VM Build Executors to Access a Private Subnet's Resources.
  4. Add and Manage VM Build Executors in the VCN.