Learned about session manager and successfully, accessed ec2 instance with SSM.