autoscalinig-with-cloudwatch / script.sh
script.sh
Raw
#!/bin/bash

sudo apt update -y  
sudo apt install -y nginx
echo "Hello from $HOSTNAME" > /var/www/html/index.html