This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import subprocess | |
from collections import defaultdict | |
import boto3 | |
# | |
# On OSX, install boto3 with | |
# $ pip install boto3 --user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# aws-instance-monitor | |
# | |
# This is a command-line tool, as well as a monitor/failover script that is designed | |
# for HA NAT, but should be usable when the following conditions are met: | |
# | |
# 1. Used in AWS VPC Route Table - VPC routing describes methods of egress | |
# for outbound traffic. Typically, a NAT will have a 0.0.0.0/0 rule | |
# and the route will be in a table associated with a Private Subnet. |