Networking
Manage networks, VLANs, firewalls, and IP addresses
Networking
Networking resources enable private connectivity, firewall rules, and public IP management.
Elastic IPs
GET /v1/networking/elastic-ipsList elastic IPs for the project.
POST /v1/networking/elastic-ipsCreate a new elastic IP.
POST /v1/networking/elastic-ips/:ipId/moveMove an elastic IP to a different instance or resource.
Request Body:
{
"targetType": "instance",
"targetId": "inst-abc123"
}DELETE /v1/networking/elastic-ips/:ipIdDelete an elastic IP.
VLANs
GET /v1/networking/vlansList VLANs.
POST /v1/networking/vlansCreate a VLAN.
Request Body:
{
"name": "backend-net",
"region": "us-east-1",
"cidr": "10.10.0.0/24"
}Firewalls
GET /v1/networking/firewallsList firewall rules.
POST /v1/networking/firewallsCreate a firewall rule.
Request Body:
{
"name": "web-servers",
"rules": [
{
"direction": "inbound",
"protocol": "tcp",
"port": 80,
"source": "0.0.0.0/0"
}
]
}Private Networks
GET /v1/networking/private-networksList private networks.
POST /v1/networking/private-networksCreate a private network.
Request Body:
{
"name": "app-net",
"region": "us-east-1",
"cidr": "10.10.0.0/24"
}Network Databases
List Network Databases
GET /v1/networking/:networkId/dbReturns database records associated with a specific network.
Create Network Database
POST /v1/networking/:networkId/dbAssociates a database record with a network for internal connectivity.
curl -X POST https://api.fugoku.com/v1/networking/net-abc123/db \
-H "X-Fugoku-API-Key: $FUGOKU_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"databaseId": "db-abc123",
"privateIp": "10.10.0.5"
}'