Virtuasys

Infrastructure

Deploy cloud servers in 60 seconds.

IP Transit

Get BGP transit and peering.

Housing

Rent rack space in our data centers.

Connectivity

Enterprise fiber connectivity from 100M to 10G

LIR Services

Obtain your ASN and IP addresses.

View All Services

Explore our complete service portfolio

AboutContact
Customer Portal
Infrastructure
Deploy cloud servers in 60 seconds....
IP Transit
Get BGP transit and peering....
Housing
Rent rack space in our data centers....
Connectivity
Enterprise fiber connectivity from 100M ...
LIR Services
Obtain your ASN and IP addresses....
AboutContact
Customer Portal
  1. Home
  2. Services
  3. Cloud Infrastructure
  4. API Automation

Cloud Infrastructure API: Automate Your Deployment

Provision and manage servers, networks, and infrastructure resources programmatically with our RESTful API. Deploy VPS instances, configure networking, manage snapshots, and monitor resources through a single unified interface.

Our infrastructure API provides complete control over your cloud infrastructure services, enabling automation, CI/CD integration, and infrastructure-as-code workflows with OAuth 2.0 authentication.

Built for DevOps teams and developers who need programmatic infrastructure management. Real-time API with 99.9% uptime, rate limits designed for production workloads, and extensive documentation with working code examples.

TL;DR

Full infrastructure lifecycle automation via RESTful API with Terraform support.

API Type
RESTful
Response Time
< 200ms
Terraform
Supported
Authentication
Token/OAuth
Get API Access

What is Infrastructure Automation API?

A RESTful HTTP API that allows you to manage your entire cloud infrastructure through code. Create, modify, delete, and monitor servers, networks, storage, and other resources without using a web interface. All operations return JSON responses and support standard HTTP methods (GET, POST, PUT, DELETE).

Full programmatic control over infrastructure lifecycle

Integrate with CI/CD pipelines and deployment tools

Automate repetitive tasks and enable self-service portals

Infrastructure-as-code workflows via REST API

API Capabilities

Comprehensive infrastructure management through REST endpoints

Server Provisioning

Create, resize, reboot, and delete VPS instances. Deploy from templates or custom ISOs. Configure CPU, RAM, storage, and network settings. Full lifecycle management.

Network Management

Assign and manage IPv4/IPv6 addresses. Configure BGP sessions, firewall rules, and reverse DNS. Create private networks and VLANs. Real-time network statistics.

Storage Operations

Create and manage snapshots, backups, and volumes. Attach/detach block storage. Configure automated backup schedules. Clone and restore from snapshots.

Resource Monitoring

Real-time metrics for CPU, RAM, disk I/O, and network traffic. Historical data with granular sampling. Usage statistics and billing forecasts. Alert thresholds and notifications.

Key API Endpoints

Core operations for infrastructure automation

POST/servers

Create new server instance with specified configuration

GET/servers/{id}

Retrieve detailed information about a specific server

PUT/servers/{id}

Update server configuration (resize, rename, settings)

DELETE/servers/{id}

Permanently delete a server instance

POST/servers/{id}/reboot

Reboot a server (hard or soft reboot)

POST/servers/{id}/console

Get VNC console access URL for server

GET/ips

List all IP addresses and their assignments

POST/ips/{ip}/reverse-dns

Configure reverse DNS (PTR record) for an IP

POST/snapshots

Create a snapshot of a server or volume

GET/billing/usage

Get current billing cycle usage and forecasts

Authentication & Security

Enterprise-grade security with OAuth 2.0 and API keys

OAuth 2.0

Full OAuth 2.0 implementation with refresh tokens. Ideal for applications that need to act on behalf of users. Granular permission scopes (read-only, write, billing).

API Keys

Long-lived API keys for server-to-server communication. Create multiple keys with different permission levels. Rotate keys without service disruption.

IP Whitelisting

Restrict API access to specific IP ranges. Additional security layer for production environments. CIDR notation support for subnets.

HTTPS Only

All API traffic encrypted with TLS 1.3. Certificate pinning support. Perfect forward secrecy. HSTS enforced.

Code Examples

Real working examples to get started quickly

cURL (Create Server)

curl -X POST https://api.virtuasys.eu/v1/servers \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d {'
    "name": "web-server-01",
    "plan": "vps-4gb",
    "region": "par1",
    "os": "ubuntu-24.04",
    "ssh_keys": ["ssh-rsa AAAAB3..."]
  }''

Python (List Servers)

import requests

api_key = "YOUR_API_KEY"
headers = {"Authorization": f"Bearer {api_key}"}'

response = requests.get(
    "https://api.virtuasys.eu/v1/servers",
    headers=headers
)

servers = response.json()
for server in servers['data']:
    print(f"{server['name']}: {server['status']}'"))

Node.js (Reboot Server)

const axios = require('axios');

const api = axios.create({
  baseURL: 'https://api.virtuasys.eu/v1',
  headers: {  'Authorization': `Bearer ${process.env.API_KEY}` }
});

async function rebootServer(serverId) {
  const response = await api.post(`/servers/${serverId}/reboot`, {
    type: 'soft'
  });
  return response.data;
}

API Use Cases

Real-world automation scenarios

Auto-Scaling Infrastructure

Automatically provision additional servers when traffic increases and deprovision when demand decreases. Integrate with monitoring tools (Prometheus, Datadog) to trigger scaling based on metrics like CPU usage, request rate, or queue depth. Implement custom auto-scaling logic tailored to your application's needs without vendor lock-in.

CI/CD Pipeline Integration

Deploy ephemeral test environments for each pull request or branch. Provision staging servers automatically when code is pushed. Run integration tests on fresh instances with production-like configurations. Tear down environments after tests complete to minimize costs. Full lifecycle automation from commit to production.

Multi-Tenant SaaS Platforms

Provision isolated server instances for each customer automatically during onboarding. Create custom configurations based on customer tier (CPU, RAM, storage). Implement tenant-specific networking and security policies. Scale customer infrastructure independently based on usage patterns.

DevOps Automation

Infrastructure-as-code workflows via our REST API. Declarative infrastructure definitions in version control. Automated disaster recovery and backup procedures. Scheduled maintenance tasks (snapshot creation, log rotation). Self-service portals for development teams.

Rate Limits & Best Practices

API Rate Limits

1,000 requests per hour per API key

100 requests per minute burst capacity

X-RateLimit-* headers in all responses

Higher limits available for enterprise accounts

Best Practices

Implement exponential backoff for retries on 429 responses

Cache responses when possible to reduce API calls

Use webhooks for event-driven updates instead of polling

Batch operations when creating multiple resources

Monitor rate limit headers to avoid throttling

Use API versioning (/v1/) to ensure compatibility

Webhooks & Events

Real-time notifications for infrastructure events

Configure webhook endpoints to receive HTTP POST notifications when events occur. No polling required—get instant updates for server state changes, billing events, or maintenance notifications.

server.created - New server provisioned
server.deleted - Server removed
server.rebooted - Server rebooted
snapshot.completed - Snapshot finished
billing.threshold - Usage threshold reached
maintenance.scheduled - Planned maintenance notification

Frequently Asked Questions

Common questions about our API and automation capabilities

Start Automating Your Infrastructure

Get API credentials and start building automated workflows in minutes. Full documentation and sandbox environment included.

Related Services

VPS SSD NVMe

High-performance virtual servers with NVMe storage, perfect for API-driven deployments

Learn more

Custom ISO Deployment

Deploy any operating system or custom image via API with our custom ISO support

Learn more
Virtuasys

© 2026 Virtuasys. All rights reserved.

Part of ma2t holding