UPDATE 3/30/2022 - another update was made to make fleet deployments easier. This is explained on this post
The original post for the deploy-elastic.sh script is here. Made some updates so I thought I would post it on a new post.
- 8.x is now supported. You can use the script for any versions 6.x-8.x.
full- modes are removed. The script is additive so if you deploy only the stack and want to add features on top you can run it again with the feature you want to add. You can add multiple features to your stack.
- Starting stack 7.16.0 apm server is removed and moved to fleet
Matrix of all the features and versions that they work on
|elasticstack||*||*||*||9200 with SSL and 9201 without SSL(<8.0.0), 5601 with SSL|
|fleet||x||7.10.0+||*||8220 with SSL|
|enterprise search||x||7.7.0+||*||3002 without SSL|
|apm server||*||-7.16.0||x||8200 without SSL|
If you are running the script on your local machine you can open a browser to https://localhost:5601 to access kibana or user https://localhost:9200 to access the APIs. If you are running this on a remote machine please use https://remotemachinenameorip:5601 and https://remotemachinenameorip:9200
ca.crt that was used to sign all the certificates is located on
~/elasticstack/ca.crt and has localhost,127.0.0.1,containername as SAN for each certificate.