Home
Spot by NetApp
Spot Create Elastigroup Example
Spot Create Elastigroup Example
Example request and response for creating a new Elastigroup on AWS with Spot instance optimization
Cloud Optimization FinOps Kubernetes Azure GCP Cost Optimization Auto-Scaling
Spot Create Elastigroup Example is an example object payload from Spot by NetApp, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
name description request response
Example Payload
{
"name": "Create Elastigroup AWS",
"description": "Example request and response for creating a new Elastigroup on AWS with Spot instance optimization",
"request": {
"method": "POST",
"url": "https://api.spotinst.io/aws/ec2/group",
"headers": {
"Authorization": "Bearer your_spot_api_token_here",
"Content-Type": "application/json"
},
"body": {
"group": {
"name": "web-servers-prod",
"description": "Production web server Elastigroup",
"region": "us-east-1",
"capacity": {
"minimum": 2,
"maximum": 20,
"target": 5
},
"strategy": {
"risk": 80,
"availabilityVsCost": "balanced",
"fallbackToOnDemand": true,
"utilizeReservedInstances": true
},
"compute": {
"instanceTypes": {
"ondemand": "m5.large",
"spot": ["m5.large", "m4.large", "m5a.large", "m5d.large", "r5.large"]
},
"launchSpecification": {
"imageId": "ami-0abcdef1234567890",
"keyPair": "my-key-pair",
"securityGroupIds": ["sg-0123456789abcdef0"],
"userData": "IyEvYmluL2Jhc2gKZWNobyAiSGVsbG8gV29ybGQi"
},
"availabilityZones": [
{"name": "us-east-1a", "subnetId": "subnet-0123456789abcdef0"},
{"name": "us-east-1b", "subnetId": "subnet-0abcdef1234567890"},
{"name": "us-east-1c", "subnetId": "subnet-0fedcba9876543210"}
]
}
}
}
},
"response": {
"status": 200,
"body": {
"request": {
"id": "b4e33d3b-4a5b-4c8c-a2f3-9b6e2e2e4c5a",
"url": "/aws/ec2/group",
"method": "POST",
"timestamp": "2026-05-02T10:00:00Z",
"isFinished": true
},
"response": {
"status": {
"code": 200,
"message": "OK"
},
"items": [
{
"id": "sig-12345abc",
"name": "web-servers-prod",
"description": "Production web server Elastigroup",
"region": "us-east-1",
"capacity": {
"minimum": 2,
"maximum": 20,
"target": 5
},
"createdAt": "2026-05-02T10:00:00Z",
"updatedAt": "2026-05-02T10:00:00Z"
}
],
"count": 1,
"kind": "spotinst:aws:ec2:group"
}
}
}
}
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/spot-create-elastigroup-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.