Enable spot option on an existing container instance

Francesca Bigardi 0 Reputation points
2024-06-27T11:02:01.5233333+00:00

Is it possible to enable the spot option on an existing container instance? Is there some option that I could use in the yml file?

Moreover, I tried to create a new container instance from the. When I enabled the spot option I saw the following error: "1 vCPUs is needed to create a Spot container, but only 0 vCPUs remain in your subscription. Please change to a smaller size or request a quota increase to avoid deployment failure.". What's mean? What is need to do?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
667 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 34,841 Reputation points Microsoft Employee
    2024-06-27T15:03:56.8633333+00:00

    @Francesca Bigardi

    Unfortunately you cannot add Spot option to existing container instances. You will need to recreate the container group to utilize the spot feature.

    It sounds like your limit doesn't allow you to utilize spot containers. You will need to request a quota increase for Standard Spot Cores. You can do this by going to Quotas and Azure Container Instances in the portal.

    User's image

    Hope this helps! Let me know if you still have questions or need further assistance.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments