Specify maximum session duration - AWS Systems Manager

Specify maximum session duration

Session Manager, a capability of AWS Systems Manager, allows you to specify the maximum duration of a session before it ends. By default, sessions do not have a maximum duration. The value you specify for maximum session duration must be between 1 and 1,440 minutes.

To specify maximum session duration (console)
  1. Open the AWS Systems Manager console at https://console.aws.amazon.com/systems-manager/.

  2. In the navigation pane, choose Session Manager.

  3. Choose the Preferences tab, and then choose Edit.

  4. Select the check box next to Enable maximum session duration.

  5. Specify the maximum duration of session before it ends in the minutes field under Maximum session duration.

  6. Choose Save.