ALIYUN::EAIS::Instance is used 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 | Type | Required | Editable | Description | Constraint |
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 and cannot start with |
ResourceGroupId | String | No | Yes | The ID of the resource group to which the EAIS instance belongs. | None. |
SecurityGroupId | String | Yes | No | The ID of the security group to which the EAIS instance belongs. | None. |
| String | Yes | No | The ID of the vSwitch to which the EAIS instance is connected. | Note The number of IP addresses in the vSwitch CIDR block determines the maximum number of EAIS instances that can be created in the vSwitch. Make sure that you plan the vSwitch CIDR block properly. |
PaymentType | String | No | No | The billing method of the EAIS instance. | Valid values:
|
InstanceType | String | Yes | No | The EAIS instance type. | Valid values:
|
EnvironmentVar | List | No | No | The environment variables of the EAIS instance during initialization. | None. |
CreateWithNotebook | Boolean | Yes | No | Specifies whether to create the EAIS instance on which Jupyter Notebook is deployed. | Valid values:
|
EnvironmentVar syntax
"EnvironmentVar": [
{
"Value": String,
"Key": String
}
]
EnvironmentVar properties
Property | Type | Required | Editable | Description | Constraint |
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 Elastic Compute Service (ECS) instance or elastic container instance that is associated with the EAIS instance.
ClientInstanceName: the name of the ECS instance or elastic container instance that is associated with the EAIS instance.
ZoneId: the ID of the zone in which the EAIS instance resides.
ResourceGroupId: the ID of the resource group to which the EAIS instance belongs.
InstanceId: the ID of the EAIS instance.
SecurityGroupId: the ID of the security group to which the EAIS instance belongs.
CreateTime: the time when the EAIS instance was created.
VSwitchId: the ID of the vSwitch to which the EAIS instance is connected.
ClientInstanceId: the ID of the ECS instance or elastic container instance that is associated with the EAIS instance.
InstanceType: the EAIS instance type.
JupyterUrl: the URL that is used to access Jupyter Notebook.