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

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

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
185
CHAPTER 8
서버를 업데이트하고 변경하는 패턴
명시적으로 선언한 것들만 남기고 나머지는 모두 시스템에서 삭제하는 화이트 리스트 방식으
로 이를 처리할 수 있다. 그러나 예측할 수 없는, 서버가 제대로 동작하는 데 필요만 임시 파일
과 데이터 파일이 많이 존재한다. 데이터 파일, 로그, 임시 파일 등은 모두 보존해야 한다. 현재
의 서버 구성 도구는 이를 지원하지 않는다.
현재의 도구를 사용하지 않고는 더 쉽게 구성할 방법이 없다고 말하려는 것은 아니다. 그리고
팀 대부분은 서버의 모든 요소에 강박 수준의 통제를 하지 않고도 잘 운영하고 있다.
8.4
불변 서버를 위한 패턴과 관례
서버 템플릿으로 불변 서버를 생성한 후에는 동작 중인 서버 인스턴스에 있는 구성 파일, 시스
템 패키지, 소프트웨어는 변경되지 않는다. 이들에 대한 어떤 변경이든 새 서버 인스턴스를 생
성하는 방식으로 이루어진다. 하지만 서버를 오랫동안 내버려 두면 구성 편차에 취약해지므로,
불변 서버를 사용한다면 이번 장 앞에서 설명한 피닉스 패턴에 따라 서버의 수명을 짧게 유지
하는 것이 좋다.
불변 서버를 사용하려면 새 템플릿을 빠르고 빈번하게 만들어야 하므로 더 정교한 서버 템플릿
관리가 필요하다.
물론 불변 서버가 실제로도 불변인 것은 아니다. 서버가 생성되었다 삭제되더라도 일시적인 ...
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