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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page