Why Am I Getting "ERROR: Error Connecting to AWS Backend. You Are Not Authorized to Perform This Operation." When Fetching Instances from Amazon EC2?

Solution Verified - Updated -


When fetching instances from the Amazon EC2 API, you may encounter the following error:

ERROR: "Error connecting to AWS backend. You are not authorized to perform this operation.", while: getting EC2 instances


  • Ansible Tower
  • Ansible Engine

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content