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
asked 2 years ago39 views
6 Answers
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
answered 2 years ago
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
answered 2 years ago
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
answered 2 years ago
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

answered 2 years ago
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
answered 2 years ago
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions