The workflow spans opening ECS, selecting region/zone/image/specs/disks/bandwidth, allowing SSH in a security group, and connecting via SSH.
ECS Entry Point and Instance Creation:
Sign in to the Alibaba Cloud International console, open Elastic Compute Service (ECS), and click Create Instance to enter the wizard. If your account was provisioned via Kaihu Cloud and funded with CNY, crypto, or USD, sign in to that account and proceed straight to ECS creation without card or currency delays.
Stage | Key Actions | Key Influencing Factors | Outcome |
Stage 1: Entry & Region/Image | Open ECS wizard, pick region, zone, and Linux image | Visitor location, zone availability, OS choice | Base environment and location selected |
Stage 2: Specs, Disks & Network | Choose instance type, system/data disk, public IP & bandwidth | Budget, workload, public access needs | Publicly reachable instance spec ready |
Stage 3: Security Group & Auth | Allow port 22 (SSH) and set password or SSH key pair | Least-privilege ports, credential security | Controlled network access configured |
Stage 4: Launch & SSH Connect | Complete order, copy public IP, connect via SSH client | Running state, network/port reachability | Shell access ready for site setup |
Understanding the Role of Security Groups and Public IP/Bandwidth
New users sometimes assume a public IP and bandwidth automatically allow SSH and web traffic. In reality, public IP and bandwidth provide addressing and throughput, while security groups act as virtual firewalls: blocking TCP 22 prevents SSH login, and omitting ports 80/443 blocks HTTP/HTTPS site access. Always check both public IP assignment and security group inbound rules.
Connecting to Your Linux Instance via SSH:
Once the instance is Running, copy its public IP from the ECS console. On macOS or Linux terminals, run ssh root@<public-ip> (or ssh -i /path/to/key.pem root@<public-ip> for a key pair); on Windows, use PowerShell, Terminal, or an SSH client on port 22. Verify the host fingerprint on first connect, authenticate with your password or key, and you will reach the Linux shell to deploy your website.
What Makes SSH Login Reliable and Secure?
Reliable SSH access depends on a valid public IP, port 22 allowed in the security group, matching credentials (password or key pair), and local/OS firewall settings. Using strong authentication and keeping keys secure establishes a dependable foundation for hosting.
Start in ECS wizard: Open ECS in the console and review each configuration step carefully.
Pair network with security group: Public IP/bandwidth enables connectivity while port 22 allows SSH.
Match IP and credentials: Use the exact public IP and corresponding password or SSH key.
Verify after first login: Check system status and disk mounts right after connecting.
This chapter covered creation steps and SSH login; the final chapter examines common mistakes and best practices.