EC2 Systems Manager setup & configure run command

by Prasad Domala
0 comment
In this video I will show you how to setup EC2 Systems Manager on Amazon Web Service (AWS) Cloud and I will also give you a demo on using RunCommand from EC2 Systems Manager. You can find the scripts and commands I used on this video here on the blog. Please watch the video for details explanation and demo.

EC2 SSM Agent Installation - Bootstrap Script

#!/bin/bash
cd /tmp
sudo yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm 

Apache Install Commands for EC2 SSM RunCommand

yum install httpd -y
echo "This is my apache web server" > /var/www/html/index.html
service httpd start 

You may also like

Leave a Comment