Skip to content

Guides

How to run CI runners inside your VPC

Builds need to reach an internal service that is not exposed publicly.

6 min read

Builds need to reach an internal service that is not exposed publicly.

Why it happens

Hosted runners sit outside your network, so the only options are exposing the service or moving the runner.

How to fix it

  1. Use BYOC so runners run in your VPC with normal internal routing
  2. Place runners in private subnets with egress through NAT or VPC endpoints
  3. Scope security groups tightly — inside the VPC is not the same as allowed everywhere
  4. Prefer BYOC over a persistent VPN tunnel from a machine running PR code

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.