このページでは、Google Distributed Cloud 接続ハードウェアを注文する方法について説明します。Distributed Cloud Connected は、次の国でご利用いただけます。
- オーストラリア
- オーストリア
- ベルギー
- ブラジル
- カナダ
- デンマーク
- フィンランド
- フランス
- ドイツ
- 香港
- 日本
- インド
- インドネシア
- イタリア
- オランダ
- ノルウェー
- ポーランド
- サウジアラビア
- シンガポール
- 韓国
- スペイン
- スウェーデン
- スイス
- 英国
- 米国
ハードウェアを注文する前に、Distributed Cloud 接続のインストール要件を満たす必要があります。
Distributed Cloud コネクテッドの注文タイプ
ビジネス要件に基づいて、次のいずれかの方法で Distributed Cloud コネクテッド ハードウェアを注文できます。
Google 所有のハードウェア。Distributed Cloud コネクテッド ハードウェアは、Google から直接注文できます。このシナリオでは、Google が Distributed Cloud 接続ハードウェアの調達、メンテナンス、修理、廃止を行います。契約が終了すると、Google は Distributed Cloud ハードウェアを回収し、保存されているすべてのデータを破棄します。
お客様が調達したハードウェア。ビジネス要件に合ったデプロイ構成について Google と協議した後、Google パートナーの SI から Distributed Cloud Connected を注文できます。このシナリオでは、Distributed Cloud 接続ハードウェアを所有しています。SI は、お客様と Google と連携して、ハードウェアのデプロイ、修理、廃止を行います。契約が終了すると、SI は Distributed Cloud に接続されたハードウェアからすべての Google ソフトウェアとデータを消去します。その後、ハードウェアを再利用または廃棄できます。
Google Cloud コンソールを使用して Distributed Cloud 接続ハードウェアを注文する
Google Cloud コンソールで、[注文] ページに移動します。
ターゲットの Google Cloud プロジェクトを選択します。
[注文する] をクリックします。
リクエスト フォームに入力して送信します。
Google Cloud 販売担当者が送信内容を確認し、注文を完了するために連絡します。担当者は次の操作を行います。
- ビジネス要件を確認して、最適なハードウェア構成を選択できるようにします。
- ローカル ネットワーク、 Google Cloud プロジェクト、設置場所、設置要件に記載されているその他の要件に関する情報を収集します。
- この情報を使用して、配送前に Distributed Cloud ハードウェアを構成します。
GDC Hardware Management API を使用して Distributed Cloud コネクテッド ハードウェアを注文する
GDC Hardware Management API を使用して注文するには、Order リソースと、Order リソースが参照する Site、Zone、Hardware リソースを作成する必要があります。次に、Order リソースを Google に送信します。
これらのリソースには次の機能があります。GDC Hardware Management API の使用方法については、Google Distributed Cloud CLI と API のリファレンスをご覧ください。
Order。このリソースは、1 つ以上の Distributed Cloud ゾーンの作成をリクエストします。このリソースを作成すると、create_order_response.nameフィールドでアクセス可能な名前が付けられます。Orderリソース名の形式は次のとおりです。`projects/`PROJECT_ID`/locations/`REGION`/orders/`ORDER_ID
ここで
PROJECT_ID: ターゲット Google Cloud プロジェクトの ID。REGION: Distributed Cloud ゾーンをデプロイする Google Cloud リージョン。ORDER_ID: この注文を識別する一意の ID。省略すると、値が自動的に生成されます。小文字、数字、ダッシュで構成される一意の注文 ID 値を指定することをおすすめします。そうしないと、注文作成の呼び出しが失敗した場合に、重複する注文が生成される可能性があります。
Site。このリソースは、Distributed Cloud ハードウェアをデプロイする物理的な場所を表します。このリソースには、初回納品と今後のメンテナンスのアクセスを調整する担当者の連絡先情報が含まれています。この連絡先は、注文時に指定した連絡先とは異なる場合があります。Hardware。このリソースは、Distributed Cloud サーバーまたはラックを表します。各Hardwareリソースは、関連付けられたOrder、Site、Zoneリソースを参照します。使用可能な SKU を確認するには、ListSkus API 呼び出しを使用します。Zone。このリソースは、オンプレミスにデプロイされる Distributed Cloud コネクテッド ハードウェアを表します。Distributed Cloud ゾーンは、1 つ以上の Distributed Cloud 接続ラック、またはお客様のロケーションにデプロイされたすべての Distributed Cloud 接続サーバー マシンをカバーします。
このセクションの手順を完了する前に、Google の営業担当者と協力して顧客情報アンケート(CIQ)を完了し、Distributed Cloud 接続デプロイのスコープと構成を確定する必要があります。この情報は注文時に必要になります。
前提条件
始める前に、次の前提条件を満たす必要があります。
次のコマンドを使用して、GDC Hardware Management API クライアント ライブラリをインストールします。
python3 -m pip install google-cloud-gdchardwaremanagement
ターゲットの Google Cloud プロジェクトで GDC Hardware Management API を有効にします。
GDC Hardware Management API を使用して Distributed Cloud コネクテッド ハードウェアの注文を作成して送信する
このセクションの手順は、GDC ハードウェア管理 API を使用して Order リソースを作成し、Google に送信する方法を示す例です。このセクションの手順を完了するには、 Google Cloud プロジェクトに GDC ハードウェア管理管理者(roles/gdchardwaremanagement.admin)ロールが必要です。
Orderリソースを作成します。次に例を示します。import datetime from google.cloud import gdchardwaremanagement_v1alpha from google.protobuf.timestamp_pb2 import Timestamp from google.type import postal_address_pb2 client = gdchardwaremanagement_v1alpha.GDCHardwareManagementClient() contact = gdchardwaremanagement_v1alpha.Contact( given_name="John", family_name="Customer", email="jcustomer@example.com", phone="+1 123 456 7890", ) organization_contact = gdchardwaremanagement_v1alpha.OrganizationContact( address=postal_address_pb2.PostalAddress( organization="Example Organization", address_lines=["1800 Amphibious Blvd."], locality="Mountain View", administrative_area="CA", postal_code="94045", region_code="US", ), contacts=[contact], ) order = gdchardwaremanagement_v1alpha.Order( organization_contact=organization_contact, customer_motivation="I like Google Distributed Cloud!", fulfillment_time=Timestamp( seconds=int(datetime.datetime(2024, 11, 22, 9, 0).timestamp()), ), region_code="US", ) create_order_response = client.create_order( request=gdchardwaremanagement_v1alpha.CreateOrderRequest( parent="projects/myProject/locations/us-east1", order_id="myOrderID", order=order, ), ).result()
注文は
DRAFT状態になり、create_order_response.nameフィールドに保存されているリソース名が割り当てられました。この注文のステータスを変更または追跡する場合は、このリソース名を使用します。Siteリソースを作成する次に例を示します。site = gdchardwaremanagement_v1alpha.Site( organization_contact=organization_contact, google_maps_pin_uri="https://maps.app.goo.gl/z7bE8z8fffg6Sri46", ) create_site_response = client.create_site( request=gdchardwaremanagement_v1alpha.CreateSiteRequest( parent="projects/myProject/locations/us-east1", site_id="mySite", site=site, ), ).result()
Zoneリソースを作成する次に例を示します。zone = gdchardwaremanagement_v1alpha.Zone( contacts=[contact], network_config=gdchardwaremanagement_v1alpha.ZoneNetworkConfig( management_ipv4_subnet=gdchardwaremanagement_v1alpha.Subnet( address_range="192.0.2.0/24", default_gateway_ip_address="192.0.2.1", ), machine_mgmt_ipv4_range="192.0.2.8/29", kubernetes_ipv4_subnet=gdchardwaremanagement_v1alpha.Subnet( address_range="203.0.113.0/24", default_gateway_ip_address="203.0.113.1", ), kubernetes_node_ipv4_range="203.0.113.8/29", kubernetes_control_plane_ipv4_range="203.0.113.16/29", ), ) create_zone_response = client.create_zone( request=gdchardwaremanagement_v1alpha.CreateZoneRequest( parent="projects/myProject/locations/us-east1", zone_id="myZone", zone=zone, ), ).result()
Hardwareリソースを作成します。Distributed Cloud コネクテッド デプロイの各マシンに一意のhardware_id値を指定する必要があります。次に例を示します。from google.type import date_pb2 hardware = gdchardwaremanagement_v1alpha.Hardware( order=create_order_response.name, site=create_site_response.name, zone=create_zone_response.name, config=gdchardwaremanagement_v1alpha.HardwareConfig( sku="projects/myProject/locations/us-east1/skus/gdce-server-l", power_supply=gdchardwaremanagement_v1alpha.types.PowerSupply.POWER_SUPPLY_AC, ), physical_info=gdchardwaremanagement_v1alpha.HardwarePhysicalInfo( power_receptacle=gdchardwaremanagement_v1alpha.types.HardwarePhysicalInfo.PowerReceptacleType.NEMA_5_15, network_uplink=gdchardwaremanagement_v1alpha.types.HardwarePhysicalInfo.NetworkUplinkType.RJ_45, voltage=gdchardwaremanagement_v1alpha.types.HardwarePhysicalInfo.Voltage.VOLTAGE_110, amperes=gdchardwaremanagement_v1alpha.types.HardwarePhysicalInfo.Amperes.AMPERES_15, ), installation_info=gdchardwaremanagement_v1alpha.HardwareInstallationInfo( rack_location="Floor 2, Room 201, Row 7, Rack 3", power_distance_meters=2, switch_distance_meters=2, rack_unit_dimensions=gdchardwaremanagement_v1alpha.Dimensions( width_inches=19, height_inches=1.75, depth_inches=30, ), rack_space=gdchardwaremanagement_v1alpha.RackSpace( start_rack_unit=12, end_rack_unit=12, ), rack_type=gdchardwaremanagement_v1alpha.types.HardwareInstallationInfo.RackType.FOUR_POST, ), requested_installation_date=date_pb2.Date(year=2024, month=11, day=22), ) create_hardware_response = client.create_hardware( request=gdchardwaremanagement_v1alpha.CreateHardwareRequest( parent="projects/myProject/locations/us-east1", hardware_id="machineHardwareID", hardware=hardware, ), ).result()
Orderリソースを Google に送信します。submit_order_response = client.submit_order( request=gdchardwaremanagement_v1alpha.SubmitOrderRequest( name=create_order_response.name, ), ).result()