Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Why set RoleSessionName and short duration?

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Why set RoleSessionName and short duration? RoleSessionName shows up in CloudTrail so you can audit which lab or person assumed the role. Short DurationSeconds (e.g. 900) shrinks the leak window. A vague name like “temp” and a 12-hour duration make incidents harder to trace and worse when a laptop is stolen. aws sts assume-role --role-session-name ravindra-lab1 --duration-seconds 900 …
Why set RoleSessionName and short duration? · Download PNG
Read card text

What this card says

What it is

RoleSessionName shows up in CloudTrail so you can audit which lab or person assumed the role. Short DurationSeconds (e.g. 900) shrinks the leak window.

CloudTrail

Why it matters

A vague name like “temp” and a 12-hour duration make incidents harder to trace and worse when a laptop is stolen.

How / example

aws sts assume-role --role-session-name ravindra-lab1 --duration-seconds 900 …

See all AWS revision cards