AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

Bash script for bootstrap

Here is the bash script that is missing under Resources. It will be use to bootstrap.


yum update -y

yum install httpd -y

service httpd start

cd /var/www/html

echo "<html><body><h1>Hello Cloud Gurus </h1></body></html>" > index.html

Erik Swanson

This works, but you have to get it right before the instance launches for the first time. Otherwise, you have to go through the console and manually run any missing commands.

0 Answers

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?