A Simple tool that registers ec2 host information to a DynamoDB Table
Project description
noderegister
A Simple tool that registers ec2 host information to a DynamoDB Table
DDB Content Example
Node Type | Hostname | Private IP |
---|---|---|
seednode1 | ip-172-31-36-196.us-west-2.compute.internal | 172.31.36.196 |
seednode0 | ip-172-31-36-197.us-west-2.compute.internal | 172.31.36.197 |
clusternode0 | ip-172-33-36-190.us-west-2.compute.internal | 172.33.36.190 |
clusternode1 | ip-172-33-36-191.us-west-2.compute.internal | 172.33.36.191 |
clusternode0 | ip-172-33-36-192.us-west-2.compute.internal | 172.33.36.192 |
Useage
noderegister
usage: noderegister [-h] [-c] [-a ASSIGN | -r | -l] [-D DYNAMODB_TABLE]
optional arguments:
-h, --help show this help message and exit
-c, --create_ddb Create a new DynamoDB table
actions:
-a ASSIGN, --assign ASSIGN
Set the node type of an existing node
-r, --register_node Add a new node to the DynamoDB table
-l, --list List Registered Node in given DynamoDB Table
required:
for (assign|list|register_node) actions
-D DYNAMODB_TABLE, --dynamodb_table DYNAMODB_TABLE
Name of Existing DynamoDB
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
noderegister-0.1.6.tar.gz
(4.0 kB
view hashes)