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

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

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
171
CHAPTER 7
서버 템플릿을 관리하는 패턴
7
.
6
.
2
템플릿을 만드는 기반 스크립트 공유하기
템플릿을 계층화하는 목적 중 하나는 다양한 역할별 템플릿이 공통 기반 요소를 공유할 때 일
관성을 얻기 위한 것이다. 하지만 계층화의 더 효율적인 대안은 서버를 템플릿으로 굽기 전 맞
춤형으로 수정하는 데 사용하는 공통 스크립트나 구성 정의를 공유하는 것이다. 예를 들어 [그
림
7
-
4
]처럼 기반 스크립트는 공통 유틸리티, 감시 에이전트, 공통 구성 설정을 설치할 수 있
다. 모든 역할별 템플릿은 스톡 서버 이미지로부터 만들어지며, 모든 기반 요소와 역할별 요소
를 하나의 단계에서 추가한다.
그림
7
-
4
공유기반스크립트로템플릿을만드는단일단계의절차
감시 에이전트
설치
감시 에이전트
설치
애플리케이션 서버
소프트웨어 설치
웹 서버 템플릿
애플리케이션
서버 템플릿
웹 서버 소프트웨어
설치
7.7
서버 템플릿 관리 자동화하기
서버 한 대를 기동하고, 업데이트를 적용한 후, 템플릿을 구워 사용할 수 있기까지 템플릿을 만
드는 전체 절차를 자동화하기는 어렵지 않다.
4
장
97
페이지의 ‘서버 템플릿을 패키징하는 도구’
에서 템플릿을 만드는 데 사용할 수 있는 도구를 설명했다.
7
.
7
.
1
서버를 굽기 전에 수정하기
패커처럼 전체 템플릿 생성 절차를 자동화하는 도구를 사용하면 서버를 템플릿으로 ...
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