Skip to main content
A session deletes its bastion when it ends. A session ends in these cases:
  • You press Ctrl-C.
  • You close the terminal.
  • bqto gets a kill.
  • The command after -- exits.
  • --duration runs out.
If the delete fails, bqto says so on stderr and exits with code 1. If the command after -- already exited with a code other than 0, bqto keeps that code.

What can stay behind

To check that no bastion is left in a project, run:

Who created a bastion

The name of a bastion is bqto- plus eight random characters. The name does not say who ran the command. This is on purpose. If it did, anyone who can list instances would see the email of a colleague. The Admin Activity audit logs tell you who created a bastion. Security has the queries.

Uninstall

Install shows how to remove bqto.