Reserved hardware gives you the ability to reserve specific servers for a committed period of time. Unlike hourly on-demand, once you reserve hardware, you will have access to that specific hardware for the duration of the reservation. For additional information, it is suggested to reach out to your specific account manager. If you do not yet have one, please email help@packet.net.

Deploy via Portal

Once you have reserved hardware assigned to your project, you can go to the deploy page and there you will see a section where you can provision your reserved servers.

As you can see on the screenshot, we have 3 c1.small servers reserved for our test project, and you can then choose to deploy any of them right away.

Moving Reservations between Projects

Moving hardware reservations between projects within the same organization can be done from the customer portal under  Organization Settings > Reserved Hardware: 

Click Mange: 

Click Assign to new Project & choose your specific project name: 


API Endpoints

There is also  API endpoints to interact with these hardware reservations.

To get a list of all hardware reservations:

curl -X GET -H 'X-Auth-Token: token' 'https://api.packet.net/projects/854fa557-91ed-47f4-a369-1e557998a331/hardware-reservations'

By using some jq  magic we are able to clean out up the json output to a readable printout: 

{

  "id": "2e0e16b8-8824-44b8-bbcd-9d209adedc5d",

  "provisionable": false

}

{

  "id": "32ffabf2-26e4-4664-9277-2fc035756bb6",

  "provisionable": true

}

{

  "id": "202f186b-b773-499c-bh59-35676d4261a5",

  "provisionable": true

}

To create a device using a specific hardware reservation, there is a new JSON parameter hardware_reservation_id, e.g.

POST https://api.packet.net/projects/<id>/devices -d '{"hardware_reservation_id":"uuid"}'

An example of provisioning reserved hardware in EWR: 

curl -X POST -H "Content-Type: application/json" -H "X-Auth-Token: token" "https://api.packet.net/projects/854fa557-91ed-47f4-a369-1e557998a331/devices" -d '{"hardware_reservation_id":"32ffabf2-2644-4664-9277-2fc035756bb6", "hostname": "ewr-reserved","operating_system": "ubuntu_16_04_image"}'

An example of provisioning next available reserved hardware: 

      {
        "hardware_reservation_id": "next-available",
        "plan": "baremetal_1",
        "facility": "abc1",
        "operating_system": "coreos_stable",
        "tags": ["database", "primary"],
        "locked": true
      }
     


Looking for More Help?

You can always reach out to us via email, live chat or return to our home page.

Did this answer your question?