Introduction

Session Manager is a feature within the AWS Systems Manager service. Session Manager provides the ability to manage servers securely without opening SSH ports, requiring a Bastion Host, or managing SSH keys. Session Manager also makes it easy to comply with corporate policies that require controlled access, ensuring strict security and logging access while still providing end users with cross-platform access.

By using Session Manager, you will get the following advantages:

  • No need to open port 22 for the SSH protocol.
  • Can be configured to connect without going out to the internet.
  • No need to manage the server’s private key for SSH connection.
  • Centralized user management by using AWS IAM.
  • Access the server easily and simply with a single click.
  • Faster access time than traditional methods like SSH.
  • Supports many different operating systems such as Linux, Windows, MacOS.
  • Log connection sessions and executed commands while connecting to the server.

With the above advantages, you can use Session Manager instead of using the Bastion host technique, helping us save time and costs when managing a Bastion server.