Contact: [email protected]
VPS Guides
VPS Guides: Setup, Security & Optimization
Learn how to choose, configure, secure, and maintain a Virtual Private Server with MonaCloud. These VPS hosting guides cover server setup, Linux administration, SSH access, network configuration, performance optimization, backups, and common troubleshooting steps for developers, website owners, and businesses.
1. Getting Started With VPS Hosting
A Virtual Private Server provides a virtualized environment for hosting websites, applications, databases, development tools, and other compatible workloads. Unlike many shared hosting environments, a VPS typically gives you greater control over the operating system, installed software, network services, and security configuration.
Before deploying an application, understand the resources included in your plan, the supported operating system, the available server location, and the responsibilities involved in server administration.
Your initial VPS setup checklist
- Review your order details and verify the server configuration.
- Confirm the server's IP address and operating system.
- Connect using the access method provided for your service.
- Update installed packages and apply security patches.
- Create secure administrative access and review firewall rules.
- Install only the applications and services you need.
- Configure monitoring and establish an independent backup process.
- Test your application before directing production traffic to the server.
Keep a copy of important configuration files and application data. Some server operations, including rebuilding or reinstalling an operating system, can permanently remove data.
2. How to Choose the Right VPS Plan
Choosing the right VPS hosting plan starts with your workload. CPU, RAM, SSD storage, network capacity, operating system requirements, and expected traffic all affect how a server performs.
| MonaCloud Plan | CPU | RAM | SSD | Bandwidth | Listed Network Speed |
|---|---|---|---|---|---|
| Starter | 1 core | 2 GB | 25 GB | 1 TB | 1 Gbps |
| Advanced | 1 core | 16 GB | 45 GB | 3 TB | 3 Gbps |
| Plus | 4 cores | 48 GB | 180 GB | 8 TB | 8 Gbps |
| Turbo | 6 cores | 96 GB | 400 GB | 12 TB | 10 Gbps |
Use these specifications as a starting point, then estimate your actual resource needs.
Factors to consider
- CPU: Important for application processing, background jobs, and concurrent workloads.
- RAM: Affects database caching, application processes, and the number of services that can run comfortably.
- SSD storage: Determines how much room is available for the operating system, applications, databases, logs, and files.
- Bandwidth: Consider monthly data transfer needs and expected traffic patterns.
- Location: Choose a server region that suits your audience, latency requirements, and application dependencies.
MonaCloud lists VPS locations in Singapore, India, and Hong Kong. Location and plan availability should be confirmed on the relevant product page before ordering.
3. How to Connect to Your VPS
The connection method depends on the operating system and configuration deployed on your server. Linux VPS instances are commonly administered through SSH, while Windows servers may support Remote Desktop when the service is configured for it.
Connecting to a Linux VPS with SSH
From a terminal on your local computer, use the server's assigned IP address and the authorized username supplied or configured for your installation.
ssh username@YOUR_SERVER_IP
Replace username and YOUR_SERVER_IP with the correct values for your server. Authentication may use a password, SSH key, or another method supported by your configuration.
Using an SSH private key
ssh -i /path/to/private_key username@YOUR_SERVER_IP
Keep private keys confidential and restrict their file permissions. Do not share them through public repositories, support screenshots, or untrusted messaging channels.
Basic connection troubleshooting
- Verify that the IP address and username are correct.
- Confirm that the server is running and the SSH service is available.
- Check firewall rules and any network restrictions affecting the SSH port.
- Ensure that the correct private key or authentication method is being used.
- Review local network settings if the connection times out before reaching the server.
4. Essential Linux VPS Administration
Regular maintenance helps keep a Linux VPS secure, stable, and easier to troubleshoot. Commands vary between distributions, so consult the documentation for your installed operating system before making system-level changes.
Identify your Linux distribution
cat /etc/os-release
Check CPU, memory, and running processes
uptime
free -h
top
df -h
- uptime shows system uptime and load averages.
- free -h displays memory usage.
- top provides a live view of processes and resource consumption.
- df -h reports filesystem space usage.
Update installed packages
For Debian or Ubuntu, a common package update workflow is:
sudo apt update
sudo apt upgrade
For RHEL-compatible distributions, package management commands may use DNF or another distribution-specific tool. Review available changes before applying updates to production systems, and plan for restarts where necessary.
5. VPS Security Best Practices
VPS security is a shared responsibility. MonaCloud provides the hosting service, while customers generally manage their own operating system, applications, credentials, firewall settings, and data unless a separate managed service specifies otherwise.
Secure your server
- Use strong, unique credentials and SSH keys where appropriate.
- Disable unnecessary services and restrict administrative access.
- Keep the operating system, applications, frameworks, and dependencies updated.
- Configure a firewall to allow only the ports and protocols required by your workload.
- Use encrypted connections for administration and application traffic where appropriate.
- Monitor login attempts, unusual processes, unexpected outbound connections, and resource spikes.
- Keep independent backups and periodically test restoration.
- Rotate credentials immediately if you suspect they have been exposed.
Review open listening ports
sudo ss -tulpn
This command can help identify services listening on network ports. Review the output carefully before disabling a service, because required applications may depend on those ports.
Your VPS must not be used for unauthorized access, abusive traffic, phishing, malware distribution, unlawful activity, or other prohibited conduct. Review the Acceptable Use Policy before deploying public-facing services.
6. Network Configuration, IPv4, and IPv6
Network configuration affects how your VPS communicates with users, APIs, databases, and external services. MonaCloud's listed VPS plans include one dedicated IPv4 address and free IPv6 support. Confirm the specific addressing and configuration details available for your selected service.
Check IP addresses
ip address
Check routing information
ip route
Test DNS resolution
getent hosts example.com
Basic network troubleshooting
- Confirm that the server has the expected network interface and IP configuration.
- Check the routing table and configured DNS resolvers.
- Verify that local firewall rules permit the required traffic.
- Check whether the destination service is available and listening on the expected port.
- Compare results from different networks to identify possible routing or connectivity issues.
The listed network speed is a plan specification, not a guarantee of identical throughput to every destination. Performance depends on routing, congestion, destination capacity, protocol overhead, and workload characteristics.
7. VPS Performance Optimization
Improving VPS performance starts with measurement. Identify whether CPU, memory, storage, application configuration, or network activity is the primary bottleneck before changing system settings or upgrading resources.
CPU and Load
Inspect CPU utilization, load averages, and processes consuming excessive resources. Optimize inefficient code and background tasks.
Memory Usage
Monitor memory consumption and identify services with abnormal usage. Review application workers and caching settings.
Storage Capacity
Monitor filesystem usage, logs, temporary files, and database growth to prevent storage exhaustion.
Application Layer
Optimize database queries, use suitable caching, reduce unnecessary requests, and profile slow application paths.
Check disk usage
df -h
du -sh /var/log 2>/dev/null
Avoid applying random kernel parameters or copying optimization scripts from unverified sources. Measure the effect of each change and preserve a recovery path, particularly on production servers.
8. VPS Backup and Data Recovery
A backup strategy protects websites, databases, configuration files, application code, and other important information against accidental deletion, software errors, security incidents, and infrastructure problems.
Build a practical backup plan
- Identify the files, databases, and configuration data that are essential to your service.
- Store backups separately from the VPS being protected.
- Encrypt sensitive backup data where appropriate.
- Restrict access to backup credentials and storage locations.
- Keep multiple recovery points based on your operational requirements.
- Test restoration periodically rather than assuming a backup is usable.
- Document the recovery steps needed to bring your application back online.
Backup frequency should reflect how much data you can afford to lose and how long your service can tolerate being unavailable. Database applications may require application-consistent backup procedures rather than simply copying active data files.
Do not assume automatic backups are included unless your specific product or written service agreement explicitly confirms them. Review the applicable service terms and maintain independent copies of critical data.
9. Common VPS Troubleshooting Guide
VPS is unreachable
- Verify the server status and IP address.
- Check local connectivity, routing, and firewall rules.
- Confirm that the expected remote service is running.
- Inspect relevant system logs for errors or recent configuration changes.
Website or application is slow
- Check CPU load, memory usage, and disk capacity.
- Inspect application and web server logs.
- Review database performance and slow queries.
- Test network latency and connectivity to dependent services.
- Determine whether the bottleneck is inside the VPS or outside it.
Disk space is running out
- Use disk usage tools to identify large directories and files.
- Review log rotation and application-generated temporary files.
- Remove only files you understand and no longer need.
- Verify that important data is backed up before deleting or moving files.
SSH connection is refused or times out
- Confirm the server IP, SSH port, and username.
- Check whether the SSH daemon is running.
- Review host and network firewall rules.
- Distinguish a refused connection from a timeout, as they can indicate different issues.
Server behavior changed after an update
Review package history, service status, configuration changes, and system logs. If a rollback is necessary, use a documented recovery procedure and restore from a verified backup where appropriate.
10. More MonaCloud Resources
Use these resources alongside the VPS guides to understand the service requirements, customer responsibilities, and applicable policies.
VPS Hosting Plans
Compare the listed VPS configurations, storage, memory, bandwidth, and available options.
Explore Starter VPS →Acceptable Use Policy
Understand the permitted use of VPS services and restrictions on abusive or unlawful activity.
Read Acceptable Use Policy →Terms of Service
Review the general terms governing MonaCloud service access, customer responsibilities, and termination.
Read Terms of Service →Delivery Policy
Understand digital service provisioning, access information, and potential delivery delays.
Read Delivery Policy →Refund Policy
Review the applicable conditions and exclusions for cancellations and refund requests.
Read Refund Policy →Privacy Policy
Learn how personal information may be collected, used, and handled in connection with the services.
Read Privacy Policy →Need Help With Your VPS Setup?
Whether you are choosing a hosting plan, configuring a server, troubleshooting a connection, or reviewing service requirements, our team can help you identify the appropriate next step.
Contact Support