Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

IaC를 어쭙잖게 맛본 썰?! Ctrl + c/v vs Ansible

668 views

Published on

Session 6 - 최승호 IaC를 어쭙잖게 맛본 썰?! Ctrl + c/v vs Ansible
2019년 9월 6일 네이버 쇼핑 개발자 meet up 행사인 'SHOWROOM' 에 발표된 자료입니다.
보다 자세한 내용은 http://nshop-developer.github.io 을 참고해주세요.
(2019년 9월 30일 오후 오픈 예정)

Published in: Software
  • Be the first to comment

IaC를 어쭙잖게 맛본 썰?! Ctrl + c/v vs Ansible

  1. 1. IaC ?!
  2. 2. “ ” 

  3. 3. , ..
  4. 4. Ansbile ...? ( , .)
  5. 5. ( , ..)
  6. 6. Web Server
  7. 7. Web Server .
  8. 8. 33 | 164
  9. 9. ,
  10. 10. Config
  11. 11. . , .
  12. 12. IaC?
  13. 13. Infrastructure as Code .
  14. 14. ?
  15. 15. Config
  16. 16. ,
  17. 17. .
  18. 18. Config + Deployment
  19. 19. . .
  20. 20. ..
  21. 21. Provisioning
  22. 22. , .
  23. 23. ..
  24. 24. ,
  25. 25. .. ( ..)
  26. 26. CCD
  27. 27. CCD / .
  28. 28. Content Compress Driven
  29. 29. CCD ?
  30. 30. *.tar.gz
  31. 31. Ctrl + c/v
  32. 32. ( ) , ( ) . ( : tar, scp .)
  33. 33. .
  34. 34. .
  35. 35. 502, 503
  36. 36. .
  37. 37. Tomcat
  38. 38. Apache httpd/nginx ?
  39. 39. . Error
  40. 40. , ?
  41. 41. ,
  42. 42. .
  43. 43. .
  44. 44. , ( , ...)
  45. 45. :
  46. 46. …?
  47. 47. , . .
  48. 48. ( ) ?
  49. 49. , Docker ? (● ˃ ̶͈̀ ˂ ̶͈́)੭ꠥ⁾⁾
  50. 50. , Docker ?
  51. 51. No Silver Bullet
  52. 52. , . Docker . Container .
  53. 53. Container . ( , ...)
  54. 54. , Provisioning Tool !
  55. 55. Provisioning Tool .
  56. 56. ?
  57. 57. Ansible == Agentless
  58. 58. Ansible: use ssh
  59. 59. Ansible server, target server. ssh key OK.
  60. 60. Idempotent
  61. 61. Ansible .
  62. 62. Shell, Command
  63. 63. Shell, Command .
  64. 64. ( ) .
  65. 65. Task
  66. 66. Task + Scenario
  67. 67. Ansible Task
  68. 68. Scenario = Task
  69. 69. Set up: Pinpoint agent
  70. 70. Playbook
  71. 71. Playbook + Role
  72. 72. Role , Ansible Playbook . (tasks, vars, handlers, files .)
  73. 73. Playbook . ( roles , .)
  74. 74. YAML + Jinja2
  75. 75. Ansible YAML Jinja2
  76. 76. [Role]/tasks/set_pinpoint.yml [Role]/vars/main.yml
  77. 77. const config: File const tasks: File[], ?
  78. 78. Git
  79. 79. Git /
  80. 80. ..?
  81. 81. Role
  82. 82. Phase Role ., Role …
  83. 83. Directory Layout ..
  84. 84. Ansible Document .
  85. 85.
  86. 86. >
  87. 87. .
  88. 88. Task , ssh connection pipelining connection .
  89. 89. forks
  90. 90. ansible.cfg > forks 10 or command option: -f 10
  91. 91. .
  92. 92. gather_facts: no
  93. 93. connection , Target . , .
  94. 94. block:
  95. 95. (task) block , task command .
  96. 96. Don’t repeat Yourself.
  97. 97. role ?
  98. 98. role hub . Ansible Galaxy.
  99. 99. GUI ? (Ansible Core module )
  100. 100. , Ansible Tower . , awx .
  101. 101. Ansible Core module: python import , .
  102. 102. .

×