we weren't able to connect to your instance. common reasons for this include: ssm agent isn't installed on the instance. you can install the agent on both windows instances and linux instances. the required iam instance profile isn't attached to the instance. you can attach a profile using aws systems manager quick setup. session manager setup is incomplete. for more information, see session manager prerequisites.