DevOps Classroom Series – 17/Jun/2021

Activities Post Cookbook Development

  • Chef Workflow for deploying application in various environments

  • Lets bootstrap 3 ubuntu 18 nodes

    • node 1:
      • Env: QA
      • both apache and mysql on same server
      • roles: web server and db server
    • node 2:
      • Env: Prod
      • role: web server
      • apache server
    • node 3:
      • Env: Prod
      • role: db server
      • db server (mysql)
  • For node 1 run_list => lampserver[‘apache’] + lampserver[‘mysql’]

  • For node 2 run_list => lampserver[‘apache’]

  • For node 3 run_list => lampserver[‘mysql’]

  • Adding individual recipes to run_list might be an error prone area

  • We might need to have different convergence times

    • 60 minutes for test (QA) environments
    • Every day at 1:00 AM for pre-prod environments.
    • Manual for production environments
  • Ensuring restrictions on which versions of the cookbook can be applied to a node.

  • Next Concepts

    • Roles
    • Environments
    • Attribute precedence.

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%