Skip to main content

Settings in every bqto

The free bqto puts the bastion in a subnet of the VPC network and region of the service. It picks the first subnet, in name order, that can host a VM. It has no flag to pick another subnet.

Settings in bqto Pro

--spot, --subnet, --machine-type, and --image need bqto Pro.
These flags change the bastion of one session, and a profile can hold them:
Without --subnet, bqto Pro uses the subnet that the service names. Cloud Run with Direct VPC egress set by subnet names one, and so does Managed Kafka. For Cloud Run, it takes the first subnet with Private Google Access. Otherwise, it takes the same subnet as the free bqto. Costs shows what a bastion costs, with and without --spot.

Organizations that restrict what a VM may be

Some organization policies reject the bastion as bqto creates it. bqto then prints the constraint that refused the bastion, and where the constraint is set. You can pass both to your platform team. If your organization allows only approved image projects, pass an image from one of them:
The image that you give with --image must support OS Login certificates. This support needs OpenSSH 7.4 or later. For example, SLES 12 images do not support OS Login certificates. If the image does not support them, the tunnel fails with Permission denied (publickey). If the image lives in a project of your own, you need roles/compute.imageUser on that project. The default Debian image is public and needs nothing. bqto cannot meet a policy that requires CMEK (customer-managed encryption keys) or disallows global DNS. In that case, the fix that bqto prints asks for an exception. Security says what the bastion is.