You can perform any bootstrapping action you would like using user data. Here is an example of installing Apache, PHP, and MySQL. Then Apache, PHP and MySQL are started. Then a sample application is installed on Apache.
#!/bin/sh yum -y install httpd php mysql php-mysql chkconfig httpd on /etc/init.d/httpd start cd /tmp wget http://us-east-1-aws-training.s3.amazonaws.com/self-paced-lab-4/examplefiles-as.zip unzip examplefiles-as.zip mv examplefiles-as/* /var/www/html
Excellent tutorial buddy. Directly I saw your blog and way of teaching was perfect, Waiting for your next tutorial.
ReplyDeleteaws training in chennai | best aws training institute in chennai | aws certification exam centers in chennai