This tutorial walks you through the procedure to configure Apache for an instance that is of the ecs.g6.large instance type and runs the Alibaba Cloud Linux 2.1903 LTS 64-bit operating system. You can use this tutorial to familiarize yourself with operations in the ECS console.
Preparations
Step 1: Create an ECS instance
Step 2: Add security group rules
If you do not add rules to the default security group when you create an instance or the instance is added to a new security group, 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 degrade server security. If you already have a domain name or 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 data cannot be recovered.
- 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.
- Verify the instance to be released and then click OK.
Step 7: View bills
What to do next
- For more information about ECS instance families that are available for purchase, see Instance families.
- 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 APIs operations provided by ECS, see List of operations by function.