Is it possible to restrict user login in AWS by IP Whitelisting?


Is it possible to restrict the user to login in AWS by IP Whitelisting? I was wondering if it possible using IAM policies or is there any other way to do it. Thanks in advance to anyone that will enlighten me.

  • Could you provide more detail on "login to AWS"? Do you mean logging into the console? Or logging into an instance that is running in AWS? Or something else?

2 Answers
profile picture
answered a year ago
  • is there any rule that can prevent a user to sign in IF their IP is not in the WHITELIST?

  • That's what the linked example is showing - actions are denied when the source IP address is not in the list.

  • but I tested it, I can still login.


Have you looked at Console Private Access?

profile pictureAWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions