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

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

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
320
코드로 인프라 관리하기
13
.
2
.
3
가상화 플랫폼 샌드박스 사용하기
어떤 경우 로컬 인프라 개발 환경을 만들 수 없거나 만들어진 환경이 실제 인프라 플랫폼을 의
미 있게 대표하지 못할 수도 있다. 예를 들어 로컬
VM
에서 특정 서비스를 복제하거나 목을 만
드는 데는 많은 작업이 필요하므로, 클라우드 플랫폼이 제공하는 서비스를 사용하는 것이 나을
수 있다.
이런 상황에서는 주 인프라 플랫폼에서 샌드박스 환경을 실행할 수 있다. 베이그런트 등을 사
용해 로컬에서 인프라를 실행하는 대신 관련 인프라의 사본을 클라우드에서 기동할 수 있다.
[그림
13
-
3
]은 이 흐름을 보여준다.
그림
13
-
3
파이프라인에넣기전호스트형샌드박스에서시험하기
파이프라인에 넣기 전
호스트형 샌드박스 환경에서
시험한다
시험 및 상용 환경을 관리하는 데 사용하는 것과 동일한 도구, 스크립트, 정의를 사용해 로컬
에서 인프라 정의를 만든 후 호스트형 샌드박스 환경에 적용할 수 있다. 변경이 성공한 후 해당
변경을
VCS
에 커밋하면 파이프라인이 시작되어 변경이 적용된다.
13.3
코드 구조화 패턴
코드로서의 인프라를 채택한 팀의 과제 중 하나는 정의, 스크립트, 구성 파일의 코드를 구조화
하는 좋은 방법을 찾는 것이다. 좋은 구조는 팀원들이 서로 간섭하지 않고 여러 작업을 쉽게 할
321
CHAPTER ...
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