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
已提問 4 年前檢視次數 322 次
6 個答案
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
已回答 4 年前
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
已回答 4 年前
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
已回答 4 年前
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

已回答 4 年前
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
已回答 4 年前
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
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南