Coder Social home page Coder Social logo

list_instance's Introduction

list_instance

A bash script and python script to list instances in each regoins in an AWS account You can run the scripts from any environment that has access to the AWS CLI or AWS SDKs and is properly configured with the necessary AWS credentials, you can also run it from the cloudshell.

Local Machine

  1. Install AWS CLI and SDKs:
    • Ensure you have the AWS CLI and any necessary SDKs (like boto3 for Python) installed on your local machine.
  2. Configure AWS CLI:
    • Run aws configure to set up your AWS credentials and default region.
  3. Run the Scripts:
    • Save the script to a file on your local machine.
    • Open a terminal or command prompt.
    • Navigate to the directory where you saved the script.
    • Make the script executable (for shell scripts) and run it.

AWS CloudShell

AWS CloudShell is a browser-based shell provided by AWS. It comes pre-installed with the AWS CLI and other development tools.

  1. Access AWS CloudShell:
  2. Run the Scripts:
    • You can copy and paste the script directly into the CloudShell terminal.
    • Alternatively, upload the script file to CloudShell using the CloudShell file upload feature and run it as you would in a local terminal.

list_instance's People

Contributors

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