This rule ensures that EC2 instances do not have a public IP address to enhance security.
Rule | EC2 instances should not have a public IP address |
Framework | Federal Financial Institutions Examination Council (FFIEC) |
Severity | ✔ High |
Rule Description:
The rule dictates that EC2 instances should not be assigned a public IP address for Federal Financial Institutions Examination Council (FFIEC) compliance. Public IP addresses can expose sensitive data and pose a security risk for FFIEC regulated institutions. EC2 instances should only have private IP addresses to ensure data confidentiality and meet compliance requirements.
Troubleshooting Steps:
If an EC2 instance within an FFIEC regulated environment is found to have a public IP address, the following troubleshooting steps can be followed:
Verify the existing EC2 instance configuration:
Check if the instance has a public IP assigned:
Understand the reason for the public IP assignment:
Remediation:
To remove the public IP address from the EC2 instance, follow the step-by-step guide below:
Allocate an Elastic IP address:
Associate the Elastic IP with the EC2 instance:
Verify the removal of the public IP:
Test the instance connectivity:
Additional Notes: