Web_Service/AWS

리젼과 가용영역 / Region and Availability Zone

옥뀨 2021. 1. 27. 00:46

아마존으로 서버를 구축하기 위해 알고 있으면 좋은 개념 중에서 리젼과 가용 영역에 대해서 설명해보고자 한다.

Among the good concepts to know to build a server with Amazon, let's look at "Region" and "Availability Zone".

 

쉽게 접근을 위해 한 가지 예시를 들어서 설명하고자 한다.

For ease of access, I will use an example to explain.

 

아래 그림을 먼저 살펴보자.

Let's look at the picture below first.

 

 

새로 쇼핑몰을 운영하고 싶은 A와 B가 있다.

There are Person A and Person B who want to run a new shopping mall.

 

A는 한국에 있는 고객들에 맞춰 시작하려고 생각 중이고 B는 미국에 있는 고객들을 대상으로 쇼핑몰을 시작한다고 가정해보자.

Suppose Person A wants to start a shopping mall for customers in Korea, and Person B starts a shopping mall for customers in the United States.

 

아무리 인터넷이 빠르게 발달되어 있다고 해도 다른 나라에서 A의 쇼핑몰에 접속하는 것은 서울에서 접속하는 것보다 트래픽 지연이 있을 수밖에 없다.

No matter how fast the Internet is, accessing Person A's shopping mall from another country is slower than accessing from Seoul.

 

반대로 다른 나라에서 B의 쇼핑몰에 접속하는 것이 미국에서 접속하는 것보다 트래픽 지연이 일어날 가능성이 매우 높다.

Connecting to Person B's shopping mall from another country will be slower than connecting from the United States.

 

다양한 국가의 도시에서 해당 지역의 서비스를 빠르게 이용할 수 있도록 아마존은 리젼이라는 개념을 도입했다.

To help cities in various countries quickly access local services, Amazon introduced the concept of "Region".

 

해당 지역에 가까이 사용하는 사람들은 더 빠르게 그 지역의 서비스를 이용할 수 있다.

People who use it close to the area can use the area's services faster.

 

이렇듯 A가 쇼핑몰 고객으로 한국 사람들을 대상으로 운영을 하고자 한다면 서울로 리젼을 설정하면 되고 B는 미국 사람들을 대상으로 운영을 하고자 한다면 미국의 도시 중 가까운 곳을 리젼으로 설정하면 된다.

if person A wants to operate shopping mall customers for Koreans, it is enough to set a "Region" to Seoul.

if person B wants to operate shopping mall customers for Americans, it is enough set the nearest state as a “Region”.

 

 

이것이 리젼이라는 개념이다.

This is the concept of a "Region".

 

아래 그림은 2021년 01월 26일 기준 설정 가능한 리젼을 표현한 그림이다.

The figure below shows the "Region" that can be set as of January 26, 2021.

 

리젼 분포도 ("Region" distribution map) / 출처 : AWS 

 

그럼 가용 영역이란 무엇일까?

So what is the "Availability Zone"?

 

가용 영역은 리젼 내에서 운영되는 데이터 센터이다.

"Availability Zone" are data centers operating within a "Region".

 

아래 그림을 보자.

Take a look at the picture below.

 

가용 영역 / Availability Zone

 

A가 쇼핑몰을 리젼1의 가용 영역1에서 운영 중이었는데 가용 영역1의 데이터 센터에 문제가 생겼다고 가정해보자.

Person A is running a shopping mall in "Availability Zone 1" of "Region 1". However, suppose there is a problem with the data center in "Availability Zone 1".

 

그렇게 되면 가용 영역2를 사용하여 다시 업무를 처리할 수 있다.

If something goes wrong with "Availability Zone 1", person A can use "Availability Zone 2" to get the job done again.

 

이것이 가용 영역에 대한 개념이다.

This is the concept of "Availability Zone".

 

일종의 백업 역할을 하는 안전장치라고 생각하면 되겠다.

Like this, we can think of "Availability Zone" as a safety device that acts as a backup.

 

리젼 내에 있는 가용 영역들은 서로 전용선으로 연결되어 빠르게 통신이 가능하다.

“Availability Zones” within the “Region” are connected to each other by a dedicated line, allowing rapid communication.

 

아래는 가용 영역에 대한 분포도이다. 원 안에 있는 숫자들이 가용 영역의 개수이다.

Below is the distribution map for "Availability Zones". The numbers in the circle are the number of "Availability Zones".

 

가용 영역 분포도 ("Availability Zone" distribution map) / 출처 : AWS 

 

리젼과 가용 영역에 대해 알아보았다.

We looked at "Region" and "Availability Zone".

 

알고 있으면 도움이 되는 내용이므로 웹 서비스를 좀 더 효율적으로 운영하기 위해서 참고하도록 하자.

It is helpful if we know it, and it is the knowledge needed to operate web services more efficiently.