I hereby claim:
- I am binlialfie on github.
- I am binlialfie (https://keybase.io/binlialfie) on keybase.
- I have a public key ASCt_94_Asp_OhNNz9GpjtkCIbX_gcn0tVte0VA5TgYGCQo
To claim this, I am signing this object:
#Step 1: Get a list of all alarms in INSUFFICIENT_DATA status | |
#Step 2: Get a list of all instances (stopped and started) | |
#Step 3: Find all alarms on instances that don't exist, and delete them | |
################################################### | |
#Step 1: Get alarms in INSUFFICENT_DATA state | |
################################################### | |
#The max that we can get per loop is 100; all alarms for nonexistent instances will be in | |
#INSUFFICIENT_DATA state so let's just go through those. | |
insuff_alarms = [] | |
loops = 1 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# This script will attempt to detect any ephemeral drives on an EC2 node and create a RAID-0 stripe | |
# mounted at /mnt. It should be run early on the first boot of the system. | |
set -exo pipefail | |
METADATA_URL_BASE="http://169.254.169.254/2012-01-12" | |
# Configure Raid - take into account xvdb or sdb | |
root_drive=`df -h | grep -v grep | awk 'NR==4{print $1}'` |