Add demo-app autoscaling group

This commit is contained in:
mr-vercetti
2022-08-25 15:00:54 +02:00
parent 180ae13b94
commit 9cef061162
7 changed files with 199 additions and 18 deletions

View File

@ -0,0 +1,12 @@
#!/bin/bash
yum update -y
amazon-linux-extras install docker
service docker start
usermod -a -G docker ec2-user
chkconfig docker on
docker run \
-p 80:80 \
--restart unless-stopped \
nginxdemos/hello