├── scripts ├── start_nginx.sh └── install_nginx.sh ├── appspec.yml └── index.html /scripts/start_nginx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo service nginx start -------------------------------------------------------------------------------- /scripts/install_nginx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo apt-get update 4 | sudo apt-get install -y nginx -------------------------------------------------------------------------------- /appspec.yml: -------------------------------------------------------------------------------- 1 | version: 0.0 2 | os: linux 3 | files: 4 | - source: / 5 | destination: /var/www/html 6 | hooks: 7 | AfterInstall: 8 | - location: scripts/install_nginx.sh 9 | timeout: 300 10 | runas: root 11 | ApplicationStart: 12 | - location: scripts/start_nginx.sh 13 | timeout: 300 14 | runas: root -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | 25 |

Coud computing or devops seekhni hai sikha denge aa jao!

26 |

Follow me on linked in and on medium for such useful blogs

27 | 28 | 29 | --------------------------------------------------------------------------------