Practical
Create an instance -> redhat ami -> advanced detail -> as a text
->
!/bin/bash
yum install -y httpd
systemctl restart httpd
systemctl enable httpd
echo “checking for bootstrap script” > /var/www/html/index.html
systemctl restart httpd
systemctl enable httpd
status check is 2/2.->add SG (ssh and http) -> launch -> wait till
Last updated
Was this helpful?