Git Product home page Git Product logo

aws-ip-report's Introduction

AWS IP Report

Overview

This Node.js application generates a report of AWS resources and their associated public IPv4 addresses executing dns lookups to determine the public IP addresses when necessary. The report is generated as a markdown, a pdf and an Excel file in the output directory. The report is organized by resource type.

It covers

  • API Gateway instances
  • EC2 instances
  • EKS clusters
  • Elastic Beanstalk environments
  • Elastic IPs
  • Load Balancers (ALB, NLB, CLB)
  • NAT Gateway instances
  • RDS instances
  • Subnets
  • VPCs

Setup

  1. Install Node.js and npm: Ensure that Node.js and npm are installed on your system.

  2. Install Dependencies: Run npm install in the project directory to install the necessary dependencies.

  3. Configure AWS Credentials: To allow the application to access your AWS account, you need to set up AWS credentials. Follow these steps:

    • Option 1: Use AWS CLI:

      • If not already installed, install the AWS CLI following these instructions.
      • Configure your AWS credentials by running aws configure and entering your access key ID, secret access key, and default region.
    • Option 2: Manual Configuration:

      • Create a file named credentials in a new directory at ~/.aws/ (UNIX/Linux) or %UserProfile%\.aws\ (Windows).

      • Add the following content to the file, replacing the placeholders with your actual AWS credentials:

        [default]
        aws_access_key_id = YOUR_ACCESS_KEY_ID
        aws_secret_access_key = YOUR_SECRET_ACCESS_KEY
        
      • Optionally, specify the default region in a file named config in the same .aws directory:

        [default]
        region = YOUR_DEFAULT_REGION
        
  4. Run the Application: Execute npm start to run the application and generate the report in the output directory as markdowna and pdf files.

Note

The application lists resources and their public IPs (if applicable). It does not determine active usage of IPs.

AWS Networking Report

Overview

This report provides an overview of the current AWS networking configuration, including details about various services and resources.


API Gateway Instances

List and describe the API Gateway instances, including their types (REST, HTTP, WebSocket), endpoints, and any associated API stages or resources.


EC2 Instances

Public EC2 Instances

(List of public EC2 instances with details like Instance ID, IP Address, and attached security groups)

Private EC2 Instances

(List of private EC2 instances with details)


EKS Clusters

Provide details on each EKS cluster, including cluster names, associated node groups, and any relevant networking configurations like VPC and subnet associations.


Elastic Beanstalk Environments

List the Elastic Beanstalk environments, including environment details, associated applications, and environment health status.


Elastic IPs

Enumerate allocated Elastic IPs, their associated resources (if any), and status (whether they are attached or detached).


Load Balancers

Application Load Balancers (ALB)

(List of ALBs with details)

Network Load Balancers (NLB)

(List of NLBs with details)

Classic Load Balancers (CLB)

(List of CLBs with details)


NAT Gateway Instances

Detail each NAT Gateway, including associated VPC, subnet, and the Elastic IPs allocated to them.


RDS Instances

List the RDS instances, including details on instance type, DB engine, and whether they are publicly accessible.


Subnets

Provide a summary of subnets within each VPC, including details like CIDR blocks, associated route tables, and whether they are public or private.


VPCs

List all VPCs along with their CIDR blocks, attached Internet Gateways or NAT Gateways, and any notable configurations.


Summary

Conclude the report with a high-level summary, highlighting any potential concerns or areas for improvement in the current network setup.

aws-ip-report's People

Watchers

 avatar  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.