Facilities
A facility is a single, physical data center location. Each facility has its own facility code and available configurations called products. To get a list of available locations, go to the dedicated server section of the Hivelocity Website and click filter by location.
You can also get a list of facilities by making a GET
request to /inventory/locations
curl -X 'GET' \
'https://core.hivelocity.net/api/v2/inventory/locations' \
-H 'accept: application/json' \
Facility Codes
Each core facility has a facility code consisting of three letters and a number. This code is used to specify the location for deployments. The letters of a location's facility code are derived from the Airport Code of the nearest airport. The number represents the order each facility was brought online in that city. Typically, this is the numeral 1
for locations with a single facility.
The codes of edge facilities are derived the same way as core facilities then prefixed with EDGE-
.
Facility Reference
USA & Canada
City | Code | Type |
---|---|---|
Ashburn, VA | EDGE-IAD2 | Edge |
Atlanta, GA | ATL2 | Core |
Chicago, IL | ORD1 | Core |
Dallas, TX | DAL1 | Core |
Dallas, TX | EDGE-DAL1 | Edge |
Dallas, TX | EDGE-DAL2 | Edge |
Los Angeles, CA | LAX1 | Core |
Los Angeles, CA | LAX2 | Core |
Los Angeles, CA | EDGE-LAX1 | Edge |
Miami, FL | FLL1 | Core |
Miami, FL | EDGE-FLL1 | Edge |
New York City, NY | NYC1 | Core |
Newark, NJ | EDGE-JFK1 | Edge |
Phoenix, AZ | EDGE-PHX1 | Edge |
Reston, VA | EDGE-IAD3 | Edge |
Sunnyvale, CA | EDGE-SNV1 | Edge |
Seattle, WA | SEA1 | Core |
Sunnyvale, CA | EDGE-SNV1 | Edge |
Tampa, FL | TPA1 | Core |
Tampa, FL | TPA2 | Core |
Toronto, ON | EDGE-YYZ1 | Edge |
Toronto Mississauga, ON | EDGE-YYZ2 | Edge |
Vancouver, BC | EDGE-YXX1 | Edge |
Europe
City | Code | Type |
---|---|---|
Amsterdam, Netherlands | AMS1 | Core |
Frankfurt, Germany | FRA1 | Core |
Frankfurt, Germany | EDGE-FRA1 | Edge |
London, UK | EDGE-LYC1 | Edge |
London, UK | EDGE-LYC2 | Edge |
London Gatwick, UK | EDGE-LGW1 | Edge |
London Heathrow, UK | EDGE-LHR1 | Edge |
London Slough, UK | EDGE-LHR2 | Edge |
Madrid, Spain | EDGE-TOJ1 | Edge |
Milan, Italy | EDGE-LIN1 | Edge |
Paris, France | EDGE-CDG1 | Edge |
Poznan, Poland | EDGE-POZ1 | Edge |
Riga, Latvia | EDGE-RIX1 | Edge |
Stockholm, Sweden | EDGE-ARN1 | Edge |
Vilnius, Lithuania | EDGE-VNO1 | Edge |
APAC (Asian-Pacific Countries)
City | Code | Type |
---|---|---|
Delhi, India | EDGE-DEL1 | Edge |
Hong Kong, China | EDGE-HKG1 | Edge |
Mumbai, India | EDGE-BOM1 | Edge |
Pune, India | EDGE-PNQ1 | Edge |
Seoul, South Korea | EDGE-ICN1 | Edge |
Singapore, Singapore | EDGE-SIN1 | Edge |
Sydney, Australia | EDGE-SYD1 | Edge |
Tokyo, Japan | EDGE-NRT1 | Edge |
Central & South America
City | Code | Type |
---|---|---|
Sao Paulo, Brazil | EDGE-SAO1 | Edge |
Africa
City | Code | Type |
---|---|---|
Johannesburg, South Africa | EDGE-JHN1 | Edge |
Lagos, Nigeria | EDGE-LOS1 | Edge |
Finding a Server's Facility
In the control panel, you can see which facility your server lives in from the Devices section by looking at the Location ID column. This will display the facility code for the location.
You can also retrieve the facility information of your server by making a GET
request to the /devices/DEVICE_ID endpoint.
Facility Inventory
The stock of a product in a facility is dependent on the server parts supply chain and variations in demand. Hivelocity has built a robust supplier network to ensure rapid re-stocking, that said, the exact product stock in a facility will vary over time. When you deploy from our website, the inventory available in each facility is automatically filtered. If you are deploying servers through the API, you must specify the facility code.
To check the available inventory of facilities, use the /inventory/product . Send a GET
request to see a complete list of facilities, products, and their stock.
curl -X 'GET' \
'https://core.hivelocity.net/api/v2/inventory/product?location=MAIN&group_by=facility' \
-H 'accept: application/json' \
-H "X-API-KEY: $API_KEY"
The stock responses for a product are one of the following:
- Available - There are plenty of servers available.
- Limited - There are servers available, but the stock is limited.
- Unavailable - Servers of a particular type and data center combination are not available.
The query arg location
can have the values:
- MAIN - A list of all traditional Instant and Custom Dedicated servers.
- OUTLET - A list of servers with older generation CPUs listed at a discount.
- GPU - A list of servers with GPU availability. If you need different GPU configurations, email [email protected] and we can source GPUs for your particular workload.
The query arg group_by
can have the values:
- facility - will return the products grouped by the facilities where they are available.
- cities - will return the products grouped by the cities where they are available.
- flat - a flat list of products where each permutation of a product and facility is an individual item.
Updated over 1 year ago