Skip to main content

Menu system for Managing AWS Accounts

Project description

A menu system for DEVOPS.

Why

I got tired of running all kinds of scripts to manage things.

Requirements

  • pyyaml

  • six

  • jinja2

  • boto3

Example

+------------------------------------------------------------------------------
Main Menu
+------------------------------------------------------------------------------
[1] | All/General/Other
+------+-----------------------------------------------------------------------
[0] | Quit
+------------------------------------------------------------------------------

Installation

pip install devops-menu. This will install the scripts in /usr/share/devops-menu folder.

Note: Install manually with ‘sudo -H python setup.py install’ if not installing with pip.

Note: Make sure your ~/.aws config and credentials files are setup correctly with the profile to the various AWS instances.

Example config:

[default]
output = json
region = us-east-1

[profile test1]
output = json
region = us-east-1

[profile test2]
output = json
region = us-east-1

Example credentials:

[default]
aws_access_key_id = xxx
aws_secret_access_key = xxx

[test1]
aws_access_key_id = xxx
aws_secret_access_key = xxx

[test2]
aws_access_key_id = xx
aws_secret_access_key = xxx

For script usage, run the following command:

devops-menu

Configuration

If you want to add more scripts or modify the menu, got to /usr/share/devops-menu and edit the devops-menu.yml file and add the scripts to the scripts directory.

It is best to follow the same yml format in the menu file, and the same format in the bash scripts.

Updates

  • 10/31/18 Initial commit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devops-menu-0.5.0.tar.gz (32.3 kB view hashes)

Uploaded Source

Built Distribution

devops_menu-0.5.0-py3-none-any.whl (44.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page