Created
April 16, 2021 15:33
-
-
Save carlochess/d401f10ca59cb02b51db1a083394a992 to your computer and use it in GitHub Desktop.
Simple userdata for amazon ec2 instance with session manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arn:aws:iam::aws:policy/service-role/AmazonEC2RoleforSSM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm | |
systemctl enable amazon-ssm-agent | |
systemctl start amazon-ssm-agent | |
systemctl status amazon-ssm-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment