Setup
pier setupThe wizard handles the account groundwork once:
- Asks which cloud and authenticates against your AWS profile or GCP project.
- Creates the groundwork. On AWS: an IAM role and instance profile carrying
only
AmazonSSMManagedInstanceCore, plus one egress-only security group. On GCP: the compute and IAP API enables, plus two firewall rules that admit only Google’s IAP range to pier VMs and shut everything else out. - Writes
~/.config/pier/config.toml. - Detects the agent config and credentials it will copy into sessions.
- Offers to bake an image for the current repo.
- Runs the
pier doctorchecks.
Everything it creates is tagged and removable with pier teardown. Change
any setting later from inside the TUI. Run pier and press s.
Without admin rights
Section titled “Without admin rights”No admin rights? Print the handful of commands for an admin to run once:
pier setup --print-adminThe wizard then works with what exists. The full permission lists live in AWS permissions and GCP permissions.
Removing everything
Section titled “Removing everything”pier teardownRemoves all pier groundwork from the account. Everything pier creates is tagged, so the sweep is complete. On AWS that is the role, the instance profile, the security group, and any baked images. On GCP it is the two firewall rules and any baked images.