This topic describes how to create an ECS instance by using the wizard in the ECS console. To create an ECS instance, you must specify the instance type, image, storage, network, and security group. The wizard provides a variety of extended configuration features to meet your custom deployment and management requirements.
Prerequisites
You must complete the following preparations to create an ECS instance:
- Create an account and complete the account information.
- Create an Alibaba Cloud account. For more information, see Sign up with Alibaba Cloud.
- Bind your credit card or PayPal account. For more information, see Add a payment method.
- To purchase ECS instances in mainland China regions, you must complete real-name verification. For more information, see Real-name registration FAQ.
- Alibaba Cloud provides a default VPC in each region. If you do not want to use the default VPC, you can create a VPC and a VSwitch in the region in which to create the instance. For more information, see Create an IPv4 VPC network.
- Alibaba Cloud provides a default security group in each region. If you do not want to use the default security group, you can create a security group in the region in which to create the instance. For more information, see Create a security group.
If you need other extended features, you must complete corresponding preparations:
- To specify an SSH key pair when you create a Linux instance, you must create the SSH key pair in the corresponding region. For more information, see Create an SSH key pair.
- To add user data for the instance, you must first prepare user data. For more information about how to prepare user data, see Prepare user data.
- To associate an ECS instance with an instance RAM role, you must create the RAM role, attach permission policies to the role, and then bind the role to the instance. For more information, see Bind an instance RAM role.
Procedure
- Go to the Custom Launch tab in the ECS console.
- Perform the following operations in the Basic Configurations step:
- Click Next: Networking and configure the network settings and security groups for the instance.
- Optional:Click Next: System Configurations and complete the following configurations:
- Optional:Click Next: Grouping and group the instance you have created.
- Confirm the order.
- Confirm to create the instance.
- Subscription instance: Click Create Order.
- Pay-as-you-go instance: Click Create Instance.
Result
What to do next
- You can build an FTP site on the ECS instance to upload local files to the instance. For more information, see Manually build an FTP site on a Windows instance.
- To ensure the security of your instance after you create the instance, we recommend
that you perform security compliance inspection and configuration:
- For Linux instances, see Harden operating system security for Linux in Security Advisories.
- For Windows instances, see Harden operating system security for Windows in Security Advisories.
- If you added data disks when you created the instance, you must format and partition the data disks before you can use them. For more information, see Format a data disk for a Windows ECS instance or Format a data disk for a Linux instance.