curl -u 5mbg6d3afjt3:hellohello123 -XGET --insecure https://localhost:9200/5mbg6d3afjt3-wdehh
./securityadmin.sh -cacert ../../../config/root-ca.pem -cert ../../../config/kirk.pem -key ../../../config/kirk-key.pem -cd /usr/share/opensearch/plugins/opensearch-security/securityconfig
curl -u admin:admin -XPUT https://localhost:9200/_snapshot/my-repository/<snapshot_id>
curl --insecure -u admin:admin https://<cluster_id>:9200/_snapshot/s3-snapshot-repo/<snapshot_id>/_restore -XPOST -H "content-tpe:application/json" -d '{"indices": "-.opendistro_security",}'
./securityadmin.sh -backup mnt/backups \ -icl \ -nhnv \ -cacert ../../../config/root-ca.pem \ -cert ../../../config/kirk.pem \ -key ../../../config/kirk-key.pem
./securityadmin.sh -h /a69a0b2d3d6f5487aadbe726ddccc1cc-e5103ff1aff7c993.elb.us-east-1.amazonaws.com,,,-p 9301 -cd /etc/backups/ -ts ... -tspass ... -ks ... -kspass ...
1. Create the s3 bucket to store the state data of the cluster, lets name it “opensearch-kube-state-store” for the example. In your case it should be another (all s3 storages must have unique names)
3. Optional(create the route53 if you want to use the specific dns zone, we can use the gossip connection otherwise)
export NAME=opensearch.k8s.local
export KOPS_STATE_STORE="s3://opensearch-kube-state-store"
kops create cluster --zones=us-east-1a,us-east-1d --cloud=aws --master-size=t2.medium --name=${NAME}
git clone https://github.com/danyilp/opensearch-ku.git
cd opensearch-ku
kops update cluster --name ${NAME} --yes --admin
First of all delete the default nodes instance-group since we’ll be creating the cluster in the us-east it should look like
kops delete ig --name=${NAME} nodes-us-east-1a
kops create -f ig_master.yaml
kops create -f ig_data.yaml
kops update cluster --name ${NAME} --yes --admin
helm repo add opensearch https://opensearch-project.github.io/helm-charts/
helm repo update
helm install opensearch-master-us-east-1 opensearch/opensearch -f master.yaml
helm install opensearch-data-us-east-1 opensearch/opensearch -f data.yaml
kubectl get services opensearch-cluster-master-us-east-1