Networking
가이드

Elastic IPv4 관리

Elastic IPv4를 할당하고 인스턴스에 연결하거나 분리한 뒤 필요하지 않은 주소를 해제합니다.

주소 할당

독립 주소 할당bash
dgl ipv4 allocate --region <REGION>

주소를 만들면서 인스턴스에 바로 연결할 수도 있습니다.

할당과 연결bash
dgl ipv4 allocate-and-attach \
  --instance <INSTANCE_ID_OR_NAME>

기존 주소 연결과 분리

주소 연결bash
dgl ipv4 attach <IPV4_ID_OR_ADDRESS> \
  --instance <INSTANCE_ID_OR_NAME>

dgl ipv4 detach <IPV4_ID_OR_ADDRESS>

기본 라우트 선택

인스턴스에 여러 IPv4가 연결되어 있다면 사용할 기본 라우트를 지정할 수 있습니다.

기본 라우트 변경bash
dgl ipv4 set-default-route <IPV4_ID_OR_ADDRESS>

On-demand 주소 변환

Elastic으로 변환bash
dgl ipv4 convert-to-elastic <IPV4_ID_OR_ADDRESS>

주소 해제

사용하지 않는 Elastic IPv4만 해제할 수 있습니다. 연결 상태를 먼저 확인하세요.

확인 후 해제bash
dgl ipv4 show <IPV4_ID_OR_ADDRESS>
dgl ipv4 release <IPV4_ID_OR_ADDRESS>