Overview
IAM
- Account
- Users
- API Tokens
CDN
- IP addresses list
- CDN service
- Origins
- CDN resources
- CDN activity logs
- Log forwarding
- Log viewer
- Logs uploader
- Tools
- Rules
- Rule templates
- Purge history
- SSL certificates
- CA certificates
- CDN Statistics
- Advanced analytics
- Origin shielding
- Let's Encrypt certificates
Managed DNS
- Analyze
- Locations
- Lookup
- Metrics
- Pickers
- DNS Clients
- Zones
- DNSSEC
- RRsets
Cloud
- Bare Metal
- Container as a Service
- Cost Reports
- DDOS Protection
- File Shares
- Firewalls
- Floating IPs
- Function as a Service
- GPU Cloud
- IP Ranges
- Images
- Inference Instances
- Instances
- GETList apptemplates
- GETGet apptemplate
- GETList instance flavors
- GETSearch instances across all reseller clients
- GETList instances
- POSTList suitable flavors for instance creation
- GETDeprecated. Get instance naming restrictions that are applied to specified project and region.deprecated
- GETGet instance
- DELDelete instance
- PATCHRename instance
- POSTAssign security group
- POSTAttach interface
- GETList suitable flavors for instance resize
- POSTResize instance
- POSTUn-assign security group
- POSTDetach interface
- GETGet instance console URL
- GETList network interfaces
- GETList instance tags
- PUTReplace tags
- POSTCreate or update tags
- GETGet instance tag
- DELDelete instance tag
- POSTGet instance metrics
- GETList network ports
- POSTDeprecated. Powercycle instancedeprecated
- POSTPut instance into the server group
- POSTDeprecated. Reboot instancedeprecated
- POSTRemove instance from the server group
- POSTDeprecated. Resume instancedeprecated
- GETGet instance security groups
- POSTDeprecated. Start instancedeprecated
- POSTDeprecated. Stop instancedeprecated
- POSTDeprecated. Suspend instancedeprecated
- PUTDeprecated. Assign allowed address pairs for instance portdeprecated
- POSTDisable port security for instance interface
- POSTEnable port security for instance interface
- GETGet instance price
- GETList name template configs of the reseller.
- PUTUpdate or create reseller naming configuration.
- GETGet naming restrictions that are applied to specified project and region.
- DELDelete the reseller's name_templates setting and drop all naming restrictions on the region.
- GETFilter instances by security group
- POSTCreate instance
- POSTCheck quota for instance creation
- POSTPerform a specific action on an instance.
- GETGet instance tag by key
- DELDelete instance tag by key
- PUTAssign allowed address pairs for instance port
- POSTPreview instance price
- GET
- Load Balancers
- Logging
- Managed Kubernetes
- Managed PostgreSQL
- Networks
- Placement Groups
- Projects
- Quotas
- Regions
- Registry
- Reservations
- Reserved IPs
- Routers
- SSH Keys
- Secrets
- Service Endpoints
- Snapshot Schedules
- Snapshots
- Tasks
- User Actions
- User Role Assignments
- Volumes
Security
- Event Logs
- BGP announces
- Security Templates
- Profiles
FastEdge
- Apps
- Binaries
- FastEdge Clients
- FastEdge Secrets
- Stats
- FastEdge Templates
WAAP
- WAAP Service
- Domains
- Policies
- Analytics
- Custom Page Sets
- Custom Rules
- Firewall Rules
- Advanced Rules
- Tags
- Network Organizations
- API Discovery
- IP Spotlight
- Security Insights
Web Security
- Billing Statistics
- Resources
Video Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- Storage Statistics
Instances
Preview instance price
Preview billing price of the server instance
POST
/
cloud
/
v2
/
pricing
/
{project_id}
/
{region_id}
/
instances
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/instances \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"flavor": "g1-standard-1-2",
"interfaces": [
{
"floating_ip": {
"source": "new"
},
"network_id": "ddc28e44-2acb-499b-985b-831f29432e1c",
"subnet_id": "2731a56e-a5c9-44be-80c2-02c57c594573",
"type": "subnet"
},
{
"floating_ip": {
"existing_floating_id": "57be69f6-6f6a-4f03-a4ad-8eb86c69ec0a",
"source": "existing"
},
"network_id": "53609647-2619-420a-b046-59905c8e3370",
"subnet_id": "e3c6ee77-48cb-416b-b204-11b492cc776e3",
"type": "subnet"
},
{
"network_id": "783b36b4-3ef4-48ac-879d-5b3ea53180d8",
"subnet_id": "382a83e5-1b38-49f9-bd83-730353b29ed4",
"type": "subnet"
},
{
"network_id": "783b36b4-3ef4-48ac-879d-5b3ea53180d8",
"type": "any_subnet"
},
{
"type": "external"
}
],
"names": [
"my-instance-1"
],
"volumes": [
{
"size": 10,
"source": "image",
"type_name": "ssd_hiiops"
},
{
"size": 5,
"source": "new-volume",
"type_name": "standard"
},
{
"snapshot_id": "7cca40d7-a843-4e9f-ae08-62b9a394b1ab",
"source": "snapshot"
}
]
}'
Copy
Ask AI
{
"currency_code": "USD",
"per_gb": {
"egress_traffic_baremetal": 1.3
},
"per_hour": {
"external_ip": 0.02,
"flavor": 0.8,
"floating_ip": 0.05,
"volumes": {
"cold": 0.1083,
"ssd_hiiops": 0.0278,
"standard": 0.0139
}
},
"per_month": {
"external_ip": 14.4,
"flavor": 576,
"floating_ip": 36,
"volumes": {
"cold": 78,
"ssd_hiiops": 20,
"standard": 10
}
},
"price_status": "show",
"total_price_per_hour": 1.02,
"total_price_per_month": 734.4,
"vm_count": 1
}
Authorizations
API key for authentication.
Path Parameters
Project ID
Examples:
1
Region ID
Examples:
1
Body
application/json
Pricing details for creating instances with version 2 interfaces.
Response
200 - application/json
OK
Billing response v2 preview schema for server instance.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.gcore.com/cloud/v2/pricing/{project_id}/{region_id}/instances \
--header 'APIKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"flavor": "g1-standard-1-2",
"interfaces": [
{
"floating_ip": {
"source": "new"
},
"network_id": "ddc28e44-2acb-499b-985b-831f29432e1c",
"subnet_id": "2731a56e-a5c9-44be-80c2-02c57c594573",
"type": "subnet"
},
{
"floating_ip": {
"existing_floating_id": "57be69f6-6f6a-4f03-a4ad-8eb86c69ec0a",
"source": "existing"
},
"network_id": "53609647-2619-420a-b046-59905c8e3370",
"subnet_id": "e3c6ee77-48cb-416b-b204-11b492cc776e3",
"type": "subnet"
},
{
"network_id": "783b36b4-3ef4-48ac-879d-5b3ea53180d8",
"subnet_id": "382a83e5-1b38-49f9-bd83-730353b29ed4",
"type": "subnet"
},
{
"network_id": "783b36b4-3ef4-48ac-879d-5b3ea53180d8",
"type": "any_subnet"
},
{
"type": "external"
}
],
"names": [
"my-instance-1"
],
"volumes": [
{
"size": 10,
"source": "image",
"type_name": "ssd_hiiops"
},
{
"size": 5,
"source": "new-volume",
"type_name": "standard"
},
{
"snapshot_id": "7cca40d7-a843-4e9f-ae08-62b9a394b1ab",
"source": "snapshot"
}
]
}'
Copy
Ask AI
{
"currency_code": "USD",
"per_gb": {
"egress_traffic_baremetal": 1.3
},
"per_hour": {
"external_ip": 0.02,
"flavor": 0.8,
"floating_ip": 0.05,
"volumes": {
"cold": 0.1083,
"ssd_hiiops": 0.0278,
"standard": 0.0139
}
},
"per_month": {
"external_ip": 14.4,
"flavor": 576,
"floating_ip": 36,
"volumes": {
"cold": 78,
"ssd_hiiops": 20,
"standard": 10
}
},
"price_status": "show",
"total_price_per_hour": 1.02,
"total_price_per_month": 734.4,
"vm_count": 1
}
Assistant
Responses are generated using AI and may contain mistakes.