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

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

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
81
CHAPTER 3
인프라 정의 도구
[예제
3
-
2
]는 생성할
VM
크기, 서버 생성에 사용할
AMI
이미지, 웹 서버가 동작할 환경 이름
을 매개변수로 받아들인다
예제
3
-
2
매개변수화된환경정의
aws
_
instance
:
web
_
server
name
:
web
-${
var
.
environment
}
ami
:
${
var
.
web
_
server
_
ami
}
instance
_
type
:
${
var
.
instance
_
type
}
이 정의를 적용할 때 인프라 도구에 매개변수를 전달하는 방법은 다양하다. 인프라 도구는 명
령줄 인자나 환경 변수를 받아들일 수도 있고, 파일이나 구성 레지스트리 서비스 (이번 장 나중
에 설명한다 )에서 매개변수를 읽을 수도 있다.
매개변수는 명령줄에서 수동으로 입력하는 방식 대신, 일관성 있고 반복 가능한 방식으로 설정
해야 한다. 변경 관리 파이프라인을 사용하는 경우에는, 파이프라인의 단계마다 매개변수를 설
정하기 위해 파이프라인 오케스트레이션 도구(젠킨스
Jenkins
나
GoCD
같은
CI
또는
CD
서버)
를 사용할 수 있다. 구성 레지스트리에서 매개변수를 관리하는 방법도 있다.
3.3
인프라 정의 도구로 작업하기
지금까지 코드로서의 인프라 도구에 대한 일반적인 지침을 다루었으므로, 이제 좀 더 세부적인
내용을 살펴볼 수 있다. 인프라 정의 도구는 종종 인프라 오케스트레이션 도구로도 불리며
IT
인프라 아키텍처를 정의하고, 구현하고, 업데이트하는 데 사용한다.
인프라는 구성 정의 파일에 명시되며 인프라 정의 도구는 파일에 명시된
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