Use the ALIYUN::EAIS::Instance resource type to create an Elastic Accelerated Computing Instances (EAIS) instance.
Syntax
{
"Type": "ALIYUN::EAIS::Instance",
"Properties": {
"InstanceName": String,
"ResourceGroupId": String,
"SecurityGroupId": String,
"VSwitchId": String,
"PaymentType": String,
"InstanceType": String,
"EnvironmentVar": List,
"CreateWithNotebook": Boolean
}
}Properties
Property Name | Type | Required | Allow updates | Description | Constraints |
InstanceName | String | No | No | The name of the EAIS instance. | The name must be 2 to 128 characters in length. It must start with a letter. It cannot start with |
ResourceGroupId | String | No | Yes | The ID of the resource group to which the instance belongs. | None |
SecurityGroupId | String | Yes | No | The ID of the security group to which the instance belongs. | None |
VSwitchId | String | Yes | No | The ID of the vSwitch to which the instance belongs. | Note The number of available IP addresses in the vSwitch CIDR block determines the maximum number of EAIS instances that you can create in the vSwitch. Plan your CIDR block in advance. |
PaymentType | String | No | No | Billing method. | Valid values:
|
InstanceType | String | Yes | No | The instance type of the EAIS instance. | Valid values:
|
EnvironmentVar | List | No | No | The environment variables to set in the instance during initialization. | None |
CreateWithNotebook | Boolean | Yes | No | Specifies whether to create an EAIS instance with a pre-deployed Jupyter Notebook. | Valid values:
|
EnvironmentVar syntax
"EnvironmentVar": [
{
"Value": String,
"Key": String
}
]EnvironmentVar properties
Property | Type | Required | Updatable | Description | Constraints |
Value | String | No | No | The value of the environment variable. | None |
Key | String | No | No | The key of the environment variable. | None |
Return values
Fn::GetAtt
InstanceName: The name of the EAIS instance.
ClientInstanceType: The instance type of the ECS or ECI instance attached to the EAIS instance.
ClientInstanceName: The name of the ECS or ECI instance attached to the EAIS instance.
ZoneId: The ID of the zone to which the EAIS instance belongs.
ResourceGroupId: The ID of the resource group to which the instance belongs.
InstanceId: The ID of the EAIS instance.
SecurityGroupId: The ID of the security group to which the instance belongs.
CreateTime: The time when the resource was created.
VSwitchId: The ID of the vSwitch to which the instance belongs.
ClientInstanceId: The ID of the ECS or ECI instance attached to the EAIS instance.
InstanceType: The instance type of the EAIS instance.
JupyterUrl: The endpoint of the Jupyter Notebook.