I'm new to Huawei Cloud and I want to create my first ECS (Elastic Cloud Server) instance. Can someone explain the steps?
Specifically I'm not sure about:
- Which region to choose
- How to pick the right instance flavor (vCPU and memory)
- Difference between the image options (Ubuntu, CentOS, etc.)
- How to set up the security group so I can SSH into it
- Whether I need an EIP (Elastic IP) to access it from the internet
Any step-by-step guidance or screenshots would be really helpful. Thanks!
1 Answer
Sign in to post an answer.
Accepted answer
Great question! Here's a step-by-step guide to creating your first ECS instance on Huawei Cloud:
1. REGION SELECTION
Log in to the Huawei Cloud console and pick a region closest to your users for lowest latency. For Sri Lanka, AP-Singapore or the AP-South regions usually give the best performance.
2. INSTANCE FLAVOR (vCPU + Memory)
Go to ECS > Buy ECS. For learning/testing, a General Computing "s6.large.2" (2 vCPU, 4 GB RAM) is enough. For production workloads, size it based on your app's needs - you can resize later.
3. IMAGE SELECTION
- Ubuntu 22.04: best for most modern web apps and Docker
- EulerOS: good for enterprise/RHEL-style setups
Pick Ubuntu 22.04 if you're unsure - it has the widest community support.
4. SECURITY GROUP (for SSH access)
Create or edit a security group and add an inbound rule:
- Protocol: TCP
- Port: 22 (SSH)
- Source: your IP (safer) or 0.0.0.0/0 (open, less safe)
Also add port 80/443 if you're hosting a website.
5. EIP (Elastic IP)
Yes - you need an EIP to reach the server from the internet. During ECS creation, choose "Auto assign EIP" or bind one later under Network > EIP. Pick "Pay-per-use / Bandwidth" for testing.
6. KEY PAIR or Password: I recommended using a key pair
Create/download a key pair (.pem file) for SSH login. Keep it safe - you can't download it again.
After creation, connect with:
ssh -i your-key.pem root@YOUR_EIP
That's it! Your ECS will be running in a couple of minutes. Let me know if you get stuck on any step.