Visual Builder Studio | Howto Run Build VMs inside Your VCN


Visual Builder Studio (former Developer Cloud Service or DevCS) is a CICD platform that execute a bunch of tasks by configuring Build Jobs such as Terraform scripts, shell commands, kubectl, etc.

There are two options regarding networking when you create a template/virtual machine in which the build jobs run: default and custom.

Default

Default means that the virtual machine created temporarily for the execution is floating in the public address space of the OCI Services Network (although it also has got a private IP).

Custom

Custom means that you can choose the VCN and subnet in which the virtual machine will be wired, therefore it can reach your infrastructure resources, obviously honoring the different security rules you might have.

Considerations

  • Create a public “cicd” subnet in the VCN for the build vm’s created
  • Create a security ingress rule for the subnet to allow incoming traffic from 0.0.0.0/0 ports 22, 9082 and 9085
  • Create a security egress rule for 0.0.0.0/0 all ports
  • Add an Internet Gateway to the VCN and create a route for the public “cicd” subnet to allow outgoing traffic to 0.0.0.0/0 via the internet gateway

See documentation here

Hope it helps! 🙂

2 Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.