가이드
Elastic IPv4 관리
Elastic IPv4를 할당하고 인스턴스에 연결하거나 분리한 뒤 필요하지 않은 주소를 해제합니다.
주소 할당
dgl ipv4 allocate --region <REGION>주소를 만들면서 인스턴스에 바로 연결할 수도 있습니다.
dgl ipv4 allocate-and-attach \
--instance <INSTANCE_ID_OR_NAME>기존 주소 연결과 분리
dgl ipv4 attach <IPV4_ID_OR_ADDRESS> \
--instance <INSTANCE_ID_OR_NAME>
dgl ipv4 detach <IPV4_ID_OR_ADDRESS>기본 라우트 선택
인스턴스에 여러 IPv4가 연결되어 있다면 사용할 기본 라우트를 지정할 수 있습니다.
dgl ipv4 set-default-route <IPV4_ID_OR_ADDRESS>On-demand 주소 변환
dgl ipv4 convert-to-elastic <IPV4_ID_OR_ADDRESS>주소 해제
사용하지 않는 Elastic IPv4만 해제할 수 있습니다. 연결 상태를 먼저 확인하세요.
dgl ipv4 show <IPV4_ID_OR_ADDRESS>
dgl ipv4 release <IPV4_ID_OR_ADDRESS>