0

do you know where I can find a comprehensive list of IPs that need to be whitelisted in order to be able to use AWS CLI?

The scenario: I have my orchestrator server on an on-prem server without access to the internet, I can access the internet by asking networking folks to whitelist endpoints. I need to be able to fire aws cli commands from this private server, any ideas? Thanks!

Dan V
  • 119
  • 2
  • 4

2 Answers2

0

AWS provides their public ips here: https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html .

I don't think the list is static so I would write a script to fetch the IPs. It should propably work only to whitelist the IPs for the region you are intending to use.

Henrik Pingel
  • 8,676
  • 2
  • 24
  • 38
-1

Try checking this, I think It's what you are looking for:

AWS service endpoints

As these update frequently, a quick google search for AWS service endpoints will get latest results

Dave M
  • 4,494
  • 21
  • 30
  • 30
ro-friday
  • 23
  • 4
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/448670) – Dave M May 18 '20 at 14:45
  • @DaveM Thank you for the feedback. In this case I chose that because the link lists AWS endpoints and the content, if copied here, will become outdated before the link disappear. I think that I can add the information to just Google !AWS service endpoints" to get updated results... – ro-friday May 18 '20 at 16:16