Cloud Infrastructure
Networking & Cloud Firewall
Private VPCs, Anycast floating IPs, automated DDoS filtering, and stateful cloud firewall rules.
Networking & Cloud Firewall
1st Services provides a programmable software-defined network (SDN) layer that allows you to isolate infrastructure, balance traffic, and shield endpoints from DDoS threats.
Private VPC Networks
Virtual Private Clouds (VPCs) enable secure communication between your VPS instances, Managed Databases, and Block Storage without routing traffic through the public internet.
- Zero egress charges: Traffic within a VPC in the same region is completely free.
- Microsecond latency: Direct kernel-level routing across 100Gbps spine switches.
- Custom CIDR ranges: Default
10.244.0.0/16or configure your own subnets.
Cloud Firewall Rules
1st Cloud Firewalls filter traffic at the hypervisor level before packets reach your VPS operating system.
Creating Firewall Rules via API
POST https://api.1st-services.com/v1/firewalls
{
"name": "web-and-ssh-shield",
"inbound_rules": [
{
"protocol": "tcp",
"ports": "22",
"sources": ["198.51.100.0/24"] // Restrict SSH to your office IP
},
{
"protocol": "tcp",
"ports": "80,443",
"sources": ["0.0.0.0/0", "::/0"] // Public HTTP/HTTPS
}
],
"outbound_rules": [
{
"protocol": "all",
"destinations": ["0.0.0.0/0", "::/0"]
}
],
"applied_to": ["vps_8931274"]
}
Anycast Floating IPs
Floating IPs allow you to instantly redirect public traffic between VPS instances in an active-passive or blue-green failover setup without updating DNS records.
cURL Reassign Floating IP
curl -X POST https://api.1st-services.com/v1/networking/floating-ips/fip_48219/assign \
-H "Authorization: Bearer $FIRST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target_vps_id": "vps_8931275"}'
