Elastic Cloud Enterprise Install - Steps I followed


(Wayne Taylor) #1

Hi All,

I tried to follow some steps as documented here: https://www.elastic.co/downloads/enterprise and noticed a few issues. So documented my steps here. Hope this helps others

This was executed on an EC2 with Canonical, Ubuntu, 16.04 LTS

Install Docker IO
sudo apt install docker.io -y

Add a user
sudo adduser elastic

Add user to docker group
sudo usermod -aG docker elastic

Create mnt point for data
sudo mkdir -p /mnt/data

Chown the mnt point for Elastic user:
sudo chown -R elastic:elastic /mnt/data

Set Max Map Count - Install will fail without it:
sudo sysctl -w vm.max_map_count=262144

Run the install:
bash <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) install


(Mark Walkom) #2

Can you elaborate on these issues, is it just the map count you had problems with?


(Wayne Taylor) #3

Hi Mark,

The one page installation instructions misses the following

  1. Creation of a user that isn't in wheel group for example
  2. Creation of the mnt point folder and ensuring the user has appropriate permissions
  3. Ensuring new user is part of docker group.

(Taha Derouiche) #4

Hi Wayne,

Instructions #1 and #3 are in the page of prerequisites and #2 is in prepare your environment.
As there are a lots of prerequisites and steps, these were broken in multiple pages. Let me know if that answers your concerns?


(Wayne Taylor) #5

Hi @tahaderouiche - they do. Now I feel silly and obviously missed the hyperlinks etc.

After readings the docs anyway i see there is a pre-setup AMI and will use that going forward.


(Taha Derouiche) #6

Happy to see that this is working for you. AWS AMI will make the getting started experience smoother.
Just make sure your attached storage is xfs formatted (in case it is not by default) .

Taha


(system) #7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.