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

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

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
217
CHAPTER 9
인프라를 정의하는 패턴
이 방법의 문제점은 필요할 때 해당 도구로 인프라를 실제로 재생성할 수 있을지를 보장하지 못한다는 점이
다. 인프라에서 도구가 감지하지 못하거나 지원하지 못하는 부분이 있을 수도 있다.
신뢰성 있게 인프라를 재생성할 수 있는 가장 좋은 방법은 ‘이월 생성 (
build
-
forward
)’하는 것이다. 즉, 기존
인프라를 반영하는 정의 파일을 만든 후, 해당 정의 파일을 실행해 인프라의 새 인스턴스를 생성하는 것이다.
새 인스턴스가 정상적으로 동작하는지를 시험한 후, 기존 인스턴스를 새로 만든 인스턴스로 교체할 수 있다.
자동 정의 도구를 사용해 완전히 새롭게 만든 인프라로 기존 인프라를 안전하게 교체할 수 없다면, 이는 눈송
이 또는 취약한 인프라(
33
페이지의 ‘취약한 인프라’ 참고)의 징후다. 전체 인프라를 쉽고 신뢰성 있게 재생성
할 수 있을 때까지 한 번에 하나씩 코드로서의 인프라를 사용해 기존 인프라 요소들의 재생성을 고려해야 한
다.
기존 인프라에서 구성 정의를 자동으로 생성하는 것은 인프라에 관한 학습에 도움이 될 수 있다. 생성한 정의
는 인프라를 자동으로 생성하는 시작점으로 사용할 수도 있기 때문이다. 그러나 구성 정의를 수제 인프라를
위한 유용한 복원 지점으로 착각하는 실수를 해서는 안 된다.
9.3 ...
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