Git Product home page Git Product logo

aws-setup's Introduction

Observable Networks setup tool

The script in this repository will help you add the necessary AWS configuration to allow Observable Networks to read VPC Flow Logs and resource metadata from your account.

In a hurry? Run onsetup.py with your AWS credentials in your environment and follow the prompts. Do make sure you've got boto3 installed.

Starting the wizard

Make sure you're got your AWS API key information available. If you have AWS environment variables set, simply switch to the project directory and run this command:

python onsetup.py

Otherwise, specify your key information when invoking the script:

python onsetup.py \
    --aws-access-key-id="ASDFQWERZXCVGHJKTYUI" \
    --aws-secret-access-key="o7HxTNWpNb2cSNVV94MfIVBAKe5yKIRITMuIaQlf" \

The --profile switch lets you specify named AWS profile instead of the access keys.

Answering the prompts

When you run onsetup.py you'll be asked a series of questions:

  • Whether to create the Observable role for cross-account access
  • Whether to create log groups for VPCs that don't have them already
  • Whether to create a role for AWS to use when saving VPC Flow Logs to CloudWatch Logs

To use the Observable service you'll at least need to create the role and have one log group with VPC flow logs.

Once you're finished, copy down the role ARN and make note of which VPC Flow Log groups you want to monitor.

Other notes

You may review the policy documents included here. The permissions are requested to allow Observable to match data from your AWS account to the network traffic in VPC Flow Logs. You may narrow down the permissions if needed. For example, you may want to change the policy document to allow read access to only certain log groups.

The script is meant to be run once, and doesn't go out of its way to do error handling. If you have questions or problems please e-mail [email protected].

aws-setup's People

Contributors

bbayles avatar mjschultz avatar robertcsapo 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.