1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hey,
The SSM agent comes installed on all Amazon Linux 2 AMI's now so it should be on Beanstalk AMI's as they are based on normal AL2 AMI's.
By default, SSM Agent is installed on Amazon Linux Base Amazon Machine Images (AMIs) dated 2017.09 and later. [1]
You can connect to your instance via SSH and confirm its running, checkout these commands. [2]
If you are modifying the agent / EC2 Instance in anyway it should be done via ebextensions only and not on the instance via SSH. [3]
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 3달 전
Hello Cormac, Thanks so much for your reply! I have a question with regards to using the .ebextensions to modify the agent, I'm not sure what exactly i need to write on the conf files to edit or modify the SSM agent, do you have a snippet or example you could show me ?
@AWS-User-6424256 - this depends on what you want to configure, you will need to provide more info on your use case. Are you using the agent so you can access the instance via Session Manager? If so then all you should need to do is add permissions to the default Beanstalk instance profile "aws-elasticbeanstalk-ec2-role" https://docs.aws.amazon.com/systems-manager/latest/userguide/getting-started-add-permissions-to-existing-profile.html