l o a d i n g

Filter Elastic IPs with Boto3

Aug 10, 2024 - Junior

$634.00 Fixed

I need a Python script using AWS SDK (Boto3) that describes my Elastic IPs. The script should check if their IP addresses start with specific prefixes and filter them accordingly. I have need to allocate 5 AWS Elastic IP with a certain prefixes by using Python boto3. allocate 5 new Elastic IP  IP Prefixes matching  If Elastic Ip matches with desired prefixes then Keep the all matched And release the rest(which were not matched) After releasing unmatched IPs, the script allocates the same number(the number of released)of Elastic IPs  as the number of total IPs to maintain a total of 5 Elastic IPs. Because aws Account has limit to allocate maximum 5 EIP I want to run this script with Access key and secret Access key of aws region = 'ap-south-1' # Change this to the appropriate region' if the public IP matches any of the prefixes in desired ip_prefixes, the script stops execution (finishes the task).  I have more than 20 desired ip_prefixes. And also I want add or remove later  If not match any desired ip_prefixes then release the Elastic IP. sleeper for 180 seconds before retrying Retry until all 5 IP matched Ideal Skills: - Proficient in Python - Experienced with AWS SDK (Boto3) - Knowledgeable about Elastic IPs The script should be able to: - Identify Elastic IPs based on certain IP prefixes - Provide a detailed report of the filtered Elastic IPs Please be prepared to discuss how you would handle the filtering criteria and report generation.
  • Proposal: 0
  • 30 days
AuthorImg
Aatmaj Kapoor Inactive
,
Member since
Jun 10, 2024
Total Job
1