The numbers of AFIs reach the maximum allowed limit.

0

When I generate AFI from xclbin file, it prompts: “ An error occurred (ResourceLimitExceeded) when calling the CreateFpgaImage operation: You have reached the maximum allowed limit for the number of owned AFIs. To request an AFI limit increase, please contact AWS Support. ”.
Can I log off the AFIs I used previously ? Or I can only apply to add new AFIs ?

zqsteve
gefragt vor 4 Jahren353 Aufrufe
6 Antworten
0

Since I did not save the AFIs I had used before, how can I look for the AFIs I have applied for,then delete them?

zqsteve
beantwortet vor 4 Jahren
0

When I use command ” aws ec2 --region us-west-2c delete-fpga-image --fpga-image-id afi-0e5361a69d2af203d ” to delete the AFI, it prompts: “ Could not connect to the endpoint URL: "https://ec2.us-west-2c.amazonaws.com/" ”. So,I need to update the cli ? But I’m using the AMI 1.8.1. It should be the latest.

zqsteve
beantwortet vor 4 Jahren
0

Hi zqsteve,

It seems like when you setup your aws cli, you set your region as us-west-2c. Instead you should set it as us-west-2 and it should work fine.

Hope this helps.

-Deep

Deep_P
beantwortet vor 4 Jahren
0

Hi zqsteve, Deep's right that you're specifying

--region us-west-2c

in the AWS cli, which isn't a region (it's an availability zone, which is a related concept.)

You can delete fpga images to get back under the limit. Alternatively, if you don't wish to do this, then you can request a limit increase (this is free.) In the AWS web dashboard go to Support, create a new case, select "service limit increase," and choose limit type "EC2 FPGA."

Thanks,
Eden

beantwortet vor 4 Jahren
0

Hi, awsdeep,
Thank you for your reply.
When I use us-west-2, it works.
Another, I want to know whether there are methods to look for the fpga-image-id for the AFIs I have used. Because I have many test projects, I use them to generate the AFIs. Once I finish the tests, I remove the awscxclbin file and don't save them. So I don't know their fpga-image-id for these AFIs.

zqsteve
beantwortet vor 4 Jahren
0

Hi zqsteve,

You can use the DescribeFpgaImages action https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeFpgaImages.html to list the AFIs available in an account. Probably you would want to engage this action using the AWS CLI as detailed here: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-fpga-images.html.

For example, try calling:

 ~> aws --region us-west-2 ec2 describe-fpga-images --owners self
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen