Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. 1. Create a hosted git repository account of your choice (if you do not already possess one) e.g. github, gitlab, bitbucket, etc.
  2. 2. Provide us with the account name
  3. 3. Create a public repository for this assessment and provide the name once complete
  4. 4. Use the repository for the configuration and code that will:
  5. a. Spin up a Linux Vagrant box of your choice
  6. b. Configure Vagrant to use Ansible as the provisioner
  7. c. Configure the box with an IP address available to the hosting OS
  8. d. Write playbook/playbooks to:
  9. i. Install and start docker
  10. ii. Build a docker container based on the official Alpine Linux container (library/alpine:latest)
  11. iii. Build the container so that nginx is installed and started
  12. iv. Configure nginx to serve out some static “Hello World” content
  13. v. Start the container as a micro service
  14. e. At the end of the provisioning the URL to the web page should be available from the hosting OS
  15. f. Write appropriate documentation in the repository to explain how someone cloning it should provision the Vagrant VM and access the web URL serving out the “Hello World”
  16. 5. Commit as little or as often as you like
  17. 6. For extra points write some tests using the test framework of choice (serverspec, testinfra, etc) or even simple bash/python scripts to run tests of your choice to confirm/deny that the deployment has worked
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement