To successfully integrate an AWS account with the CloudIAM module, it is crucial to follow the updated specifications and requirements. This guide details the connection process, highlighting the importance of using the appropriate policy to avoid common connection errors.
Connection Requirements:
- Version:
- Always use the latest version of senhasegura to ensure full functionality with the latest updates.
- Correct Policy for AWS Instances:
- It is essential to follow the JSON policy provided in the senhasegura documentation so that the permissions configuration is appropriate. Always check the latest policy, available in the official documentation: Connect an AWS account - Senhasegura Documentation.
Common Errors and Solutions:
- Connection Key Error:
- If you are faced with the message “Unable to connect to Amazon servers with this key”, check for communication blocks with Amazon endpoints. This error indicates that, although the call to AWS is successful, there is no effective communication with Amazon IPs, preventing the connection from being completed.
- Communication Blockage Diagnosis:
- Monitor and collect logs on the firewall, identifying any connection attempts originating from senhasegura toward AWS. This can help identify whether adjustments to the firewall rules are necessary to allow traffic.