I hereby claim:
- I am gsantovena on github.
- I am santovenapythian (https://keybase.io/santovenapythian) on keybase.
- I have a public key ASAZex8GWbCBv6gH5B53GeycX7Y_D2lY_VMzaIi5mpzk8Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
CMD=$@ | |
ACTION=${1:-plan} # I'm using 'plan' because I use this mainly for Terraform/Terragrunt | |
MAIN_ACCOUNT_ID=${123456789012} | |
ASSUME_ROLE="arn:aws:iam::${MAIN_ACCOUNT_ID}:role/<IAM_ROLE_NAME>" | |
ROLE_SESSION_NAME="<SECOND_ACCOUNT_ID_OR_NAME>" | |
TMP_FILE=".temp_credentials" |
> curl 'http://172.20.11.177:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus' | |
{ | |
"beans" : [ { | |
"name" : "Hadoop:service=NameNode,name=NameNodeStatus", | |
"modelerType" : "org.apache.hadoop.hdfs.server.namenode.NameNode", | |
"State" : "active", | |
"NNRole" : "NameNode", | |
"HostAndPort" : "localhost:19000", | |
"SecurityEnabled" : false, | |
"LastHATransitionTime" : 0 |
Code | Title | Duration | Link |
---|---|---|---|
Keynote | Andy Jassy Keynote Announcement Recap | 0:01 | https://www.youtube.com/watch?v=TZCxKAM2GtQ |
Keynote | AWS re:Invent 2016 Keynote: Andy Jassy | 2:22 | https://www.youtube.com/watch?v=8RrbUyw9uSg |
Keynote | AWS re:Invent 2016 Keynote: Werner Vogels | 2:16 | https://www.youtube.com/watch?v=ZDScBNahsL4 |
Keynote | [Tuesday Night Live with Jame |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' |
aws --output text --region ${REGION} ec2 describe-instances --instance-ids $( | |
aws --output text --region ${REGION} \ | |
autoscaling describe-auto-scaling-instances \ | |
--query 'AutoScalingInstances[*].[AutoScalingGroupName,InstanceId]' | | |
grep ${ASG} | | |
awk '{ print $2 }' | |
) --query 'Reservations[*].Instances[*].[InstanceId,PrivateIpAddress]' |