Setup
pier setupThe wizard handles the account groundwork once:
- Authenticates against your AWS profile.
- Creates an IAM role and instance profile carrying only
AmazonSSMManagedInstanceCore, plus one egress-only security group. - 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 IAM rights
Section titled “Without IAM rights”No IAM permissions? Print the handful of commands for an admin to run once:
pier setup --print-adminThe wizard then works with what exists. The full permission list lives in AWS 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: the role, the instance profile, the security group, and any baked images.