Create an EAIS instance
This topic describes the prerequisites and steps to create an Elastic Accelerated Computing Instances (EAIS) instance.
Prerequisites
Before you create an EAIS instance, make sure that the following prerequisites are met:
Create an Alibaba Cloud account and complete the account information.
Sign up for an Alibaba Cloud account and complete identity verification. For more information, see Account registration (PC).
To create a pay-as-you-go instance, make sure that your Alibaba Cloud account balance, vouchers, and coupons total no less than CNY 100.00. For more information about how to top up your account, see How do I top up my account?.
Alibaba Cloud provides a default virtual private cloud (VPC). If you do not want to use the default VPC, you can create a VPC and a vSwitch in the destination region. For more information, see Create a VPC with an IPv4 CIDR block.
Alibaba Cloud provides a default security group. If you do not want to use the default security group, you can create a new one in the destination region. For more information, see Create a security group.
Create an ECS instance to associate with the EAIS instance. For more information, see Create an instance.
ImportantYou can associate EAIS instances only with pay-as-you-go ECS instances that are deployed in a VPC.
Background information
The billing for an EAIS instance depends on how it is created.
For more information about billing, see Billing.
Creating an EAIS instance | Billing description |
Use the EAIS console | Billing starts when the EAIS instance starts and ends when the instance stops. |
Recommended: Call the CreateEaisEi operation | |
Not recommended: Call the CreateEai operation | Billing starts when the EAIS instance is created and ends when the instance is released. Important Instances created this way cannot be started or stopped. Therefore, this method is not recommended. |
Create an EAIS instance in the EAIS console
Follow these steps to create an EAIS instance in the EAIS console:
Log on to the Elastic Accelerated Computing Instances console.
In the left navigation pane, choose Elastic Accelerated Computing Instances EAIS > Elastic Accelerated Computing Instances List.
Click Create Elastic Accelerated Computing Instance.
ImportantIf your Alibaba Cloud account has not been granted the AliyunServiceRoleForEais role, you must authorize EAIS to create a service-linked role before you can create an EAIS instance. This role uses the AliyunServiceRoleForEais access policy. For more information, see Service-linked Role.
On the Elastic Accelerated Computing Instances page, configure the parameters and click Buy Now.
The following table describes the configuration items.
Configuration item
Description
Region
Select the region where the EAIS instance resides. For more information about regions, see Regions and zones.
NoteYou cannot change the region after the EAIS instance is created.
Instance Name
Set the name of the EAIS instance.
Instance Type
Select an instance type for the EAIS instance as needed. For more information about EAIS instance types, see Instance types.
VPC
Select a VPC.
vSwitch
Select a vSwitch.
Security Group
Select a security group. A security group acts as a firewall to control network access. For more information, see Security group overview.
Resource Group
The default value is Default Resource Group. A resource group is a mechanism that lets you manage resources in groups under your Alibaba Cloud account. Resource groups help simplify resource grouping and authorization management within a single account. If you need a new resource group, create one and then return to the EAIS creation page to continue. For more information, see Create a resource group.
On the Confirm Order page, select the I have read and agree to the Elastic Accelerated Computing Instances Terms of Service checkbox next to Terms of Service, and then click Activate Now.
Go to the instance list page in the EAIS console to view the instance status. The page automatically refreshes every 15 seconds. The instance is successfully created when its status changes from Creating to Attachable.
NoteInstance creation typically takes 10 to 120 seconds.
Call an API to create
Recommended: Call the CreateEaisEi operation to create an EAIS instance. You can then manage the instance in the EAIS console or by calling an API.
Not recommended: You can also call the CreateEai operation to create an EAIS instance. However, instances created this way cannot be started or stopped.
What to do next
After the instance is created, you must associate it with an ECS instance before you can use it. For more information, see Associate with an ECS instance.