What to do in the first hour after you get a virtual server, from updates to firewalls and DNS.
Steps
1. Log in and update
Connect as the administrator and install the latest operating system updates straight away.
2. Create a user and lock down SSH
Add a normal user account, use SSH keys, and disable password logins for root where possible.
3. Configure a firewall
Allow only the ports you need, such as web and secure shell, and block the rest.
4. Install your stack
Install the web server, database and language runtime your application needs, and keep it patched.
5. Point your domain and monitor
Point a domain at the server and set up basic monitoring so you know if it goes down.
Next steps
Put this guide into practice with Cloud VPS.
Found this useful? Share it.
