Skip to Content
코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
book

코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
172
코드로 인프라 관리하기
앤서블, 셰프, 퍼핏 등의 서버 구성 도구를 사용해 서버를 운영하는 팀은 템플릿을 만드는 데도
동일한 도구를 사용하기 원할 것이다. 이러한 도구들은 원본 이미지에서 시작된 서버 인스턴스
를 템플릿 이미지로 굽기 전에 적절한 구성 정의를 적용한다.
한편으로 템플릿을 만들 때 적용되는 구성은 보통 단순한 셸이나 스크립트로도 처리할 수 있을
정도로 단순하다. 이는 서버 구성 도구를 전혀 사용하지 않는 불변 서버를 사용하는 팀에 특히
유용하다.
구성 관리 도구는 동작 중에 상태가 계속 변하는 서버들의 구성을 지속해서 동기화할 때처럼
더 복잡한 상황에서 사용하도록 의도된 것이다. 그러나 템플릿을 구성하는 것은 깨끗한 스톡
이미지나 새로 설치한
OS
로 시작하는 일회성 작업이다.
7
.
7
.
2
관례: 서버 템플릿을 자동으로 시험하라
템플릿을 자동으로 생성하면 자연스럽게 템플릿을 자동으로 시험할 수 있다. 새 템플릿을 만
들 때마다 자동화 도구는 템플릿을 사용해 새
VM
을 기동하고, 템플릿이 올바르고 규칙을 준수
하는지를 확인하는 시험을 한 후, 템플릿을 사용할 준비가 되었다고 표시할 수 있다. 그러면 새
서버를 생성하는 스크립트는 시험을 통과한 최신 템플릿을 자동으로 선택할 수 있다.
어떤 자동 시험도 마찬가지지만 시험 체계는 실제로 가치가 있는 부분만 최소한으로 유지하는
것이 중요하다. 목표는 일반적인 오류를 잡아내고 자동화의 신뢰를 계속 유지하게 하는 것이
다. 효과적인 시험 체계를 설계하는 것은
11
장의 주제다.
7.8 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다

스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다

이창현, 앨릭스 토머스
클라우드 엔지니어를 위한 97가지 조언

클라우드 엔지니어를 위한 97가지 조언

Emily Freeman, Nathen Harvey, 정기훈(Jung Ki Hun)

Publisher Resources

ISBN: 9788968483431