Resize
The supervisor reports sustained cpu and memory pressure (kernel PSI), and
pier resize fixes it without losing anything:
$ pier lsNAME REPO STATE AGE COSTcheckout-flow shop working (strained) 2h ~$0.04/h
$ pier resize checkout-flow t4g.xlargeOr press m in the TUI. It lists same-arch machines with their vCPU,
memory and hourly cost, so nobody memorizes instance type names.
One park/resume cycle of about 40 seconds, disk and state intact.
Deliberately not automatic
Section titled “Deliberately not automatic”The VM holds no cloud credentials, so it cannot resize itself. Auto-scaling is also a surprise-cost footgun. You see strain, you decide.
Limits
Section titled “Limits”Resize stays within the CPU arch (t4g to t4g). Providers only allow type
changes on stopped instances, which is where the park/resume cycle comes
from. It needs one extra AWS permission, ec2:ModifyInstanceAttribute.