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

asked 4 years ago340 views
2 Answers
0
Accepted Answer

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

answered 4 years ago
0

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

Best,

Medrano

answered 4 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