# サブネットの作成方法

## 概要 <a href="#createasubnet-overview" id="createasubnet-overview"></a>

サブネットとは、VPC 内の IP アドレス範囲を持つ一意の CIDR ブロックです。VPC 内のすべてのリソースはサブネット上にデプロイする必要があります。

* デフォルトでは、同じVPC内の異なるサブネットにあるすべてのインスタンスは相互に通信できます。たとえば、2つのサブネットを持つVPCでは、デフォルトで相互通信が可能です。
* サブネット作成後のCIDRブロックは変更できません。同一VPC内のサブネットは重複できません。
* **GPU VM**を作成する際には、VPC内のアクティブな**サブネット**が必要です。システムは自動的にそのサブネットから**プライベートIP**を新規仮想マシンに割り当てます。

## ステップバイステップ <a href="#createasubnet-step-by-step" id="createasubnet-step-by-step"></a>

{% stepper %}
{% step %}
左側のメニューで、**\[Networking] → \[Subnets]** に移動し、**\[Create Subnet]** をクリックします。

<figure><img src="/files/IfSwbKaTfcesWl2ZYUR6" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/eHBGr4YZC1ZFXWNc1P8Z" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**\[Name]** フィールドにサブネットの名前を入力します
{% endstep %}

{% step %}
サブネットのタイプを選択します。現在サポートされているタイプは次の 2 つです:

* **ルーティング:** NATゲートウェイ経由でインターネットにルーティングされます。
* **分離型:** サブネットはインターネットへのルーティングを持ちません。
  {% endstep %}

{% step %}
**\[ネットワークアドレス (CIDR)]** で、ネットワークで使用するIP範囲 (サブネット) をCIDR表記 (例: 172.30.65.0/24) で指定します。
{% endstep %}

{% step %}
**「ゲートウェイIP」**&#x3067;、サブネット内のデフォルトゲートウェイのIPアドレスを指定します。通常は最初の使用可能IP（例: 172.30.65.1）です。
{% endstep %}

{% step %}
**固定IPプールを**定義する — 固定割り当て用に予約された特定のIP範囲
{% endstep %}

{% step %}
**DNS**設定の構成

ネットワーククライアントがドメイン名を解決するために使用するDNSサーバーのIPアドレスを指定します。

* **プライマリDNS:** ドメイン名解決に必要なDNSサーバー
* **セカンダリDNS（任意）：**&#x30D7;ライマリが利用できない場合のバックアップDNSサーバー
  {% endstep %}

{% step %}
サブネットを分類または整理するための**タグを**割り当てます。
{% endstep %}
{% endstepper %}


---

# 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://ai-docs.fptcloud.com/ai-factory-guideline-jp/fpt-gpu-cloud/gpumashin/chtoriaru/sabunettono.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.
