Managing Enterprise Servers Portfolio


By: John David Lamzon




Project maintained by jdlamzon-tip

Hands-on Activity 8: Containerization



Follow this procedure:

1. Fork this repository https://github.com/ajcanlas-tip/sysad2-12021.git 2. Clone your newly forked repository. 3. Make a new branch named "activity8" from master branch using git branch activity8 and
git checkout activity8. 4. Make a new remote upstream with git remote add upstream https://github.com/ajcanlas-tip/sysad2-12021.git 5. Install Docker and enable the docker socket.) 6. Add to docker group to your current user. 7. Create a Dockerfile to install web and db serverr 8. Install and build the Dockerfile using Ansible. 9. Add, commit and push it to your activity8 branch 10. Request a pull request for the master branch in https://github.com/ajcanlas-tip/sysad2-12021.git
and activity8 branch of your forked repository

Output:


GitHub Page

Directory Summary:

. ├── README.md ├── ansible.cfg ├── elasticsearch.repo ├── grafana.repo ├── inventory ├── monitor.yaml ├── prometheus.repo └── roles ├── centos │   ├── elk │   │   ├── README.md │   │   ├── defaults │   │   │   └── main.yml │   │   ├── files │   │   ├── handlers │   │   │   └── main.yml │   │   ├── meta │   │   │   └── main.yml │   │   ├── tasks │   │   │   └── main.yml │   │   ├── templates │   │   ├── tests │   │   │   ├── inventory │   │   │   └── test.yml │   │   └── vars │   │   └── main.yml │   ├── grafana │   │   ├── README.md │   │   ├── defaults │   │   │   └── main.yml │   │   ├── files │   │   ├── handlers │   │   │   └── main.yml │   │   ├── meta │   │   │   └── main.yml │   │   ├── tasks │   │   │   └── main.yml │   │   ├── templates │   │   ├── tests │   │   │   ├── inventory │   │   │   └── test.yml │   │   └── vars │   │   └── main.yml │   ├── nagios │   │   ├── README.md │   │   ├── defaults │   │   │   └── main.yml │   │   ├── files │   │   ├── handlers │   │   │   └── main.yml │   │   ├── meta │   │   │   └── main.yml │   │   ├── tasks │   │   │   └── main.yml │   │   ├── templates │   │   ├── tests │   │   │   ├── inventory │   │   │   └── test.yml │   │   └── vars │   │   └── main.yml │   └── prometheus │   ├── README.md │   ├── defaults │   │   └── main.yml │   ├── files │   ├── handlers │   │   └── main.yml │   ├── meta │   │   └── main.yml │   ├── tasks │   │   └── main.yml │   ├── templates │   ├── tests │   │   ├── inventory │   │   └── test.yml │   └── vars │   └── main.yml └── ubuntu ├── elk │   ├── README.md │   ├── defaults │   │   └── main.yml │   ├── files │   ├── handlers │   │   └── main.yml │   ├── meta │   │   └── main.yml │   ├── tasks │   │   └── main.yml │   ├── templates │   ├── tests │   │   ├── inventory │   │   └── test.yml │   └── vars │   └── main.yml ├── grafana │   ├── README.md │   ├── defaults │   │   └── main.yml │   ├── files │   ├── handlers │   │   └── main.yml │   ├── meta │   │   └── main.yml │   ├── tasks │   │   └── main.yml │   ├── templates │   ├── tests │   │   ├── inventory │   │   └── test.yml │   └── vars │   └── main.yml ├── nagios │   ├── README.md │   ├── defaults │   │   └── main.yml │   ├── files │   ├── handlers │   │   └── main.yml │   ├── meta │   │   └── main.yml │   ├── tasks │   │   └── main.yml │   ├── templates │   ├── tests │   │   ├── inventory │   │   └── test.yml │   └── vars │   └── main.yml └── prometheus ├── README.md ├── defaults │   └── main.yml ├── files ├── handlers │   └── main.yml ├── meta │   └── main.yml ├── tasks │   └── main.yml ├── templates ├── tests │   ├── inventory │   └── test.yml └── vars └── main.yml 75 directories, 71 filesd