ALIYUN::HBase::MultiZoneCluster は、複数ゾーンに存在する ApsaraDB for HBase クラスターを作成するために使用されます。
構文
{
"Type": "ALIYUN::HBase::MultiZoneCluster",
"Properties": {
"StandbyZoneId": String,
"ResourceGroupId": String,
"MasterInstanceType": String,
"LogDiskSize": Integer,
"StandbyVSwitchId": String,
"SecurityIPList": String,
"CoreInstanceType": String,
"ClusterName": String,
"Engine": String,
"ArbiterZoneId": String,
"AutoRenewPeriod": Integer,
"PrimaryZoneId": String,
"EngineVersion": String,
"MultiZoneCombination": String,
"CoreNodeCount": Integer,
"ArchVersion": String,
"Period": Integer,
"LogInstanceType": String,
"PayType": String,
"PrimaryVSwitchId": String,
"ArbiterVSwitchId": String,
"VpcId": String,
"CoreDiskType": String,
"LogNodeCount": Integer,
"LogDiskType": String,
"CoreDiskSize": Integer,
"PeriodUnit": String,
"DeletionProtection": Boolean
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
StandbyZoneId | String | はい | いいえ | セカンダリゾーンの ID。 | なし。 |
ResourceGroupId | String | いいえ | いいえ | リソースグループの ID。 | コンソールを使用して、使用可能なリソースグループをクエリできます。 このプロパティを指定しない場合は、デフォルトのリソースグループが使用されます。 |
MasterInstanceType | String | いいえ | はい | マスターノードのインスタンスタイプ。 | なし。 |
LogDiskSize | Integer | はい | はい | ログノードのディスクサイズ。 | 有効値: 400 ~ 64000。単位: GB。値は 40 GB 単位です。 |
StandbyVSwitchId | String | はい | いいえ | セカンダリゾーンの vSwitch の ID。 | vSwitch は、StandbyZoneId で指定されたゾーンに存在する必要があります。 |
SecurityIPList | String | いいえ | はい | クラスターのホワイトリストに追加する IP アドレスまたは CIDR ブロック。 | 複数の IP アドレスはコンマ (,) で区切ります。 説明 このプロパティを 127.0.0.1 に設定すると、すべての IP アドレスがクラスターにアクセスできなくなります。 このプロパティを 192.168.0.0/24 に設定すると、192.168.0.XX 形式の IP アドレスがクラスターにアクセスできるようになります。 |
CoreInstanceType | String | はい | はい | コアノードのインスタンスタイプ。 | なし。 |
ClusterName | String | いいえ | はい | クラスター名。 | 名前は次のルールに準拠する必要があります。
|
Engine | String | はい | いいえ | エンジンの種類。 | このプロパティは、ApsaraDB for HBase Performance-enhanced Edition に対してのみ有効です。 値を hbaseue に設定します。 |
ArbiterZoneId | String | はい | いいえ | アービタゾーンの ID。 | なし。 |
AutoRenewPeriod | Integer | いいえ | いいえ | 自動更新期間。 | 単位: 月。 説明 デフォルト値: 0。値 0 は、自動更新が無効になっていることを示します。 AutoRenewPeriod を 2 に設定すると、クラスターの有効期限が切れた後、クラスターは 2 か月間自動的に更新されます。 |
PrimaryZoneId | String | はい | いいえ | プライマリゾーンの ID。 | なし。 |
EngineVersion | String | はい | いいえ | エンジンのバージョン。 | 値を 2.0 に設定します。 |
MultiZoneCombination | String | はい | いいえ | ゾーンの組み合わせ。 | なし。 |
CoreNodeCount | Integer | はい | はい | コアノードの数。 | 有効値: 2 ~ 20。値は 2 の倍数である必要があります。 |
ArchVersion | String | はい | いいえ | デプロイアーキテクチャのバージョン。 | 値を 2.0 に設定します。 このプロパティは、Engine が hbaseue に設定されている場合にのみ有効です。 |
Period | Integer | いいえ | いいえ | クラスターのサブスクリプション期間。 |
説明 このプロパティは、PayType が Prepaid に設定されている場合にのみ指定する必要があります。 |
LogInstanceType | String | はい | いいえ | ログノードのインスタンスタイプ。 | なし。 |
PayType | String | はい | いいえ | クラスターの課金方法。 | 有効値:
|
PrimaryVSwitchId | String | はい | いいえ | プライマリゾーンの vSwitch の ID。 | vSwitch は、PrimaryZoneId で指定されたゾーンに存在する必要があります。 |
ArbiterVSwitchId | String | はい | いいえ | アービタ vSwitch の ID。 | vSwitch は、ArbiterZoneId で指定されたゾーンに存在する必要があります。 |
VpcId | String | いいえ | いいえ | 仮想プライベートクラウド (VPC) の ID。 | VPC は、RegionId で指定されたリージョンに存在する必要があります。 |
CoreDiskType | String | はい | いいえ | コアノードのディスクカテゴリ。 | 有効値:
|
LogNodeCount | Integer | はい | はい | ログノードの数。 | 有効値: 4 ~ 400。値は 4 の倍数である必要があります。 |
LogDiskType | String | はい | いいえ | ログノードのディスクカテゴリ。 | 有効値:
|
CoreDiskSize | Integer | はい | はい | コアノードのディスクサイズ。 | 有効値: 400 ~ 64000。単位: GB。値は 40 GB 単位です。 |
PeriodUnit | String | いいえ | いいえ | クラスターのサブスクリプション期間の単位。 | 有効値:
説明 このプロパティは、PayType が Prepaid に設定されている場合にのみ指定する必要があります。 |
DeletionProtection | Boolean | いいえ | はい | 削除保護機能を有効にするかどうかを指定します。 | 有効値:
|
戻り値
Fn::GetAtt
UiProxyConnAddrInfo: Web コンソールの接続アドレス。
ClusterId: クラスター ID。
ServiceConnAddrs: サブサービスのアドレス。
ThriftConn: Thrift 接続のアドレス。
SlbConnAddrs: Server Load Balancer (SLB) インスタンスとの接続のアドレス。
ZkConnAddrs: Zookeeper 接続のアドレス。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ArbiterVSwitchId:
Description:
ja: アービトレーション仮想スイッチ ID。スイッチは ArbiterZoneId に対応するアベイラビリティゾーンにある必要があります。
Required: true
Type: String
ArbiterZoneId:
Description:
ja: アービタゾーン ID。
Required: true
Type: String
ArchVersion:
AllowedValues:
- '2.0'
Description:
ja: デプロイアーキテクチャのバージョン。現在、hbaseue エンジンタイプのみがサポートされています。値は 2.0 にすることができます。
Required: true
Type: String
AutoRenewPeriod:
Description:
ja: 「自動更新期間。単位: 月。
このパラメータのデフォルト値は 0 です。この値は、自動更新が無効になっていることを示します。
このパラメータを 2 に設定すると、インスタンスの有効期限が切れた後、インスタンスは 2 か月間のサブスクリプションで自動的に更新されます。」
Required: false
Type: Number
ClusterName:
AllowedPattern: ^[a-zA-Z0-9_-]{2,30}$
Description:
ja: 「インスタンスの名前。
名前の長さは 2 ~ 128 文字である必要があり、文字、数字、ピリオド (.)、アンダースコア (_)、ハイフン (-) を含めることができます。文字で始まる必要があります。」
Required: false
Type: String
CoreDiskSize:
Description:
ja: 値の範囲は 400 GB ~ 64,000 GB です。ステップサイズは 40 GB です。
Required: true
Type: Number
CoreDiskType:
Description:
ja: 「コアノードディスクタイプ。有効値:
cloud_efficiency
cloud_ssd
local_hdd_pro
local_ssd_pro」
Required: true
Type: String
CoreInstanceType:
Description:
ja: DescribeAvailableResource オペレーションを呼び出して、このパラメータの値を取得できます。
Required: true
Type: String
CoreNodeCount:
Description:
ja: コアノードの数。コアノードの数の値の範囲は 2 ~ 20 で、増分は 2 の倍数です。
Required: true
Type: Number
Engine:
AllowedValues:
- hbaseue
Description:
ja: サービスタイプ。現在、HBase 拡張バージョンのみがサポートされています。値は hbaseue にすることができます。
Required: true
Type: String
EngineVersion:
AllowedValues:
- '2.0'
Description:
ja: 「エンジンのバージョン。有効値:
hbaseue:2.0」
Required: true
Type: String
LogDiskSize:
Description:
ja: ログディスクサイズ。値の範囲は 400 GB ~ 64,000 GB です。ステップサイズは 40 GB です。
Required: true
Type: Number
LogDiskType:
Description:
ja:
ja: 「ログノードディスクタイプ。有効値:
cloud_efficiency
cloud_ssd
local_hdd_pro
local_ssd_pro」
Required: true
Type: String
LogInstanceType:
Description:
ja: ログインスタンスタイプ。
Required: true
Type: String
LogNodeCount:
Description:
ja: ログノードの数。ログノードの値の範囲は 4 ~ 400 で、4 の倍数です。
Required: true
Type: Number
MasterInstanceType:
Description:
ja: マスターノードのインスタンスタイプ。DescribeAvailableResource オペレーションを呼び出して、このパラメータの値を取得できます。
Required: false
Type: String
MultiZoneCombination:
Description:
ja: アベイラビリティゾーンの組み合わせ。
Required: true
Type: String
PayType:
AllowedValues:
- PayAsYouGo
- Subscription
Description:
ja: 「課金方法。
Prepaid: サブスクリプション課金方法が使用されます。
Postpaid: 従量課金制課金方法が使用されます。」
Required: true
Type: String
Period:
AssociationProperty: PayPeriod
Description:
ja: 「サブスクリプション期間。
このパラメータは、PayType パラメータが Prepaid に設定されている場合にのみ有効です。
PeriodUnit パラメータが year に設定されている場合、Period パラメータの値の範囲は 1 ~ 5 です。
PeriodUnit パラメータが month に設定されている場合、Period パラメータの値の範囲は 1 ~ 9 です。」
Required: false
Type: Number
PeriodUnit:
AllowedValues:
- Month
- Year
- month
- year
AssociationProperty: PayPeriodUnit
Description:
ja: 「サブスクリプション期間の単位。有効値:
year
month」
Required: false
Type: String
PrimaryVSwitchId:
Description:
ja: プライマリアベイラビリティゾーンのインスタンスの仮想スイッチ ID は、PrimaryZoneId に対応するアベイラビリティゾーンにある必要があります。
Required: true
Type: String
PrimaryZoneId:
Description:
ja: プライマリアベイラビリティゾーンインスタンスのアベイラビリティゾーン ID。
Required: true
Type: String
ResourceGroupId:
AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
Description:
ja: 「リソースグループの ID。リソースグループコンソールでグループ ID をクエリできます。
このパラメータを空のままにすると、インスタンスはデフォルトのリソースグループに割り当てられます。」
Required: false
Type: String
SecurityIPList:
Description:
ja: 「ホワイトリスト内の IP アドレス。例: 192.168.*.*/24。0.0.0.0/0 値をホワイトリストに追加することはできません。複数の IP アドレスはコンマ (,) で区切ります。」
Required: false
Type: String
StandbyVSwitchId:
Description:
ja: スタンバイアベイラビリティゾーンインスタンスの仮想スイッチ ID は、StandbyZoneId の対応するアベイラビリティゾーンにある必要があります。
Required: true
Type: String
StandbyZoneId:
Description:
ja: スタンバイゾーン ID。
Required: true
Type: String
VpcId:
AssociationProperty: ALIYUN::ECS::VPC::VPCId
Description:
ja: 「仮想プライベートクラウド (VPC) の ID。このパラメータと VSwitchId パラメータを空のままにすると、クラシックネットワークタイプが使用されます。VPC ネットワークタイプが優先されます。」
Required: false
Type: String
Resources:
MultiZoneCluster:
Properties:
ArbiterVSwitchId:
Ref: ArbiterVSwitchId
ArbiterZoneId:
Ref: ArbiterZoneId
ArchVersion:
Ref: ArchVersion
AutoRenewPeriod:
Ref: AutoRenewPeriod
ClusterName:
Ref: ClusterName
CoreDiskSize:
Ref: CoreDiskSize
CoreDiskType:
Ref: CoreDiskType
CoreInstanceType:
Ref: CoreInstanceType
CoreNodeCount:
Ref: CoreNodeCount
Engine:
Ref: Engine
EngineVersion:
Ref: EngineVersion
LogDiskSize:
Ref: LogDiskSize
LogDiskType:
Ref: LogDiskType
LogInstanceType:
Ref: LogInstanceType
LogNodeCount:
Ref: LogNodeCount
MasterInstanceType:
Ref: MasterInstanceType
MultiZoneCombination:
Ref: MultiZoneCombination
PayType:
Ref: PayType
Period:
Ref: Period
PeriodUnit:
Ref: PeriodUnit
PrimaryVSwitchId:
Ref: PrimaryVSwitchId
PrimaryZoneId:
Ref: PrimaryZoneId
ResourceGroupId:
Ref: ResourceGroupId
SecurityIPList:
Ref: SecurityIPList
StandbyVSwitchId:
Ref: StandbyVSwitchId
StandbyZoneId:
Ref: StandbyZoneId
VpcId:
Ref: VpcId
Type: ALIYUN::HBase::MultiZoneCluster
Outputs:
ClusterId:
Description: インスタンスの ID。
Value:
Fn::GetAtt:
- MultiZoneCluster
- ClusterId
ServiceConnAddrs:
Description: ServiceConnAddr のリスト。
Value:
Fn::GetAtt:
- MultiZoneCluster
- ServiceConnAddrs
SlbConnAddrs:
Description: SlbConnAddr のリスト。
Value:
Fn::GetAtt:
- MultiZoneCluster
- SlbConnAddrs
ThriftConn:
Description: Thrift 接続アドレスリスト。
Value:
Fn::GetAtt:
- MultiZoneCluster
- ThriftConn
UiProxyConnAddrInfo:
Description: WebUI 接続情報リスト。
Value:
Fn::GetAtt:
- MultiZoneCluster
- UiProxyConnAddrInfo
ZkConnAddrs:
Description: ZkConnAddr のリスト。
Value:
Fn::GetAtt:
- MultiZoneCluster
- ZkConnAddrs
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"StandbyZoneId": {
"Type": "String",
"Description": {
"ja": "スタンバイゾーン ID。"
},
"Required": true
},
"ResourceGroupId": {
"AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
"Type": "String",
"Description": {
"ja": "リソースグループの ID。リソースグループコンソールでグループ ID をクエリできます。\nこのパラメータを空のままにすると、インスタンスはデフォルトのリソースグループに割り当てられます。"
},
"Required": false
},
"MasterInstanceType": {
"Type": "String",
"Description": {
"ja": "マスターノードのインスタンスタイプ。DescribeAvailableResource オペレーションを呼び出して、このパラメータの値を取得できます。"
},
"Required": false
},
"LogDiskSize": {
"Type": "Number",
"Description": {
"ja": "ログディスクサイズ。値の範囲は 400 GB ~ 64,000 GB です。ステップサイズは 40 GB です。"
},
"Required": true
},
"StandbyVSwitchId": {
"Type": "String",
"Description": {
"ja": "スタンバイアベイラビリティゾーンインスタンスの仮想スイッチ ID は、StandbyZoneId の対応するアベイラビリティゾーンにある必要があります。"
},
"Required": true
},
"SecurityIPList": {
"Type": "String",
"Description": {
"ja": "ホワイトリスト内の IP アドレス。例: 192.168.*.*/24。0.0.0.0/0 値をホワイトリストに追加することはできません。複数の IP アドレスはコンマ (,) で区切ります。"
},
"Required": false
},
"CoreInstanceType": {
"Type": "String",
"Description": {
"ja": "DescribeAvailableResource オペレーションを呼び出して、このパラメータの値を取得できます。"
},
"Required": true
},
"ClusterName": {
"Type": "String",
"Description": {
"ja": "インスタンスの名前。\n名前の長さは 2 ~ 128 文字である必要があり、文字、数字、ピリオド\n(.)、アンダースコア (_)、ハイフン (-) を含めることができます。文字で始まる必要があります。"
},
"AllowedPattern": "^[a-zA-Z0-9_-]{2,30}$",
"Required": false
},
"Engine": {
"Type": "String",
"Description": {
"ja": "サービスタイプ。現在、HBase 拡張バージョンのみがサポートされています。値は hbaseue にすることができます。"
},
"AllowedValues": [
"hbaseue"
],
"Required": true
},
"ArbiterZoneId": {
"Type": "String",
"Description": {
"ja": "アービタゾーン ID。"
},
"Required": true
},
"AutoRenewPeriod": {
"Type": "Number",
"Description": {
"ja": "自動更新期間。単位: 月。\nこのパラメータのデフォルト値は 0 です。この値は、自動更新が無効になっていることを示します。\nこのパラメータを 2 に設定すると、インスタンスの有効期限が切れた後、インスタンスは 2 か月間のサブスクリプションで自動的に更新されます。"
},
"Required": false
},
"PrimaryZoneId": {
"Type": "String",
"Description": {
"ja": "プライマリアベイラビリティゾーンインスタンスのアベイラビリティゾーン ID。"
},
"Required": true
},
"EngineVersion": {
"Type": "String",
"Description": {
"ja": "エンジンのバージョン。有効値:\nhbaseue:2.0"
},
"AllowedValues": [
"2.0"
],
"Required": true
},
"MultiZoneCombination": {
"Type": "String",
"Description": {
"ja": "アベイラビリティゾーンの組み合わせ。"
},
"Required": true
},
"CoreNodeCount": {
"Type": "Number",
"Description": {
"ja": "コアノードの数。コアノードの数の値の範囲は 2 ~ 20 で、増分は 2 の倍数です。"
},
"Required": true
},
"ArchVersion": {
"Type": "String",
"Description": {
"ja": "デプロイアーキテクチャのバージョン。現在、hbaseue エンジンタイプのみがサポートされています。値は 2.0 にすることができます。"
},
"AllowedValues": [
"2.0"
],
"Required": true
},
"Period": {
"AssociationProperty": "PayPeriod",
"Type": "Number",
"Description": {
"ja": "サブスクリプション期間。\nこのパラメータは、PayType パラメータが Prepaid に設定されている場合にのみ有効です。\nPeriodUnit パラメータが year に設定されている場合、Period パラメータの値の範囲は\n1 ~ 5 です。\nPeriodUnit パラメータが month に設定されている場合、Period パラメータの値の範囲は\n1 ~ 9 です。"
},
"Required": false
},
"LogInstanceType": {
"Type": "String",
"Description": {
"ja": "ログインスタンスタイプ。"
},
"Required": true
},
"PayType": {
"Type": "String",
"Description": {
"ja": "課金方法。\nPrepaid: サブスクリプション課金方法が使用されます。\nPostpaid: 従量課金制課金方法が使用されます。"
},
"AllowedValues": [
"PayAsYouGo",
"Subscription"
],
"Required": true
},
"PrimaryVSwitchId": {
"Type": "String",
"Description": {
"ja": "プライマリアベイラビリティゾーンのインスタンスの仮想スイッチ ID は、PrimaryZoneId に対応するアベイラビリティゾーンにある必要があります。"
},
"Required": true
},
"ArbiterVSwitchId": {
"Type": "String",
"Description": {
"ja": "アービトレーション仮想スイッチ ID。スイッチは ArbiterZoneId に対応するアベイラビリティゾーンにある必要があります。"
},
"Required": true
},
"VpcId": {
"AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
"Type": "String",
"Description": {
"ja": "仮想プライベートクラウド (VPC) の ID。このパラメータと VSwitchId\nパラメータを空のままにすると、クラシックネットワークタイプが使用されます。VPC ネットワークタイプが優先されます。"
},
"Required": false
},
"CoreDiskType": {
"Type": "String",
"Description": {
"ja": "コアノードディスクタイプ。有効値:\ncloud_efficiency\ncloud_ssd\nlocal_hdd_pro\nlocal_ssd_pro"
},
"Required": true
},
"LogNodeCount": {
"Type": "Number",
"Description": {
"ja": "ログノードの数。ログノードの値の範囲は 4 ~ 400 で、4 の倍数です。"
},
"Required": true
},
"LogDiskType": {
"Type": "String",
"Description": {
"ja": "ログノードディスクタイプ。有効値:\ncloud_efficiency\ncloud_ssd\nlocal_hdd_pro\nlocal_ssd_pro"
},
"Required": true
},
"CoreDiskSize": {
"Type": "Number",
"Description": {
"ja": "値の範囲は 400 GB ~ 64,000 GB です。ステップサイズは 40 GB です。"
},
"Required": true
},
"PeriodUnit": {
"AssociationProperty": "PayPeriodUnit",
"Type": "String",
"Description": {
"ja": "サブスクリプション期間の単位。有効値:\nyear\nmonth"
},
"AllowedValues": [
"Month",
"Year",
"month",
"year"
],
"Required": false
},
"DeletionProtection": {
"Type": "Boolean",
"Description": {
"ja": "削除保護機能を有効にするかどうかを指定します。"
},
"Required": false
}
},
"Resources": {
"MultiZoneCluster": {
"Type": "ALIYUN::HBase::MultiZoneCluster",
"Properties": {
"StandbyZoneId": {
"Ref": "StandbyZoneId"
},
"ResourceGroupId": {
"Ref": "ResourceGroupId"
},
"MasterInstanceType": {
"Ref": "MasterInstanceType"
},
"LogDiskSize": {
"Ref": "LogDiskSize"
},
"StandbyVSwitchId": {
"Ref": "StandbyVSwitchId"
},
"SecurityIPList": {
"Ref": "SecurityIPList"
},
"CoreInstanceType": {
"Ref": "CoreInstanceType"
},
"ClusterName": {
"Ref": "ClusterName"
},
"Engine": {
"Ref": "Engine"
},
"ArbiterZoneId": {
"Ref": "ArbiterZoneId"
},
"AutoRenewPeriod": {
"Ref": "AutoRenewPeriod"
},
"PrimaryZoneId": {
"Ref": "PrimaryZoneId"
},
"EngineVersion": {
"Ref": "EngineVersion"
},
"MultiZoneCombination": {
"Ref": "MultiZoneCombination"
},
"CoreNodeCount": {
"Ref": "CoreNodeCount"
},
"ArchVersion": {
"Ref": "ArchVersion"
},
"Period": {
"Ref": "Period"
},
"LogInstanceType": {
"Ref": "LogInstanceType"
},
"PayType": {
"Ref": "PayType"
},
"PrimaryVSwitchId": {
"Ref": "PrimaryVSwitchId"
},
"ArbiterVSwitchId": {
"Ref": "ArbiterVSwitchId"
},
"VpcId": {
"Ref": "VpcId"
},
"CoreDiskType": {
"Ref": "CoreDiskType"
},
"LogNodeCount": {
"Ref": "LogNodeCount"
},
"LogDiskType": {
"Ref": "LogDiskType"
},
"CoreDiskSize": {
"Ref": "CoreDiskSize"
},
"PeriodUnit": {
"Ref": "PeriodUnit"
},
"DeletionProtection": {
"Ref": "DeletionProtection"
}
}
}
},
"Outputs": {
"UiProxyConnAddrInfo": {
"Description": "WebUI 接続情報リスト。",
"Value": {
"Fn::GetAtt": [
"MultiZoneCluster",
"UiProxyConnAddrInfo"
]
}
},
"ClusterId": {
"Description": "インスタンスの ID。",
"Value": {
"Fn::GetAtt": [
"MultiZoneCluster",
"ClusterId"
]
}
},
"ServiceConnAddrs": {
"Description": "ServiceConnAddr のリスト。",
"Value": {
"Fn::GetAtt": [
"MultiZoneCluster",
"ServiceConnAddrs"
]
}
},
"ThriftConn": {
"Description": "Thrift 接続アドレスリスト。",
"Value": {
"Fn::GetAtt": [
"MultiZoneCluster",
"ThriftConn"
]
}
},
"SlbConnAddrs": {
"Description": "SlbConnAddr のリスト。",
"Value": {
"Fn::GetAtt": [
"MultiZoneCluster",
"SlbConnAddrs"
]
}
},
"ZkConnAddrs": {
"Description": "ZkConnAddr のリスト。",
"Value": {
"Fn::GetAtt": [
"MultiZoneCluster",
"ZkConnAddrs"
]
}
}
}
}