CoreOS can seem daunting at first. This tutorial is built to encourage you in your journey and to demonstrate the power of this minimalistic operating system.
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
# ** List all indexes, all pretty-like | |
curl http://localhost:9200/_aliases?pretty=1 | |
# ** Create an index, with specified settings | |
# Sample settings shown here; creates an index named "wiki" | |
# with 8 shards. Also creates a mapping called "articles" | |
# which specifies the index type for its properties ("text", | |
# "url" and "title") as "not_analyzed". | |
# See https://www.elastic.co/guide/en/elasticsearch/guide/master/index-doc.html |
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
sed ':a;N;$!ba;s/\n/\\n/g' my_key.pem | |
or in vi | |
:%s/\n/\\n/ | |
https://tickets.opscode.com/browse/CHEF-3540 |
Unit files to deploy an ElasticSearch cluster on CoreOS via Fleet.
Service discovery & registration is done via etcd.
elasticsearch-discovery@.service provides a dumb discovery service by registering an elasticsearch host if it should be up. elasticsearch-intelligent-discovery@.service registers the service only if it is running.
A service & timer unit for elasticsearch curator is provided which does some housekeeping.
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings" : { | |
"RegionMap" : { | |
"ap-northeast-1" : { | |
"AMI" : "ami-19fba518" | |
}, |
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
This playbook has been removed as it is now very outdated. |