Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
# PREREQUISITES: | |
# Setup a Mesos cluster and install Marathon framework | |
MARATHON_HOST="http://<marathon_host>/marathon" | |
# this could be an internal ELB that the Gateway nodes can use to auto-discover services | |
INTERNAL_MARATHON_HOST="http://<internal_marathon_host>/marathon" | |
# a wildcard domain configured with *.api.anydomain | |
API_DOMAIN="api.<my-domain>" | |
# ------------------------- |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
#!groovy | |
import groovy.json.JsonOutput | |
import groovy.json.JsonSlurper | |
/* | |
Please make sure to add the following environment variables: | |
HEROKU_PREVIEW=<your heroku preview app> | |
HEROKU_PREPRODUCTION=<your heroku pre-production app> | |
HEROKU_PRODUCTION=<your heroku production app> |
INTRO | |
I get asked regularly for good resources on AWS security. This gist collects some of these resources (docs, blogs, talks, open source tools, etc.). Feel free to suggest and contribute. | |
Short Link: http://tiny.cc/awssecurity | |
Official AWS Security Resources | |
* Security Blog - http://blogs.aws.amazon.com/security/ | |
* Security Advisories - http://aws.amazon.com/security/security-bulletins/ | |
* Security Whitepaper (AWS Security Processes/Practices) - http://media.amazonwebservices.com/pdf/AWS_Security_Whitepaper.pdf | |
* Security Best Practices Whitepaper - http://media.amazonwebservices.com/AWS_Security_Best_Practices.pdf |
https://photos.google.com/share/AF1QipN7xLKIoUoPA7lOLBdtmYhVD1X8K1w-KBUhvoOY1bo7VxLsElM6G36907mVFe-jzw?key=Q0FFb0FRUk51dm54NlR0V0dXQWx1REktNmpSWXp3 | |
https://photos.google.com/share/AF1QipNjH5u8LC8JfzbFrlR2uVlDeOIQamHLXiwA6-_QxjK_JPdJhyZzbIfVua0RNHTbIA?key=azVNa2xuR2NvNzNiWHc3dlJNbV90TGVEZlNtSUVn | |
https://photos.google.com/share/AF1QipNClN5jE5yv0dDghz8S5ArOwWQvb_uQWemX4T3tYhX2zWNYfFbp0hUsGTORyI5VmA?key=ZXVvbVRKc2t4TU4zODRvSVI4UFZqbGJWU01YQ1hB | |
https://photos.google.com/share/AF1QipNBb1R1oJ1FzM9y4TBGcRld6zY9cjKk00cL2qP9y3dsgnhncFvzcBVXTXBtlkxeEw?key=aFNZZHpOUGdBRTlPN1pRWmlFVnFWMkc5SUZTQ0tn | |
https://photos.google.com/share/AF1QipMp56Yhx1jJuA9NJt1vgnFeAHGDYMPsbqoZc5o9lYithGBBNWG6wy9WQfleoyhRow?key=SGRCblNrYTNOc1o2czR2Y1J6ZXZfYlRPTC1LbmNR |
consul-registrator: | |
log_driver: '' | |
labels: | |
io.rancher.sidekicks: consul,consul-data | |
io.rancher.scheduler.global: 'true' | |
io.rancher.container.pull_image: always | |
io.rancher.container.hostname_override: container_name | |
tty: true | |
restart: always | |
command: |
# Elasticsearch Cheatsheet - an overview of commonly used Elasticsearch API commands | |
# cat paths | |
/_cat/allocation | |
/_cat/shards | |
/_cat/shards/{index} | |
/_cat/master | |
/_cat/nodes | |
/_cat/indices | |
/_cat/indices/{index} |
My Elasticsearch cheatsheet with example usage via rest api (still a work-in-progress)
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"