Type to search.

Connect your local development cluster to AutoOps

Self-managed

Self-managed deployments are Elastic Stack deployments managed without the assistance of an orchestrator.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

If you have an Elasticsearch cluster set up for local development or testing, you can connect it to AutoOps using Docker.

Ensure your system meets the following requirements before proceeding:

Complete the following steps to connect your local development cluster to AutoOps.

  1. Run the following command in your terminal to open the /etc/hosts file in a text editor with administrator privileges:
Shell
vim /etc/hosts
  1. On a new line in the /etc/hosts file, add an entry to map the Elasticsearch cluster URL to the IP address representing the local development cluster.

    The entry should be formatted as 127.0.0.1 {{hostname}}.

  2. Save the changes.

  3. In your terminal, run the following command to reload the hostname service:

    • For Linux:
    Shell
    /bin/systemctl restart systemd-hostnamed
    
    • For macOS:
    Shell
    sudo dscacheutil -flushcache
    
  4. Follow the instructions to Connect to AutoOps with the following differences:

    • In the Select installation method step, select Docker.

    • In the Configure agent step, when prompted to enter your Elasticsearch endpoint URL, enter the name of your local development cluster or enter the following:

      Shell
      http://localhost:9200
      
    • In the Install agent step, paste the command into the text editor and replace docker run -d \ with:

      Shell
      docker run -d --network host \
      

      This replacement is also required if your cluster is running on macOS.

After completing all the steps, you can Access AutoOps.