2

I have created instance with same configuration as mentioned in the Commmited use discount/reservation seciton, yet when i goto Reservations, it shows it is currently using none.

reservationslist

enter image description here

reservation configuration

enter image description here

instance configuration

enter image description here

The reservation type in instance is set as "Automatic", but it doesnt automatically detect and match, they both are in same regions and zones. Is there something i am missing?

James Z
  • 12,209
  • 10
  • 24
  • 44

2 Answers2

2
  • As per official doc, VM can only consume a reservation if the properties for both the VM and reservation are matching .

  • In this consumption model, existing and new instances automatically count against the reservation if those instances' properties match the reserved instance's properties

  • A VM instance can consume a reservation only if all of the following properties for both the VM and

    the reservation match exactly:

        Project
        Zone
        Machine type
        Minimum CPU platform
        GPU type and count
        Local SSD type and count
    
  • Refer to this doc explaining to you the requirements and restrictions for compute engine Vm creations

  • Follow this official doc for the step by step process of how to Consume instances from any matching reservation.

Hemanth Kumar
  • 2,728
  • 1
  • 4
  • 19
0

Thanks for the post Hemanth, everything in my instance was matching but still its not attached to the reservation.

I resolved the issue by creating another instance, and this time while creating the instance, I expanded the "Advnaced Options" in the create instance page, and manually choose the Reservation i wanted it to consume. And it worked!