This topic describes how to create and manage an Elastic Compute Service (ECS) instance. You can reference this topic to create a subscription ECS instance in the ECS console in scenarios that require one or two ECS instances without complex network configurations.
Create an instance
Go to the Custom Launch tab of the instance buy page.
NoteIf you did not create an Alibaba Cloud account, create an account. For more information, see Create an account.
Follow the wizard to complete the configurations to purchase an ECS instance.
For more information about the configuration items, see Create an instance on the Custom Launch tab.
Connect to an instance
You can connect to an ECS instance in the ECS console.
The default username of a Linux instance is root, and the default username of a Windows instance is administrator. If you forget your password, you must reset the password to connect to the instance. For more information, see Reset the logon password of an instance.
Go to the Instances page in the ECS console.
Find the instance to which you want to connect and click Connect in the Actions column.
In the Remote connection dialog box, click Workbench in the Sign in now section.
In the Instance Login dialog box, configure parameters and click OK.
Username: Enter your username, such as root or ecs-user.
Password: Enter the value of the Logon Password parameter that you configured in the Logon Credentials section when you created the instance.
If you want to connect to an ECS instance by using other methods, see Connection method overview.
Use an instance
If you want to use ECS instances, see Quick reference.
You may need to deploy an environment or build a website on an instance. You can perform the following common operations on an instance:
Build a Linux, Apache, MySQL, and PHP (LAMP) environment: For more information, see Build a LAMP stack on an Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, or CentOS 7.x instance.
Build a Linux, NGINX, MySQL, and PHP (LNMP) environment: For more information, see Deploy an LNMP stack on an Alibaba Cloud Linux 2, Alibaba Cloud Linux 3, CentOS 7, or CentOS 8 instance.
For more information, see Summary of website building methods.
Release an ECS instance
You can manually release a subscription instance after the instance expires. If you do not renew an expired instance, the instance is automatically released.