The action CreateFpgaImage is not valid for this web service

0

Hi there,

I am using an EC2 instance (with an FPGA Developer AMI ---centos---) to build one of the cpp kernel examples. The creation of the xclbin work just fine, but when I try to run the create_vitis_afi.sh script, I get the following error:

An error occurred (InvalidAction) when calling the CreateFpgaImage operation: The action CreateFpgaImage is not valid for this web service.

I am trying to obtain an awsxclbin file that I can use to program an FPGA on a F1 machine.

I have admin role in the account where I tried it. I tried in two regions: Paris and Virginia.

Thanks in advance for any hint.

Best,
Medrano

Edited by: medrano on Jun 14, 2020 4:14 AM

gefragt vor 4 Jahren343 Aufrufe
2 Antworten
0
Akzeptierte Antwort

Hi Medrano,

Paris (eu-west-3) isn't currently supported for F1, so the error is expected in this case. See https://github.com/aws/aws-fpga#gettingstarted for a list of supported GA regions.

N. Virginia (us-east-1) is supported for F1, so the error there is not expected. My guess would be that the invocation of the create-fpga-image call in the create_vitis_afi.sh script is submitting its request to an endpoint in one of the AWS regions where F1 is not supported (Paris in this case, perhaps.)

Are you passing an -awsprofile flag to your invocation of the create_vitis_afi.sh script? If so, can you confirm that the region associated with that profile is set to us-east-1?

If you're not including an -awsprofile flag when you invoke the create_vitis_afi.sh script, then the script will typically choose a region based on the process environment. Can you confirm that the AWS_DEFAULT_REGION environment variable is set to "us-east-1" here?

Thanks,
Eden

beantwortet vor 4 Jahren
0

Thanks Eden
That was it. The configured region. Thanks a lot!

Best,

Medrano

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