Alibaba Cloud API account provisioning Alibaba Cloud Network Troubleshooting Guide: Routing, DNS, and Connectivity Issues with Account Setup, Billing, and Access Restrictions
When users search for Alibaba Cloud network troubleshooting, they are usually trying to answer a practical question: is the service unreachable because of routing, DNS, firewall, or because the account itself is not fully usable? In many real cases, the root cause is not a broken network path alone. The issue can start earlier in the process: the account is still under identity verification, the instance is stopped because renewal failed, the Elastic IP was released, the security group was reset, or the console action is blocked by a risk-control review.
Alibaba Cloud API account provisioning This tutorial is written for users who need to make real purchase and operational decisions. It focuses on the sequence that actually matters in production: buy the account resources correctly, pass verification, ensure billing status is normal, confirm resource status, and only then diagnose routing, DNS, and connectivity. If your ECS instance, website, API endpoint, VPN tunnel, or database suddenly became unreachable, the fastest approach is to eliminate account and billing causes before going deeper into packet-level checks.
What Users Usually Need to Confirm First
Before checking routes or DNS records, answer these operational questions:
- Has the Alibaba Cloud account completed identity verification and can it create the required resources in the target region?
- Alibaba Cloud API account provisioning Was the instance purchased successfully, or is the order pending payment, under review, or automatically canceled?
- Has the ECS instance or EIP expired because renewal failed or the payment method was rejected?
- Did risk control temporarily restrict outbound traffic, new purchases, or public network features?
- Is the resource in the correct region and VPC, with a valid public IP, route table, and security group rules?
- Is the failure affecting DNS resolution, TCP connection, ICMP ping, or only one application port such as 22, 80, 443, 3306, or 6379?
If you check these items in order, you can avoid spending hours on traceroute when the actual cause is overdue billing or a disabled public bandwidth setting.
Preparation Before Any Troubleshooting
Account Requirements
| Item | What to confirm | Why it matters |
| Alibaba Cloud account | Account can log in to console normally | If login is limited or protected, you may not see or modify network resources |
| Identity verification | Individual or business KYC completed | Some purchases, regions, public network features, or quota increases may be delayed without it |
| Billing status | No overdue invoices, no payment failure | ECS, EIP, bandwidth plans, or other resources may be suspended or released |
| Permissions | RAM user must have ECS, VPC, and billing read or admin permissions | A network issue can look like a missing resource when the user simply lacks permission |
Required Resources
- An ECS instance or another affected resource such as SLB, NAT Gateway, RDS, or Redis
- Access to the Alibaba Cloud console
- OS login access if available: SSH for Linux or RDP for Windows
- Basic test tools: ping, traceroute or tracert, nslookup or dig, curl, telnet or nc
Prerequisites Users Often Miss
- The ECS instance must have either a public IP or an Elastic IP if you are testing from the internet.
- The security group must allow the target protocol and port from your client IP range.
- The operating system firewall must allow the same traffic.
- The service itself must be listening on the expected port.
- For DNS issues, the domain record must point to the correct IP and the TTL may delay visible changes.
- For cross-border or multi-region scenarios, latency and path quality vary by region even when configuration is correct.
Alibaba Cloud API account provisioning How to Purchase Alibaba Cloud Resources Without Creating Future Connectivity Problems
Many later connectivity tickets begin with an incorrect purchase choice. The following workflow reduces that risk.
Step 1: Register the Account and Complete KYC Early
In the Alibaba Cloud console, create the account first and complete identity verification before attempting a production purchase. Do not wait until the resource launch stage. If your business will run public websites, cross-border traffic, or higher-value workloads, verify the account early to reduce the chance of review delays when you need urgent changes.
What to check in the console:
- Account center for identity status
- Billing center for country or region of account registration
- Any pending compliance notices or required documents
Important considerations:
- Business accounts generally have smoother ownership documentation for invoices, finance review, and internal approval.
- Using inconsistent payment country, billing profile, and verification details can trigger manual review.
- If you expect frequent scaling or cross-region purchases, prepare company documentation in advance.
Alibaba Cloud API account provisioning Step 2: Add a Payment Method or Funds Before Ordering
Users often place an order first and discover the payment method fails during checkout. In the billing console, add a valid payment method or sufficient account balance. If your organization uses prepaid budgeting, top up the account before resource creation and before renewal dates.
| Payment method | Best use case | Operational note |
| Credit card | Fast startup, small teams | Watch for bank fraud checks on international cloud transactions |
| Account balance / prepaid funds | Controlled budgets | Useful for predictable renewals and avoiding card decline during off-hours |
| Corporate billing workflow | Enterprises | Requires internal ownership of invoices and clear renewal responsibility |
Important considerations:
- Card authorization failure can leave the order unpaid even though the instance appears selected in the cart.
- Some resources renew automatically only if auto-renew is enabled and the payment method remains valid.
- Do not assume service continuity after card replacement or finance policy changes.
Step 3: Choose the Right Region, Network Type, and Billing Model
During ECS purchase, select the region based on user access location, latency, compliance needs, and neighboring services such as RDS or SLB. If your website users are in Southeast Asia, placing ECS in a distant region can create route quality complaints that are not fixable at the DNS layer alone.
Where to click and what to configure:
- Product page for ECS
- Select region and availability zone
- Select VPC and vSwitch
- Choose public bandwidth or attach EIP if internet access is required
- Enable or plan security group rules during deployment
Parameter recommendations:
| Scenario | vCPU / Memory | Disk | Public bandwidth |
| Basic web test node | 2 vCPU / 4 GB | 40-80 GB ESSD or standard cloud disk | 3-5 Mbps |
| Small production website | 2-4 vCPU / 8 GB | 80-100 GB | 5-20 Mbps |
| Jump host / bastion | 2 vCPU / 2-4 GB | 40 GB | 2-5 Mbps |
Practical note: many connectivity complaints are simply caused by not assigning public bandwidth at purchase time. An ECS in a VPC without public IP is not reachable from the internet even if DNS points to it correctly.
Step 4: Enable Renewal Controls Immediately After Purchase
As soon as the resource is created, open the billing or resource management page and configure auto-renew if the server is production-critical. Also set renewal reminders to multiple email recipients, not just the account owner.
Common failure pattern:
- ECS expires on a weekend
- Public IP changes after release or after resource recreation
- DNS still points to old IP
- Users report routing or website downtime, but root cause was renewal failure
Detailed Tutorial: Diagnose Routing, DNS, and Connectivity Problems in the Correct Order
Step 1: Verify Account, Order, and Billing State
Go to the Alibaba Cloud console and open the billing center, order management, and resource list.
Check the following:
- The order status is paid and completed
- The resource status is running, not expired, suspended, locked, or under review
- Auto-renew settings are enabled where needed
- No outstanding balance or recent payment failure
- No risk-control notification limiting purchase, IP assignment, or traffic-related operations
If the instance is expired or suspended, fix billing first. Network diagnostics before account restoration are not useful.
Step 2: Confirm Public and Private Network Configuration
Open the ECS instance details page and verify:
| Field | What to look for | Common mistake |
| Region | Matches related resources | RDS or SLB created in another region |
| VPC | Correct VPC selected | Server and dependent services are in different VPCs without proper routing |
| vSwitch | Subnet has enough IPs and correct route association | Wrong subnet selected during creation |
| Public IP / EIP | Present if internet access is needed | No public address attached |
| Bandwidth | Non-zero for internet-facing ECS | Bandwidth set to 0 Mbps |
If the issue is internal access between ECS and RDS or Redis, check that private endpoints are used and that both resources can communicate inside the VPC or through the expected peering or routing design.
Step 3: Check Security Group Rules and OS Firewall
In the ECS console, open the security group associated with the instance.
Where to click:
- ECS instance details
- Security Groups
- Inbound Rules and Outbound Rules
How to configure:
- For SSH: allow TCP 22 from your office IP or current public IP
- Alibaba Cloud API account provisioning For RDP: allow TCP 3389 from trusted source IPs only
- For web traffic: allow TCP 80 and 443
- For custom applications: allow the exact service port such as 8080, 8443, 3306, or 6379 only when justified
Important considerations:
- Do not use 0.0.0.0/0 for database ports in production.
- If you can ping but cannot connect by SSH, the port is usually blocked by security group, OS firewall, or sshd service state.
- Alibaba Cloud API account provisioning If you changed the security group recently, verify that the instance is attached to the expected group after template updates or migration.
Linux firewall checks:
- iptables -L -n
- firewall-cmd --list-all
- ss -lntp
Windows firewall checks:
- Review inbound rules in Windows Defender Firewall
- Confirm the service is listening using netstat -ano
Step 4: Test DNS Resolution from Client and Server Sides
DNS failures can be external, internal, or application-specific. Test from both your local client and from the ECS instance.
Commands to run:
| Purpose | Linux / macOS | Windows |
| Query DNS | dig example.com | nslookup example.com |
| Check resolved IP | dig +short example.com | nslookup example.com |
| Test HTTP path | curl -I http://example.com | curl -I http://example.com |
What to look for:
- Domain resolves to the correct current public IP or load balancer address
- No stale DNS record after server migration or IP replacement
- TTL is not causing old records to persist longer than expected
- Internal DNS entries for private services point to private addresses, not public ones
Common error cases:
- Alibaba Cloud API account provisioning Domain points to an old IP after ECS re-creation
- Elastic IP was detached and DNS was not updated
- Application uses a cached resolver and ignores recent DNS changes
Step 5: Validate Routing Path and Service Reachability
If DNS is correct but traffic still fails, test the path.
Commands:
- ping target-ip
- traceroute target-ip or tracert target-ip
- telnet target-ip 443 or nc -vz target-ip 443
- curl -vk https://your-domain
Interpretation:
- Ping blocked but TCP open: likely ICMP disabled, not necessarily a network failure
- Traceroute stops early: intermediate devices may not respond; verify with TCP tests instead of assuming outage
- TCP timeout on only one port: usually security group, firewall, or service process issue
- Multiple ports fail and no public IP answer: check EIP, bandwidth, billing, and instance status
If private network communication fails inside a VPC, inspect route tables, network ACLs if used, and whether the resources are in different vSwitches or peered networks without proper route propagation.
Step 6: Review Risk Control and Compliance Restrictions
Alibaba Cloud API account provisioning Some users interpret a blocked action as a network issue when the actual cause is account control. Typical scenarios include:
- New public IP allocation is restricted pending review
- High-risk login behavior triggers temporary protection
- Bulk resource creation is limited
- Certain regions or network-related products require additional verification
What to do:
- Check console notifications and account messages
- Alibaba Cloud API account provisioning Review support tickets and compliance requests
- Prepare proof of business use, domain ownership, or organization identity if requested
- Use the same legal entity details across billing and verification records
If the platform has frozen an operation due to risk review, do not repeatedly submit slightly changed orders. That often extends resolution time. Open a clear support request with account ID, order number, affected region, and business purpose.
Common Troubleshooting Scenarios and What Usually Fixes Them
| Symptom | Likely cause | First action |
| ECS cannot be pinged from internet | No public IP, ICMP blocked, expired instance | Check instance status, public bandwidth, and security group |
| SSH timeout on port 22 | Security group or OS firewall blocking, sshd not running | Verify SG inbound TCP 22, firewall, and service state |
| Website domain resolves but page does not load | Web service down, wrong target port, expired SSL, firewall block | Use curl locally on server, check Nginx/Apache and port 80/443 |
| DNS record changed but users still hit old server | DNS cache or high TTL | Lower TTL before migrations and test with public resolvers |
| Database not reachable from app server | Wrong endpoint, SG restriction, private/public path mismatch | Use private endpoint and allow app subnet or host IP |
| Sudden outage after month-end | Renewal failure or unpaid bill | Check billing history and resource expiration events |
Configuration Recommendations by User Scenario
For Individual Developers
Use a small ECS instance with a predictable monthly cost, prepaid funding, and auto-renew enabled. Restrict SSH to your own IP. If testing websites, assign a small public bandwidth and keep DNS TTL around 300 seconds during migration windows. Avoid opening database ports to the internet.
For Enterprise Users
Use business verification, separate RAM users for finance and operations, and configure billing alerts to multiple recipients. Keep production instances on auto-renew. Place compute, load balancer, and database in the same region unless there is a defined disaster recovery design. Record all public IP and DNS dependencies in change management.
For Cross-Border Businesses
Select region based on user location and test latency before full deployment. Use DNS and CDN planning together instead of expecting route quality to be solved by DNS alone. Prepare additional review time for identity and compliance checks if traffic patterns or account behavior are unusual.
For Website Applications
Use security groups that allow only 80 and 443 publicly, with SSH or RDP restricted to office IPs. Keep DNS TTL low before server replacement. If SSL is deployed, verify certificate validity and server name binding after any IP or load balancer change.
For Database Workloads
Prefer private connectivity inside the VPC. Use database white-listing or security group references where supported. For MySQL, test with the exact endpoint and port and confirm the application is not using an outdated DNS cache. For Redis, verify bind settings, protected mode considerations, and client source IP permissions.
Cost Comparison and Spending Control During Troubleshooting
Users often overpay while trying to fix a network problem. A structured comparison helps.
| Choice | Lower cost option | When to use higher cost option |
| Public IP access | One ECS with limited bandwidth | Add EIP, SLB, or CDN when production exposure or scale requires it |
| Billing model | Subscription for steady workloads | Pay-as-you-go for short-term testing or incident response nodes |
| Troubleshooting node | Temporary small ECS in same VPC | Larger instances only when packet capture or load simulation needs more capacity |
Practical cost controls:
- Do not repeatedly create new test instances in multiple regions without deleting unused ones.
- Use snapshots before major changes, then clean up obsolete snapshots to control storage cost.
- Track EIPs and bandwidth resources separately; unattached public network resources are often forgotten.
- Review renewal settings monthly to avoid paying for abandoned instances and to avoid accidental expiration of active ones.
Frequently Asked Questions
Q1: I purchased an ECS instance, but I still cannot connect from the internet. Why?
The most common causes are: no public IP or no public bandwidth assigned, security group rules not allowing the target port, the operating system firewall blocking access, or the instance being suspended because payment failed. Check the instance details page first, then security group, then OS firewall.
Q2: Can identity verification or KYC affect network troubleshooting?
Yes. If the account is not fully verified, some purchases, public network features, region access, or quota changes may be delayed or reviewed manually. This can look like a network deployment issue even though the resource was never fully available.
Q3: My domain points to the server, but the website is still unreachable. Is this a DNS issue?
Not always. DNS may be correct while the web service is down, the SSL configuration is invalid, port 80 or 443 is blocked, or the server was renewed late and the IP changed. Test DNS resolution, then test the IP directly, then test the web server locally on the instance.
Q4: What payment method is safer for avoiding downtime?
For production, use a controlled method with predictable renewals: valid corporate card plus auto-renew, or sufficient prepaid balance with alerts. The key is not the method itself but whether renewals are monitored and whether there is backup ownership in finance and operations.
Q5: What should I do if Alibaba Cloud risk control blocks my operation?
Check console notifications and support messages. Prepare account ID, order ID, business purpose, and any requested identity or compliance documents. Avoid submitting repeated inconsistent orders. A clear support request usually resolves faster than trial-and-error purchases.
Q6: How do I know whether the issue is routing or just a blocked port?
Use layered testing. If DNS resolves correctly and ping is inconclusive, test the exact TCP port with telnet, nc, or curl. If only one port fails, the issue is usually a port policy or service-level problem. If all ports fail and the server has no reachable public IP, inspect EIP, bandwidth, route, and account state.
Q7: Can overdue renewal cause DNS or routing symptoms?
Yes. After expiration, the instance may stop, the public IP may change after recreation, or the EIP may no longer be attached. Users then see connection timeout, old DNS targets, or intermittent access. Billing review should be one of the first checks during any unexpected outage.
Optimization Recommendations
Security Optimization
- Limit SSH and RDP by source IP, not open internet.
- Do not expose MySQL or Redis publicly unless there is a strict requirement and compensating controls.
- Use RAM users instead of sharing the root account for troubleshooting.
- Review security groups after migrations and template changes.
Performance Optimization
- Choose the region closest to the main user base and validate latency with real tests.
- Alibaba Cloud API account provisioning Use local VPC connectivity for app-to-database traffic whenever possible.
- Keep DNS TTL low before planned cutover, then raise it later for stability.
- Measure HTTP response and TCP handshake time separately to avoid confusing app slowness with network path issues.
Cost Optimization
- Use subscription for stable production servers and pay-as-you-go for short-lived diagnostics.
- Delete unused EIPs, snapshots, and test instances after incident resolution.
- Enable renewal alerts and monthly billing reviews to catch hidden idle resources.
Stability Optimization
- Alibaba Cloud API account provisioning Enable auto-renew for critical resources.
- Document every public IP, DNS record, and dependency before changing routes or replacing instances.
- Take snapshots before firewall, route, or OS-level network changes.
- Maintain a small checklist: billing, instance state, public IP, security group, OS firewall, DNS, route, application service.
If you follow that checklist in order, most Alibaba Cloud routing, DNS, and connectivity issues can be narrowed down in minutes instead of hours. The biggest practical lesson is this: many apparent network failures are actually triggered by account status, renewal problems, or restrictions in the purchase and compliance workflow. Verify those first, then move to route and DNS analysis.

