For AWS Systems Manager (SSM), if you cannot access an instance, you must investigate the following potential causes:
If you test an AWS credential, the system reports which services can be accessed. For SSM, the system also checks the session permissions specifically, which will tell you if the user or role has permissions.