Ravi Sir's Cards › AWS
Clean up the STS lab
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
Why do we need it?
Forgotten roles and buckets clutter the account and confuse the next lab.
What is it?
Unset the temporary env vars, detach/delete the lab role and customer policy, empty and delete the lab bucket the same day.
How to do it
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN; delete role; delete policy; delete bucket.
unset
Example
get-caller-identity is your normal user again; IAM Roles list no longer shows the lab role.