aws route53 create-hosted-zone --name cluster.example.org --caller-reference 98
Remember to setup the ns records in the parent domain (example.org)
cluster.example.org
NS
to NS1, NS2, NS3, NS4 etc
test DNS
dig NS cluster.example.org
This is where kops will store state
aws s3 mb s3://cluster.example.org
export the location of the bucket for the kops tool
export KOPS_STATE_STORE=s3://cluster.example.org
creates the definition of the cluster and stores it in the state store (s3 above)
kops create cluster --zones=ap-northeast-1a cluster.example.org
list clusters, edit this cluster etc :
kops get cluster
kops edit cluster cluster.example.org
kops edit ig --name=cluster.example.org nodes
kops edit ig --name=cluster.example.org master-ap-northeast-2a
Finally actually run / provision your cluster with:
kops update cluster cluster.example.org
kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml
kubectl proxy
Delete Cluster and Remove bucket
kops delete cluster cluster.example.org
aws s3 rb s3://cluster.example.org