Open, free, and portable cloud. Elastic compute, block storage (non replicated), virtual networking, managed Postgres, and IAM services in public beta.
Make GPU instance not selectable to regular VM customers via APIs
The APIs allow all vm size family to be selectable. In the web, we don't
visualize them anyway, however, in the APIs, they were selectable. With
this commit, we perform size validation in the API and only allow
visible vm_sizes to be picked.
Disallow gpu instance in web route
Validate boot-image in web
Without this check, customers can edit the parameter via inspect element
and use postgres base image as a base image for a VM. We do the same for
APIs.
Make GPU instance not selectable to regular VM customers via APIs
The APIs allow all vm size family to be selectable. In the web, we don't visualize them anyway, however, in the APIs, they were selectable. With this commit, we perform size validation in the API and only allow visible vm_sizes to be picked.
Disallow gpu instance in web route
Validate boot-image in web
Without this check, customers can edit the parameter via inspect element and use postgres base image as a base image for a VM. We do the same for APIs.