Git Product home page Git Product logo

aws-security-groups-updater's Introduction

AWS Security Group IP Updater

Overview

The AWS Security Group IP Updater is a command-line utility written in Node.js for dynamically updating the IP addresses in your AWS Security Groups. This utility is particularly useful for developers who work in dynamic IP environments and need to frequently update their security groups to allow access to AWS resources.

Features

  • Automatically fetches your external IP address
  • Updates specified AWS Security Groups to replace old IP with the current one
  • Supports multi-factor authentication (MFA) for enhanced security
  • Provides a progress bar to indicate the status of the updates
  • Logs details for auditing and troubleshooting

Requirements

  • Node.js v14.x or higher

Setup

  1. Clone the Repository

    git clone https://github.com/your-username/aws-security-group-ip-updater.git
  2. Navigate to the Project Directory

    cd aws-security-group-ip-updater/src
  3. Install Dependencies

    npm install
  4. Configuration

    • Rename the config.json.dist file to config.json.
    • Fill in your AWS account details and Security Group IDs that you want to update in config.json.

Usage

  1. Basic Usage

    node index.mjs
  2. With MFA Token

    node index.mjs 123456

    Here, 123456 is your MFA token.

Troubleshooting

  • If you encounter any errors related to ES modules, make sure your Node.js version is v14.x or higher.

Contributing

Feel free to open issues or submit pull requests. Your contributions are welcome!

License

MIT License. See LICENSE for more information.

aws-security-groups-updater's People

Contributors

svstoichkov avatar

Stargazers

 avatar Jakub Drabik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.