Networking
Create VPC
Changed onCreate a new virtual private cloud. Pick a cidr block that doesn't overlap with any of your existing VPCs.
CIDR planning
Use GET /api/v1/vpcs/cidr-suggestions to get suggested non-overlapping CIDR blocks if you don't have one in mind.
post/api/v1/vpcs
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/vpcs
- AuthAPI key in header X-API-Key
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Request body
Example request
{
"name": "vpc-prod",
"cidr": "10.0.0.0/24",
"region": "us-east"
}Response
VPC created
Example response
{
"data": {
"name": "vpc-prod",
"cidr": "10.0.0.0/24",
"gateway": "10.0.0.1",
"status": "active",
"total_ips": 256,
"used_ips": 4
}
}Changes
- info
endpoint added
- info