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

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

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
39
CHAPTER 1
문제와 원칙
클라우드 시대의 동적 인프라에서는 기존 시스템의 구성을 변경하기가 쉬우면서도 비용은
더 적게 든다. 하지만 이는 모든 것이 변경하기 쉬운 구조로 설계되어 있어야 가능한 일이
다. 소프트웨어와 인프라는 현재의 요구사항만 충족하는 수준으로 가능하면 단순하게 설계
해야 한다. 변경 관리는 안전하고 빠르게 변경을 전달할 수 있어야 한다.
시스템을 안전하고 빠르게 변경하는 가장 좋은 방법은 구성을 자주 변경해보는 것이다. 이
를 통해 모두가 변경을 관리하는 좋은 습관을 배우고, 효율적이고 간결한 절차를 개발하고,
변경을 도와주는 도구를 구현할 수 있다.
1.5
관례
1
.
4
절에서는 큰 그림에서 보는 원칙을 설명했다. 이번 절에서는 코드로서의 인프라에서 따
르는 일반적인 관례 몇 개를 소개한다.
1
.
5
.
1
정의 파일을 사용하라
코드로서의 인프라에서 가장 기본적인 관례는 정의 파일을 사용하는 것이다. 정의는 인프
라 요소와 구성 방법을 지정한다. 정의 파일은 인프라 요소의 인스턴스를 프로비저닝하고
구성하는 도구에 건넬 입력으로 사용된다. [예제
1
-
1
]은 데이터베이스 서버 노드용 정의
파일의 예다.
예제
1
-
1
DSL
을사용한정의파일예
server
:
dbnode
base
_
image
:
centos72
chef
_
role
:
dbnode
network
_
segment
:
prod
_
db
allowed
_
inbound
:
from
_
segment
:
prod
_
app
port
:
1521
allowed
_
inbound
:
from
_
segment ...
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