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

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

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
179
CHAPTER 8
서버를 업데이트하고 변경하는 패턴
8.3
지속적 배포를 위한 패턴과 관례
지속적 동기화를 하려면 현재 구성 정의를 특정 서버에 적용하는 절차를 정기적으로 실행해야
한다. 이 절차는 다음 둘 중 한 가지 방식으로 동작할 수 있다. 밀어 넣기 방식에서는 중앙의 프
로세스가 일정을 관리하면서 개별 서버에 접속한 후 구성을 전송해 적용한다. 끌어오기 방식에
서는 서버 자체의 프로세스가 동작하면서 최신 구성 정의를 내려받아 적용한다.
밀어 넣기 방식의 동기화
많은 서버 구성 도구는 관리 대상 서버에 구성을 밀어넣는 마스터 서버가 있다. 구성을 밀어넣
으려면 네트워크 포트나 메시지 버스를 통해 서버의 명령어를 수신하는 클라이언트가 모든 관
리 대상 서버에서 동작해야 할 수도 있다. 어떤 시스템은
SSH
와 같은 원격 명령어 프로토콜을
사용해 접속한 후 구성 명령어를 실행하기도 하며, 이 경우에는 클라이언트 소프트웨어가 필요
없다. 어느 경우든 중앙의 서버가 동기화 시점을 결정하고 절차를 조율한다.
예를 들어 앤서블은
SSH
를 통해 대상 서버에 접속해 스크립트를 복사한 후 해당 스크립트를
실행한다. 앤서블이 서버를 관리하는 데 필요한 것은
SSH
데몬과 파이썬 해석기
Python
interpreter
뿐이다.
밀어 넣기 방식의 장점은 구성 변경을 적용할 시점과 대상의 제어권이 중앙에 있다는 것이다.
이 방식은 인프라 변경이 특정 순서나 특정 시간에 따라 이루어지도록 조율해야 할 때 도움이
된다. 이상적으로는 이런 조율을 할 필요가 ...
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