Just to not to create more noise with a few posts in this forum, we are going to continue answering in this case. Furthermore, my apologies because the system marked the other case as SPAM and we weren't able to see the case until you contacted us on Helpdesk.
About the plugin, you will need to install it using
sudo, with this command:
sudo /opt/bitnami/elasticsearch/bin/elasticsearch-plugin install repository-gcs
After install it, make sure you change the user/group of the folder of the plugin to
elasticsearch:elasticsearch, like this:
sudo chown -R elasticsearch:elasticsearch /opt/bitnami/elasticsearch/plugins/repository-gcs/
After that, you will be able to restart the services with
sudo /opt/bitnami/ctlscript.sh restart it worked for me without problems.
Now, regarding your questions:
Not sure how to log into this VM as bitnami user? Is password listed somewhere in GCP console?
Connecting to the instance with the SSH key will log you as the
bitnami user. Bitnami docs about that.
Most commands are documented to be run as sudo vs plugin install commands without sudo. Which is the preferred way?
The preferred way is to execute them without sudo permissions. We will revisit our docs to check what can we change (in the docs or in the application) to not to have to change the permissions of the plugin. Thank you so much for reporting.
Backup/Restore example works on a single node elasticsearch setup but doesn't work if you create a cluster of elasticsearch nodes in GCP as backup type "fs" is not shared between nodes. Google Cloud Storage and AWS S3 examples would help.
Our documents are intended to a single VM, not for a cluster of elasticsearch.
I hope this information is useful for you.
Thank you and best regards,
Was my answer helpful? Click on