0

How can I update flavor and image of an instance? It is not possible with this api.

As another question, how can I update ram, disk and vcpu of the flavor?

Bani
  • 19
  • 6

1 Answers1

1

To resize a server (change its flavor), use both the resize and the resize confirm APIs. See also CLI instructions.

To change the image, you need to rebuild the instance.

You can't update a flavor (except for its description), but it should not be too hard to create a new one that suits your needs. You can delete the old flavor, even if there are still instances that were launched with it. Flavors only affect instances at launch time; once they are running, whatever happens to the flavor is of no importance. See flavor APIs.

berndbausch
  • 1,033
  • 8
  • 12