Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am grzegorzwild on github.
  • I am szamrok (https://keybase.io/szamrok) on keybase.
  • I have a public key ASCXiW90ycSgUF9lRU9HxUIsW1PnWrT1iYfKjf1bpxIyCwo

To claim this, I am signing this object:

@GrzegorzWild
GrzegorzWild / gist:fca866a2b3e1308eea235cc9e44145a3
Created June 17, 2016 15:36
Elasticsearch routing allocation exclude ip
curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" :{
"cluster.routing.allocation.exclude._ip" : "<IP Address>"
}
}'
{
"Version": "2012-10-17",
"Id": "Policy1465902535762",
"Statement": [
{
"Sid": "Stmt1465902533353",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::054676820928:root"
},