すべてのプロダクト
Search
ドキュメントセンター

Simple Log Service:VPC 固有の内部ドメイン名

最終更新日:Dec 18, 2025

Simple Log Service (SLS) は、Virtual Private Cloud (VPC) 内から SLS にアクセスするための VPC 固有の内部ドメイン名を提供します。

VPC 固有の内部ドメイン名のフォーマット

ドメイン名のフォーマットは {regionId}-internal.log.aliyuncs.com です。これらのドメイン名は VPC 内からのみアクセス可能で、他の環境からはアクセスできません。

既存の内部ドメイン名との違い

VPC 固有の内部ドメイン名は、独立したネットワークセグメントを使用します。SLS は、各リージョンのドメイン名に対して、仮想 IP アドレス (VIP) に固定の CIDR ブロックを割り当てます。オンプレミスのデータセンターや、異なるリージョンにある Elastic Compute Service (ECS) インスタンスからプライベートネットワーク経由で SLS にアクセスするには、Cloud Enterprise Network (CEN)、Express Connect、専用回線、または Virtual Private Network (VPN) などのサービスを使用して、ターゲットリージョンのプライベートネットワークに接続します。その後、対応する CIDR ブロックへのルートを設定します。以下の表は、各リージョンの CIDR ブロックの一覧です。

中国

リージョン

リージョン ID

ドメイン名

固定 IPv4 CIDR ブロック

中国 (杭州)

cn-hangzhou

cn-hangzhou-internal.log.aliyuncs.com

100.115.4.0/24

中国 (上海)

cn-shanghai

cn-shanghai-internal.log.aliyuncs.com

100.115.12.0/24

中国 (青島)

cn-qingdao

cn-qingdao-internal.log.aliyuncs.com

100.115.76.0/24

中国 (北京)

cn-beijing

cn-beijing-internal.log.aliyuncs.com

100.115.44.0/24

中国 (深圳)

cn-shenzhen

cn-shenzhen-internal.log.aliyuncs.com

100.115.10.0/24

中国 (河源)

cn-heyuan

cn-heyuan-internal.log.aliyuncs.com

100.115.51.0/24

中国 (広州)

cn-guangzhou

cn-guangzhou-internal.log.aliyuncs.com

100.115.49.0/24

中国 (張家口)

cn-zhangjiakou

cn-zhangjiakou-internal.log.aliyuncs.com

100.115.28.0/24

中国 (フフホト)

cn-huhehaote

cn-huhehaote-internal.log.aliyuncs.com

100.115.69.0/24

中国 (ウランチャブ)

cn-wulanchabu

cn-wulanchabu-internal.log.aliyuncs.com

100.118.12.0/24

中国 (成都)

cn-chengdu

cn-chengdu-internal.log.aliyuncs.com

100.115.52.0/24

中国 (香港)

cn-hongkong

cn-hongkong-internal.log.aliyuncs.com

100.115.24.0/24

中国国外

リージョン

リージョン ID

ドメイン名

固定 IPv4 CIDR ブロック

日本 (東京)

ap-northeast-1

ap-northeast-1-internal.log.aliyuncs.com

100.115.17.0/24

韓国 (ソウル)

ap-northeast-2

ap-northeast-2-internal.log.aliyuncs.com

100.115.18.0/24

シンガポール

ap-southeast-1

ap-southeast-1-internal.log.aliyuncs.com

100.115.40.0/24

マレーシア (クアラルンプール)

ap-southeast-3

ap-southeast-3-internal.log.aliyuncs.com

100.115.32.0/24

インドネシア (ジャカルタ)

ap-southeast-5

ap-southeast-5-internal.log.aliyuncs.com

100.115.36.0/24

フィリピン (マニラ)

ap-southeast-6

ap-southeast-6-internal.log.aliyuncs.com

100.115.34.0/24

タイ (バンコク)

ap-southeast-7

ap-southeast-7-internal.log.aliyuncs.com

100.115.35.0/24

UAE (ドバイ)

me-east-1

me-east-1-internal.log.aliyuncs.com

100.115.57.0/24

ドイツ (フランクフルト)

eu-central-1

eu-central-1-internal.log.aliyuncs.com

100.115.80.0/24

米国 (バージニア)

us-east-1

us-east-1-internal.log.aliyuncs.com

100.115.86.0/24

英国 (ロンドン)

eu-west-1

eu-west-1-internal.log.aliyuncs.com

100.115.84.0/24

SAU (リヤド - パートナーリージョン)

me-central-1

me-central-1-internal.log.aliyuncs.com

100.115.56.0/24

米国 (シリコンバレー)

us-west-1

us-west-1-internal.log.aliyuncs.com

100.115.87.0/24

米国 (アトランタ)

us-southeast-1

us-southeast-1-internal.log.aliyuncs.com

100.115.125.128/25

使用方法

エンドポイントを VPC 固有のドメイン名に置き換えます。次のコードは Java での例です。

import com.aliyun.openservices.log.Client;
import com.aliyun.openservices.log.http.client.ClientConfiguration;
import com.aliyun.openservices.log.http.signer.SignVersion;

public class Sample {

    public static void main(String[] args) throws Exception {
        // この例では、中国 (北京) リージョンを使用します。必要に応じてリージョンを変更してください。
        String endpoint = "cn-beijing-internal.log.aliyuncs.com";
        // この例では、環境変数から AccessKey ID と AccessKey Secret を取得します。
        String accessKeyId = System.getenv("ALIBABA_CLOUD_ACCESS_KEY_ID");
        String accessKeySecret = System.getenv("ALIBABA_CLOUD_ACCESS_KEY_SECRET");
        ClientConfiguration clientConfiguration = new ClientConfiguration();
        clientConfiguration.setRegion("cn-beijing");
        clientConfiguration.setSignatureVersion(SignVersion.V4);
        Client client = new Client(endpoint,
                accessKeyId,
                accessKeySecret,
                clientConfiguration);
    }
}