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

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

by 강재준
May 2017
Beginner to intermediate
400 pages
7h 33m
Korean
Hanbit Media, Inc.
Content preview from 코드로 인프라 관리하기: 효율적인 인프라 관리를 위한 자동화 방법
125
CHAPTER 5
일반적인 인프라 서비스
가상 서버의 파일 시스템에 저장한 로그 파일은 해당 서버가 고장 나거나 자동으로 제거되면
손실된다.
중앙 집중식 로그 통합이 이를 위한 일반적인 해결책이다. 시스로그 서버나 로그스태시
Logstash
와 같은 중앙의 스토리지 서비스로 로그를 전송하도록 서버나 장치를 구성할 수 있다. 일래스
틱서치
Elasticsearch
나 키바나
Kibana
와 같은 도구를 사용하면 통합 로그를 쉽게 검색하고, 로그 내용
을 기반으로 대시보드를 구성하고, 문제가 발생했을 때 경보를 발생시킬 수 있다.
원인을 파악하는 데 이 모든 데이터를 사용할 수 있다면 의심할 여지 없이 유용하겠지만, 경보
를 발생시키고 주요 측정값으로 표시해야 할 이벤트만 분류하는 것이 현명하다. 로그 파일은
보통 사람에게는 유의미하지만 기계는 이해하기 힘든 메시지 문자열의 복잡한 조합일 수도 있
고, 사람에게 반드시 유의미하지도 않으면서 기계가 이해 (스택 추적 )하기도 그리 쉽지 않은
덤프 파일일 수도 있다.
이러한 로그 파일들은 문제를 해결할 때 이리저리 살펴보기에는 유용하지만, 문제나 상태를 신
뢰성 있게 감지하고 보고하기를 원하는 경우에는 별 쓸모가 없다. 보다 더 구조적인 메시지를
생성하도록 애플리케이션과 시스템을 만들고 구성해야 한다.
5.4
서비스 탐색
인프라에서 동작 중인 애플리케이션과 서비스는 종종 다른 애플리케이션이나 서비스를 찾는
방법을 알아야 한다.
예를 들어 프런트엔드 웹 애플리케이션은 사용자의 트랜잭션을 처리하기 위해 백엔드 ...
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