studio-selfhosted icon indicating copy to clipboard operation
studio-selfhosted copied to clipboard

Reduce number of regions where the image can be shared

Open mjasion opened this issue 2 years ago • 2 comments

Unfortunately we hit the quota limit, while images are not used.

Build 'amazon-ebs.source' errored after 14 minutes 35 seconds: Error modify AMI attributes: ResourceLimitExceeded: You have reached your quota of 5 for the number of public images allowed in this Region. Deregister unused public images or make them private, or request an increase in your public AMIs quota.
	status code: 400, request id: 9dbc1f11-c4e4-41bc-b395-c545b84fa21b

==> Wait completed after 14 minutes 35 seconds

==> Some builds didn't complete successfully and had errors:
--> amazon-ebs.source: Error modify AMI attributes: ResourceLimitExceeded: You have reached your quota of 5 for the number of public images allowed in this Region. Deregister unused public images or make them private, or request an increase in your public AMIs quota.
	status code: 400, request id: 9dbc1f11-c4e4-41bc-b395-c545b84fa21b

mjasion avatar May 23 '24 11:05 mjasion

@0x2b3bfa0

Hmm, we might start naming them same (studio-selfhosted). In the Description there is a date as I see on the screen: image

The reason to add unique name to ami image was, that the unregistered AMI was hard to find on calls with Customer. And this is how EKS provide images. image

Now my proposed solution involves removing the force_delete_snapshot and deregistering the AMI. This could potentially resolve the issue [^1].

[^1]: I cannot find in the documentation how to fix the issue

mjasion avatar May 23 '24 12:05 mjasion

Either ask AWS to increase the limit for us,

Limits are per region, and for each there was a new ticket needed :/

mjasion avatar May 23 '24 12:05 mjasion