Cria uma instância StarRocks Serverless.
Sintaxe
{
"Type": "ALIYUN::EMR::StarRocksInstance",
"Properties": {
"AdminPassword": String,
"ClusterZoneId": String,
"InstanceName": String,
"PayType": String,
"PackageType": String,
"RunMode": String,
"VpcId": String,
"Version": String,
"AutoRenew": Boolean,
"BackendNodeGroups": List,
"Duration": Integer,
"Encrypted": Boolean,
"FrontendNodeGroups": List,
"KmsKeyId": String,
"OrderId": Integer,
"ObserverNodeGroups": List,
"OssAccessingRoleName": String,
"PromotionOptionNo": String,
"PricingCycle": String,
"ResourceGroupId": String,
"ResourceType": String,
"Tags": List,
"Vswitches": List
}
}
Propriedades
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
AdminPassword |
String |
Sim |
Não |
Senha do administrador. |
Nenhuma |
|
ClusterZoneId |
String |
Sim |
Não |
ID da zona primária. |
Nenhuma |
|
InstanceName |
String |
Sim |
Sim |
Nome da instância. |
Nenhuma |
|
PayType |
String |
Sim |
Não |
Método de faturamento. |
Valores válidos:
|
|
PackageType |
String |
Sim |
Não |
Edição da instância. |
Valores válidos:
|
|
RunMode |
String |
Sim |
Não |
Modo de execução do cluster. |
Valores válidos:
|
|
VpcId |
String |
Sim |
Não |
ID da VPC. |
Nenhuma |
|
Version |
String |
Sim |
Não |
Versão principal da instância. |
Nenhuma |
|
AutoRenew |
Boolean |
Não |
Não |
Indica se a renovação automática está ativada. |
Válido apenas quando PayType é PrePaid. Padrão: false. |
|
BackendNodeGroups |
List |
Não |
Não |
Configurações do grupo de computação BE ou CN. |
Para mais informações, consulte Propriedades de BackendNodeGroups. |
|
Duration |
Integer |
Não |
Não |
Duração da assinatura. |
Válido apenas quando PayType é PrePaid. Valores válidos: 1, 2, 3, 6, 12, 24, 36, 48 e 60. |
|
Encrypted |
Boolean |
Não |
Não |
Indica se a instância está criptografada. |
Nenhuma |
|
FrontendNodeGroups |
List |
Não |
Não |
Configurações do grupo de nós FE. |
Para mais informações, consulte Propriedades de FrontendNodeGroups. |
|
KmsKeyId |
String |
Não |
Não |
ID da chave KMS. |
Nenhuma |
|
OrderId |
Integer |
Não |
Não |
ID do pedido. |
Nenhuma |
|
ObserverNodeGroups |
List |
Não |
Não |
Configurações do grupo de computação Observer. |
Obrigatório apenas para recuperação de desastres multizona. A configuração deve corresponder aos grupos de nós FE. Para mais informações, consulte Propriedades de ObserverNodeGroups. |
|
OssAccessingRoleName |
String |
Não |
Não |
Função para acesso ao OSS sem senha. |
Nenhuma |
|
PromotionOptionNo |
String |
Não |
Não |
ID do cupom. |
Nenhuma |
|
PricingCycle |
String |
Não |
Não |
Unidade de duração da assinatura. |
Valores válidos:
|
|
ResourceGroupId |
String |
Não |
Sim |
ID do grupo de recursos. |
Nenhuma |
|
ResourceType |
String |
Não |
Não |
Tipo de recurso. |
Nenhuma |
|
Tags |
List |
Não |
Sim |
Tags da instância. |
Máximo: 20. Para mais informações, consulte Propriedades de Tags. |
|
Vswitches |
List |
Não |
Não |
Mapeamentos de vSwitch e zona. |
Para mais informações, consulte Propriedades de Vswitches. |
Sintaxe de FrontendNodeGroups
"FrontendNodeGroups": [
{
"Cu": Integer,
"ZoneId": String,
"DiskNumber": Integer,
"SpecType": String,
"StoragePerformanceLevel": String,
"ResidentNodeNumber": Integer,
"StorageSize": Integer,
"LocalStorageInstanceType": String
}
]
Propriedades de FrontendNodeGroups
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
Cu |
Integer |
Não |
Não |
Quantidade de CUs. |
1 CU = 1 núcleo de CPU + 4 GiB de memória. |
|
DiskNumber |
Integer |
Não |
Não |
Número de discos. |
Nenhuma |
|
LocalStorageInstanceType |
String |
Não |
Não |
Tipo de instância SSD local. |
Não obrigatório para grupos de computação FE. |
|
ResidentNodeNumber |
Integer |
Não |
Não |
Número de nós. |
Nenhuma |
|
SpecType |
String |
Não |
Não |
Tipo de instância do grupo de computação. |
Valores válidos:
|
|
StoragePerformanceLevel |
String |
Não |
Não |
Nível de desempenho do disco em nuvem. |
Valores válidos:
|
|
StorageSize |
Integer |
Não |
Não |
Tamanho do armazenamento. |
Unidade: GiB. |
|
ZoneId |
String |
Não |
Não |
ID da zona. |
Nenhuma |
Sintaxe de Vswitches
"Vswitches": [
{
"ZoneId": String,
"VSwitchId": String
}
]
Propriedades de Vswitches
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
VSwitchId |
String |
Sim |
Não |
ID do vSwitch. |
Nenhuma |
|
ZoneId |
String |
Não |
Não |
ID da zona. |
Nenhuma |
Sintaxe de ObserverNodeGroups
"ObserverNodeGroups": [
{
"Cu": Integer,
"ZoneId": String,
"DiskNumber": Integer,
"SpecType": String,
"StoragePerformanceLevel": String,
"ResidentNodeNumber": Integer,
"StorageSize": Integer,
"LocalStorageInstanceType": String
}
]
Propriedades de ObserverNodeGroups
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
Cu |
Integer |
Não |
Não |
Quantidade de CUs. |
1 CU = 1 núcleo de CPU + 4 GiB de memória. |
|
DiskNumber |
Integer |
Não |
Não |
Número de discos. |
Nenhuma |
|
LocalStorageInstanceType |
String |
Não |
Não |
Tipo de instância SSD local. |
Não obrigatório para grupos de computação Observer. |
|
ResidentNodeNumber |
Integer |
Não |
Não |
Número de nós. |
Nenhuma |
|
SpecType |
String |
Não |
Não |
Tipo de instância do grupo de computação. |
Valores válidos:
|
|
StoragePerformanceLevel |
String |
Não |
Não |
Nível de desempenho do disco em nuvem. |
Valores válidos:
|
|
StorageSize |
Integer |
Não |
Não |
Tamanho do armazenamento. |
Unidade: GiB. |
|
ZoneId |
String |
Não |
Não |
ID da zona. |
Nenhuma |
Sintaxe de Tags
"Tags": [
{
"Value": String,
"Key": String
}
]
Propriedades de Tags
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
Key |
String |
Sim |
Não |
Chave da tag. |
Nenhuma |
|
Value |
String |
Não |
Não |
Valor da tag. |
Nenhuma |
Sintaxe de BackendNodeGroups
"BackendNodeGroups": [
{
"Cu": Integer,
"ZoneId": String,
"DiskNumber": Integer,
"SpecType": String,
"StoragePerformanceLevel": String,
"ResidentNodeNumber": Integer,
"StorageSize": Integer,
"LocalStorageInstanceType": String
}
]
Propriedades de BackendNodeGroups
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
Cu |
Integer |
Não |
Não |
Quantidade de CUs. |
1 CU = 1 núcleo de CPU + 4 GiB de memória. Para ramEnhanced, 1 CU = 1 núcleo de CPU + 8 GiB de memória. |
|
DiskNumber |
Integer |
Não |
Não |
Número de discos. |
Nenhuma |
|
LocalStorageInstanceType |
String |
Não |
Não |
Tipo de instância SSD local para o grupo de nós. |
Válido apenas para instâncias baseadas em ECS com SpecType localSSD ou bigData. |
|
ResidentNodeNumber |
Integer |
Não |
Não |
Número de nós. |
Nenhuma |
|
SpecType |
String |
Não |
Não |
Tipo de instância do grupo de computação. |
Valores válidos:
|
|
StoragePerformanceLevel |
String |
Não |
Não |
Nível de desempenho do disco em nuvem. |
Valores válidos:
|
|
StorageSize |
Integer |
Não |
Não |
Tamanho do armazenamento. |
Unidade: GiB. |
|
ZoneId |
String |
Não |
Não |
ID da zona. |
Nenhuma |
Valores de retorno
Fn::GetAtt
ResourceGroupId: ID do grupo de recursos.
MonitorType: tipo de serviço de monitoramento.
Encrypted: indica se a instância está criptografada.
SgId: ID do grupo de segurança.
Vswitches: lista de vSwitches.
Version: versão do cluster.
PackageType: edição da instância.
Tags: tags da instância.
EnableSsl: indica se o SSL está ativado.
Architecture: arquitetura da instância.
KmsKeyId: ID da chave KMS.
EnableAutoMinorVersionUpgrade: indica se as atualizações automáticas de versão secundária estão ativadas.
MaintainablePeriod: janela de manutenção da instância.
InstanceId: ID da instância.
AclId: ID da ACL de rede.
CreateTime: hora de criação da instância.
MinorVersion: número da versão secundária.
PayType: método de faturamento.
EnabledAuditLoader: indica se o plugin de auditoria está ativado.
InstanceName: nome da instância.
VpcId: ID da VPC.
RunMode: modo de execução do cluster.
OssLocation: endereço do OSS.
IsolateLeader: indica se a separação de leitura e gravação está ativada.
ExpireTime: hora de expiração do cluster.
RunningTime: tempo de execução do cluster.
SecurityGroupManaged: indica se o grupo de segurança é gerenciado.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ClusterZoneId:
Type: String
Description: The ID of the primary zone for the StarRocks instance.
Required: true
AssociationProperty: ZoneId
PayType:
Type: String
Description: The billing method of the instance.
AllowedValues:
- PayAsYouGo
- PostPaid
- PayOnDemand
- Postpaid
- PostPay
- POSTPAY
- postPaid
- Subscription
- PrePaid
- PrePay
- Prepaid
- PREPAY
- prePaid
Required: true
Default: Postpaid
FrontendNodeGroups:
AssociationPropertyMetadata:
Parameters:
Cu:
Type: Number
Description: The number of CUs. A Compute Unit (CU) is the basic unit of measurement for the service. 1 CU is equal to 1 CPU core and 4 GiB of memory.
Required: false
ZoneId:
AssociationProperty: ZoneId
Type: String
Description: The zone ID.
Required: false
DiskNumber:
Type: Number
Description: The number of disks.
Required: false
MinValue: 0
MaxValue: 1
SpecType:
Type: String
Description: |-
The instance type of the compute group. Valid values:
- standard
- ramEnhanced
AllowedValues:
- standard
- ramEnhanced
Required: false
StoragePerformanceLevel:
Type: String
Description: |-
The performance level of the cloud disk. Valid values:
- pl0: A maximum of 10,000 random read/write IOPS per disk.
- pl1: A maximum of 50,000 random read/write IOPS per disk.
- pl2: A maximum of 100,000 random read/write IOPS per disk.
- pl3: A maximum of 1,000,000 random read/write IOPS per disk.
Required: false
ResidentNodeNumber:
Type: Number
Description: The number of resident nodes in the node group.
Required: false
MinValue: 1
MaxValue: 11
StorageSize:
Type: Number
Description: The storage size in GiB.
Required: false
MinValue: 100
MaxValue: 65000
LocalStorageInstanceType:
Type: String
Description: The instance type of the local SSD.
Required: false
AssociationProperty: List[Parameters]
Type: Json
Description: The information about the FE node groups.
Required: false
MinLength: 0
MaxLength: 50
Default:
- StoragePerformanceLevel: pl1
SpecType: standard
StorageSize: 100
ResidentNodeNumber: 3
Cu: 8
Vswitches:
AssociationPropertyMetadata:
Parameters:
ZoneId:
AssociationProperty: ZoneId
Type: String
Description: The zone ID of the vSwitch.
Required: false
VSwitchId:
AssociationPropertyMetadata:
VpcId: ${VpcId}
ZoneId: ${ZoneId}
AssociationProperty: ALIYUN::VPC::VSwitch::VSwitchId
Type: String
Description: The ID of the vSwitch.
Required: true
AssociationProperty: List[Parameters]
Type: Json
Description: The vSwitch information of the StarRocks instance.
Required: false
MinLength: 0
MaxLength: 3
InstanceName:
Type: String
Description: The name of the StarRocks instance.
Required: true
VpcId:
AssociationProperty: ALIYUN::ECS::VPC::VPCId
Type: String
Description: The VPC ID of the StarRocks instance.
Required: true
Version:
Type: String
Description: The version of the StarRocks instance.
Required: true
RunMode:
Type: String
Description: |-
The run mode of the instance. Valid values:
- shared_nothing: All-in-one mode.
- shared_data: Separation of storage and compute.
- lakehouse: Data lake analytics mode.
AllowedValues:
- shared_nothing
- shared_data
- lakehouse
Required: true
PackageType:
Type: String
Description: |-
The edition of the instance. Valid values:
- trial: Starter Edition
- official: Standard Edition
AllowedValues:
- trial
- official
Required: true
OssAccessingRoleName:
Type: String
Description: The name of the role used for password-free access to OSS.
Required: false
Default: AliyunEMRStarRocksAccessingOSSRole
BackendNodeGroups:
AssociationPropertyMetadata:
Parameters:
Cu:
Type: Number
Description: The number of CUs. A Compute Unit (CU) is the basic unit of measurement for the service. 1 CU is equal to 1 CPU core and 4 GiB of memory.
Required: false
ZoneId:
AssociationProperty: ZoneId
Type: String
Description: The zone ID.
Required: false
DiskNumber:
Type: Number
Description: The number of disks.
Required: false
MinValue: 1
MaxValue: 8
SpecType:
Type: String
Description: |-
The instance type of the compute group. Valid values:
- standard
- localSSD
- bigData
- ramEnhanced
- networkEnhanced
AllowedValues:
- standard
- localSSD
- bigData
- ramEnhanced
- networkEnhanced
Required: false
StoragePerformanceLevel:
Type: String
Description: |-
The performance level of the cloud disk. Valid values:
- pl0: A maximum of 10,000 random read/write IOPS per disk.
- pl1: A maximum of 50,000 random read/write IOPS per disk.
- pl2: A maximum of 100,000 random read/write IOPS per disk.
- pl3: A maximum of 1,000,000 random read/write IOPS per disk.
AllowedValues:
- pl0
- pl1
- pl2
- pl3
Required: false
ResidentNodeNumber:
Type: Number
Description: The number of resident nodes in the node group.
Required: false
MinValue: 1
MaxValue: 100
StorageSize:
Type: Number
Description: The storage size in GiB.
Required: false
MinValue: 100
MaxValue: 65000
LocalStorageInstanceType:
Type: String
Description: The instance type of the local SSD.
Required: false
AssociationProperty: List[Parameters]
Type: Json
Description: The information about the BE or CN compute groups.
Required: false
MinLength: 0
MaxLength: 50
Default:
- StoragePerformanceLevel: pl1
DiskNumber: 1
SpecType: standard
StorageSize: 100
ResidentNodeNumber: 3
Cu: 8
AdminPassword:
Type: String
Description: The password of the administrator.
Required: true
Resources:
ExtensionResource:
Type: ALIYUN::EMR::StarRocksInstance
Properties:
ClusterZoneId:
Ref: ClusterZoneId
PayType:
Ref: PayType
FrontendNodeGroups:
Ref: FrontendNodeGroups
Vswitches:
Ref: Vswitches
InstanceName:
Ref: InstanceName
VpcId:
Ref: VpcId
Version:
Ref: Version
RunMode:
Ref: RunMode
PackageType:
Ref: PackageType
OssAccessingRoleName:
Ref: OssAccessingRoleName
BackendNodeGroups:
Ref: BackendNodeGroups
AdminPassword:
Ref: AdminPassword
Outputs:
ResourceGroupId:
Description: The ID of the resource group to which the StarRocks instance belongs.
Value:
Fn::GetAtt:
- ExtensionResource
- ResourceGroupId
MonitorType:
Description: The monitoring service type.
Value:
Fn::GetAtt:
- ExtensionResource
- MonitorType
Encrypted:
Description: Indicates whether the instance is encrypted.
Value:
Fn::GetAtt:
- ExtensionResource
- Encrypted
SgId:
Description: The security group ID of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- SgId
Vswitches:
Description: The vSwitch information of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- Vswitches
Version:
Description: The version of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- Version
PackageType:
Description: The edition of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- PackageType
Tags:
Description: The tags of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- Tags
EnableSsl:
Description: Indicates whether SSL is enabled.
Value:
Fn::GetAtt:
- ExtensionResource
- EnableSsl
Architecture:
Description: The architecture of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- Architecture
KmsKeyId:
Description: The ID of the Key Management Service (KMS) key.
Value:
Fn::GetAtt:
- ExtensionResource
- KmsKeyId
EnableAutoMinorVersionUpgrade:
Description: Indicates whether automatic minor version upgrades are supported.
Value:
Fn::GetAtt:
- ExtensionResource
- EnableAutoMinorVersionUpgrade
MaintainablePeriod:
Description: The maintenance window of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- MaintainablePeriod
InstanceId:
Description: The ID of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- InstanceId
AclId:
Description: The ID of the access control list.
Value:
Fn::GetAtt:
- ExtensionResource
- AclId
CreateTime:
Description: The creation time of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- CreateTime
MinorVersion:
Description: The minor version of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- MinorVersion
PayType:
Description: The billing method of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- PayType
EnabledAuditLoader:
Description: Indicates whether the audit loader is enabled.
Value:
Fn::GetAtt:
- ExtensionResource
- EnabledAuditLoader
InstanceName:
Description: The name of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- InstanceName
VpcId:
Description: The VPC ID of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- VpcId
RunMode:
Description: The run mode of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- RunMode
OssLocation:
Description: The OSS location.
Value:
Fn::GetAtt:
- ExtensionResource
- OssLocation
IsolateLeader:
Description: Indicates whether the leader FE node is isolated.
Value:
Fn::GetAtt:
- ExtensionResource
- IsolateLeader
ExpireTime:
Description: The expiration time of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- ExpireTime
RunningTime:
Description: The runtime of the StarRocks instance.
Value:
Fn::GetAtt:
- ExtensionResource
- RunningTime
SecurityGroupManaged:
Description: Indicates whether the security group is a managed security group.
Value:
Fn::GetAtt:
- ExtensionResource
- SecurityGroupManaged
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ClusterZoneId": {
"Type": "String",
"Description": {
"en": "The ID of the primary zone for the StarRocks instance."
},
"Required": true,
"AssociationProperty": "ZoneId"
},
"PayType": {
"Type": "String",
"Description": {
"en": "The billing method of the instance."
},
"AllowedValues": [
"PayAsYouGo",
"PostPaid",
"PayOnDemand",
"Postpaid",
"PostPay",
"POSTPAY",
"postPaid",
"Subscription",
"PrePaid",
"PrePay",
"Prepaid",
"PREPAY",
"prePaid"
],
"Required": true,
"Default": "Postpaid"
},
"FrontendNodeGroups": {
"AssociationPropertyMetadata": {
"Parameters": {
"Cu": {
"Type": "Number",
"Description": {
"en": "The number of CUs. A Compute Unit (CU) is the basic unit of measurement for the service. 1 CU is equal to 1 CPU core and 4 GiB of memory."
},
"Required": false
},
"ZoneId": {
"AssociationProperty": "ZoneId",
"Type": "String",
"Description": {
"en": "The zone ID."
},
"Required": false
},
"DiskNumber": {
"Type": "Number",
"Description": {
"en": "The number of disks."
},
"Required": false,
"MinValue": 0,
"MaxValue": 1
},
"SpecType": {
"Type": "String",
"Description": {
"en": "The instance type of the compute group. Valid values:\n- standard\n- ramEnhanced"
},
"AllowedValues": [
"standard",
"ramEnhanced"
],
"Required": false
},
"StoragePerformanceLevel": {
"Type": "String",
"Description": {
"en": "The performance level of the cloud disk. Valid values:\n- pl0: A maximum of 10,000 random read/write IOPS per disk.\n- pl1: A maximum of 50,000 random read/write IOPS per disk.\n- pl2: A maximum of 100,000 random read/write IOPS per disk.\n- pl3: A maximum of 1,000,000 random read/write IOPS per disk."
},
"Required": false
},
"ResidentNodeNumber": {
"Type": "Number",
"Description": {
"en": "The number of resident nodes in the node group."
},
"Required": false,
"MinValue": 1,
"MaxValue": 11
},
"StorageSize": {
"Type": "Number",
"Description": {
"en": "The storage size in GiB."
},
"Required": false,
"MinValue": 100,
"MaxValue": 65000
},
"LocalStorageInstanceType": {
"Type": "String",
"Description": {
"en": "The instance type of the local SSD."
},
"Required": false
}
}
},
"AssociationProperty": "List[Parameters]",
"Type": "Json",
"Description": {
"en": "The information about the FE node groups."
},
"Required": false,
"MinLength": 0,
"MaxLength": 50,
"Default": [
{
"StoragePerformanceLevel": "pl1",
"SpecType": "standard",
"StorageSize": 100,
"ResidentNodeNumber": 3,
"Cu": 8
}
]
},
"Vswitches": {
"AssociationPropertyMetadata": {
"Parameters": {
"ZoneId": {
"AssociationProperty": "ZoneId",
"Type": "String",
"Description": {
"en": "The zone ID of the vSwitch."
},
"Required": false
},
"VSwitchId": {
"AssociationPropertyMetadata": {
"VpcId": "${VpcId}",
"ZoneId": "${ZoneId}"
},
"AssociationProperty": "ALIYUN::VPC::VSwitch::VSwitchId",
"Type": "String",
"Description": {
"en": "The ID of the vSwitch."
},
"Required": true
}
}
},
"AssociationProperty": "List[Parameters]",
"Type": "Json",
"Description": {
"en": "The vSwitch information of the StarRocks instance."
},
"Required": false,
"MinLength": 0,
"MaxLength": 3
},
"InstanceName": {
"Type": "String",
"Description": {
"en": "The name of the StarRocks instance."
},
"Required": true
},
"VpcId": {
"AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
"Type": "String",
"Description": {
"en": "The VPC ID of the StarRocks instance."
},
"Required": true
},
"Version": {
"Type": "String",
"Description": {
"en": "The version of the StarRocks instance."
},
"Required": true
},
"RunMode": {
"Type": "String",
"Description": {
"en": "The run mode of the instance. Valid values:\n- shared_nothing: All-in-one mode.\n- shared_data: Separation of storage and compute.\n- lakehouse: Data lake analytics mode."
},
"AllowedValues": [
"shared_nothing",
"shared_data",
"lakehouse"
],
"Required": true
},
"PackageType": {
"Type": "String",
"Description": {
"en": "The edition of the instance. Valid values:\n- trial: Starter Edition\n- official: Standard Edition"
},
"AllowedValues": [
"trial",
"official"
],
"Required": true
},
"OssAccessingRoleName": {
"Type": "String",
"Description": {
"en": "The name of the role used for password-free access to OSS."
},
"Required": false,
"Default": "AliyunEMRStarRocksAccessingOSSRole"
},
"BackendNodeGroups": {
"AssociationPropertyMetadata": {
"Parameters": {
"Cu": {
"Type": "Number",
"Description": {
"en": "The number of CUs. A Compute Unit (CU) is the basic unit of measurement for the service. 1 CU is equal to 1 CPU core and 4 GiB of memory."
},
"Required": false
},
"ZoneId": {
"AssociationProperty": "ZoneId",
"Type": "String",
"Description": {
"en": "The zone ID."
},
"Required": false
},
"DiskNumber": {
"Type": "Number",
"Description": {
"en": "The number of disks."
},
"Required": false,
"MinValue": 1,
"MaxValue": 8
},
"SpecType": {
"Type": "String",
"Description": {
"en": "The instance type of the compute group. Valid values:\n- standard\n- localSSD\n- bigData\n- ramEnhanced\n- networkEnhanced"
},
"AllowedValues": [
"standard",
"localSSD",
"bigData",
"ramEnhanced",
"networkEnhanced"
],
"Required": false
},
"StoragePerformanceLevel": {
"Type": "String",
"Description": {
"en": "The performance level of the cloud disk. Valid values:\n- pl0: A maximum of 10,000 random read/write IOPS per disk.\n- pl1: A maximum of 50,000 random read/write IOPS per disk.\n- pl2: A maximum of 100,000 random read/write IOPS per disk.\n- pl3: A maximum of 1,000,000 random read/write IOPS per disk."
},
"AllowedValues": [
"pl0",
"pl1",
"pl2",
"pl3"
],
"Required": false
},
"ResidentNodeNumber": {
"Type": "Number",
"Description": {
"en": "The number of resident nodes in the node group."
},
"Required": false,
"MinValue": 1,
"MaxValue": 100
},
"StorageSize": {
"Type": "Number",
"Description": {
"en": "The storage size in GiB."
},
"Required": false,
"MinValue": 100,
"MaxValue": 65000
},
"LocalStorageInstanceType": {
"Type": "String",
"Description": {
"en": "The instance type of the local SSD."
},
"Required": false
}
}
},
"AssociationProperty": "List[Parameters]",
"Type": "Json",
"Description": {
"en": "The information about the BE or CN compute groups."
},
"Required": false,
"MinLength": 0,
"MaxLength": 50,
"Default": [
{
"StoragePerformanceLevel": "pl1",
"DiskNumber": 1,
"SpecType": "standard",
"StorageSize": 100,
"ResidentNodeNumber": 3,
"Cu": 8
}
]
},
"AdminPassword": {
"Type": "String",
"Description": {
"en": "The password of the administrator."
},
"Required": true
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::EMR::StarRocksInstance",
"Properties": {
"ClusterZoneId": {
"Ref": "ClusterZoneId"
},
"PayType": {
"Ref": "PayType"
},
"FrontendNodeGroups": {
"Ref": "FrontendNodeGroups"
},
"Vswitches": {
"Ref": "Vswitches"
},
"InstanceName": {
"Ref": "InstanceName"
},
"VpcId": {
"Ref": "VpcId"
},
"Version": {
"Ref": "Version"
},
"RunMode": {
"Ref": "RunMode"
},
"PackageType": {
"Ref": "PackageType"
},
"OssAccessingRoleName": {
"Ref": "OssAccessingRoleName"
},
"BackendNodeGroups": {
"Ref": "BackendNodeGroups"
},
"AdminPassword": {
"Ref": "AdminPassword"
}
}
}
},
"Outputs": {
"ResourceGroupId": {
"Description": "The ID of the resource group to which the StarRocks instance belongs.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"ResourceGroupId"
]
}
},
"MonitorType": {
"Description": "The monitoring service type.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"MonitorType"
]
}
},
"Encrypted": {
"Description": "Indicates whether the instance is encrypted.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"Encrypted"
]
}
},
"SgId": {
"Description": "The security group ID of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"SgId"
]
}
},
"Vswitches": {
"Description": "The vSwitch information of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"Vswitches"
]
}
},
"Version": {
"Description": "The version of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"Version"
]
}
},
"PackageType": {
"Description": "The edition of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"PackageType"
]
}
},
"Tags": {
"Description": "The tags of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"Tags"
]
}
},
"EnableSsl": {
"Description": "Indicates whether SSL is enabled.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"EnableSsl"
]
}
},
"Architecture": {
"Description": "The architecture of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"Architecture"
]
}
},
"KmsKeyId": {
"Description": "The ID of the Key Management Service (KMS) key.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"KmsKeyId"
]
}
},
"EnableAutoMinorVersionUpgrade": {
"Description": "Indicates whether automatic minor version upgrades are supported.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"EnableAutoMinorVersionUpgrade"
]
}
},
"MaintainablePeriod": {
"Description": "The maintenance window of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"MaintainablePeriod"
]
}
},
"InstanceId": {
"Description": "The ID of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"InstanceId"
]
}
},
"AclId": {
"Description": "The ID of the access control list.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"AclId"
]
}
},
"CreateTime": {
"Description": "The creation time of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"CreateTime"
]
}
},
"MinorVersion": {
"Description": "The minor version of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"MinorVersion"
]
}
},
"PayType": {
"Description": "The billing method of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"PayType"
]
}
},
"EnabledAuditLoader": {
"Description": "Indicates whether the audit loader is enabled.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"EnabledAuditLoader"
]
}
},
"InstanceName": {
"Description": "The name of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"InstanceName"
]
}
},
"VpcId": {
"Description": "The VPC ID of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"VpcId"
]
}
},
"RunMode": {
"Description": "The run mode of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"RunMode"
]
}
},
"OssLocation": {
"Description": "The OSS location.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"OssLocation"
]
}
},
"IsolateLeader": {
"Description": "Indicates whether the leader FE node is isolated.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"IsolateLeader"
]
}
},
"ExpireTime": {
"Description": "The expiration time of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"ExpireTime"
]
}
},
"RunningTime": {
"Description": "The runtime of the StarRocks instance.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"RunningTime"
]
}
},
"SecurityGroupManaged": {
"Description": "Indicates whether the security group is a managed security group.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"SecurityGroupManaged"
]
}
}
}
}