IP rotation from EC2 machine

IAM role for the EC2 machine

Create a IAM role with the following permissions and assign it to the EC2 machine:

EC2 setup

  • Install AWS cLI on the EC2 machine

IP rotation script

  • Create the following script ip_rotate.sh on the EC2 machine

  • Make it executable and run it:

Last updated