This topic describes how to create and manage Linux instances in the Elastic Compute Service (ECS) console. In this topic, Apache is configured for an ecs.g6.large instance that runs the Alibaba Cloud Linux 2.1903 LTS 64-bit operating system.
Preparations
Step 1: Create an ECS instance
Step 2: Add security group rules
If you did not add rules to the default security group or if you added the instance to a new security group when you create the instance, perform the following steps:
Step 3: Connect to the ECS instance
Step 4: Configure Apache
Step 5: (Optional) Resolve domain names
Direct access to Apache by using the public IP address of the instance may compromise server security. If you already have a domain name or if you want to register one for the Apache website, perform the following steps:
Step 6: (Optional) Release the ECS instance
You can release the instance if you no longer need it. After the instance is released, billing stops and its data cannot be restored.
- Go back to the Instances page and find the EcsQuickStart instance.
- In the Actions column, choose .
- In the Release dialog box, set Release Mode to Release Now and click Next.
- In the Release message, verify the instance to be released and click OK.
Step 7: View bills
What to do next
- For more information about ECS instance families that are available for purchase, see Instance family.
- For more information about how to create an ECS instance, see Creation method overview.
- For more information about images, see Image overview.
- For more information about security groups, see Overview.
- For more information about VPCs, see What is a VPC?
- For more information about the common operations of ECS, see Quick reference.
- For more information about the API operations provided by ECS, see List of operations by function.