TrustMacro

VPS for your API

Choose a Linux VPS for an existing API built with FastAPI, Node.js or another stack. Set up HTTPS on your domain and test how the service performs under load.

Orders are currently closed.

Compare Linux VPS

Suggested starting point

VPS M · 2 vCPU, 4 GB RAM, 60 GB NVMe

A starting point from the Linux catalog for testing one API. Size the server using your measurements and allow disk space for logs and data growth.

What to check before deployment

  • List your Python or Node.js version, startup command, environment variables and dependencies. Set the application and reverse proxy to start automatically after reboot.
  • Point your domain at the VPS public IP. Configure Caddy or Nginx to serve HTTPS and forward requests to the application. If the application and database share a VPS, keep their internal ports closed to the internet.
  • Measure concurrent requests at peak traffic, memory use per process and response time. Budget memory and disk space separately for the database if it shares the server.

Scope and limitations

This VPS is for self-managed deployments. Your team sets up the application and HTTPS, applies updates and manages data backups.

What to test during setup

Reboot the test VPS. From another machine, send a read-only request over HTTPS. Verify the status code and expected response data, and measure response time.

Frequently asked questions

Can I run FastAPI or Node.js?

Yes, if your chosen operating system supports the required runtime version and dependencies. Check them on a test VPS and measure memory use under load.

Do I need a separate VPS for the database?

One machine can work for a small test API. Consider a separate database server if it needs dedicated resources or if you need to update the application and database independently.

How do I check that my API is ready?

Send typical requests over public HTTPS and compare response times against your target. Verify startup after a reboot and review the logs for failed requests.