AWS Session Manager: less infrastructure, more features
Be careful with SSM in general. The documentation suggests adding the AmazonEC2RoleforSSM policy to the role of the EC2 instances you want to access via Session Manager. This role grants read/write to all S3 buckets in your account (amongst other things). See this article for better steps and unavoidable risky things: <a href="https://cloudonaut.io/aws-ssm-is-a-trojan-horse-fix-it-now/" rel="nofollow">https://cloudonaut.io/aws-ssm-is-a-trojan-horse-fix-it-now/</a>