# License Server

<figure><img src="/files/556ccc415f63a4608d2b79ba0ee8d6160ffe6d95" alt=""><figcaption><p>license server를 Roboflow API의 프록시로 사용합니다.</p></figcaption></figure>

## 사전 요구 사항

* Ubuntu 20.04+ 또는 Debian 11+가 실행 중인 Linux 서버
* api.roboflow\.com 및 repo.roboflow\.com에 대한 인터넷 액세스
* 고정 IP 주소 또는 호스트명
* 포트 80 사용 가능(또는 사용자 지정 포트)
* Docker Engine 20.10+
* 200GB+ 저장 공간
* 4GB+ 메모리

## License Server 사용하기

Roboflow Inference Server를 인터넷에서 방화벽으로 차단하려면, Roboflow API와 모델의 가중치에 대한 프록시 역할을 하는 Roboflow License Server를 사용해야 합니다.

액세스 권한이 있는 머신에서 `https://api.roboflow.com` 및 `https://repo.roboflow.com` (그리고 포트 `80` 가 사설 네트워크에서 실행 중인 Inference Server에 열려 있는 경우), License Server Docker 컨테이너를 pull하세요:

```
docker pull repo.roboflow.com/roboflow/license-server
```

그리고 실행합니다:

```
docker run -d --name license-server -p 80:80 --restart unless-stopped \
    repo.roboflow.com/roboflow/license-server:latest
```

다음 항목에 IP를 전달하여 Inference Server가 이 License Server를 사용하도록 구성하세요 `LICENSE_SERVER` 환경 변수:

```
sudo docker run --net=host --env LICENSE_SERVER=10.0.1.1 roboflow/inference-server:cpu
```

## Device Manager를 통한 구성

다음을 통해 장치를 관리하는 경우 [Device Manager](/roboflow/roboflow-ko/deploy/device-manager.md)각 장치의 inference service에 대한 Configuration 탭에서 License Server 주소를 직접 설정할 수 있습니다.

License Server 주소를 입력하면 `API_BASE_URL` 은 자동으로 `https://api.roboflow.com`로 설정됩니다. 이렇게 하면 License Server에 요청을 프록시할 업스트림이 제공되고, 다음 두 항목이 모두 `LICENSE_SERVER` 및 `API_BASE_URL` 같은 온프레미스 주소를 가리키는 잘못된 구성을 방지합니다(이는 재귀적 프록시 루프를 일으킵니다).

License Server 필드를 비워도 `API_BASE_URL`는 제거되지 않으므로 기존 구성이 중단되지 않습니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-ko/deploy/enterprise-deployment/license-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
