Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Easy Heading Free
navigationTitleOn this Page
wrapNavigationTexttrue
navigationExpandOptionexpand-all-by-default

Warning

Installing Aspire with this approach is NOT production recommended, though it can be used as an accelerator for production deployments

Prerequistes

  • Docker 20.10.X and up
    • If using MacOS or Windows, install Docker Desktop
  • Resources for MacOS/Windows Docker Desktop
    • Docker Desktop → Preferences → Resources → Advanced
      • 2 CPUs
      • 8 GB Memory
  • A valid Aspire account and Aspire 5 License (see Aspire Registration and Licensing)
  • Download aspire-quickstart.zip

Installation Process

  1. Unzip the aspire-quickstart.zip file
  2. (If MacOS or Windows) Install Docker Desktop from Official Site
    1. Set the resources for Docker Desktop as to at least 2 CPUs, 8 GB Memory, 1 GB Swap (at Preferences → Resources → Advanced)
    2. Enable file sharing on the unziped aspire-quickstart folder (at Preferences → Resources → File Sharing)
  3. Open a command line terminal and Login to artifactory docker registry:

    Code Block
    languagebash
    $ docker login docker.repository.sca.accenture.com

    You will be prompted for your credentials (registered email and password)

    If you can't remember the credentials write to [email protected], these would be shared with you when you request the Account and License. This step is required so Docker can download the official images of Aspire.
  4. Copy your AspireLicense.lic to aspire-quickstart/config/
    1. Only Aspire 5 Licenses are valid
  5. Execute installation script from command line terminal:
    1. install-quickstart.sh if MacOS or Linux
      1. On Linux before executing the script, give it execution permissions: chmod +x install-quickstart.sh
    2. install-quickstart.bat if Windows
  6. Wait until all containers have started:

Info

It may take several minutes for Aspire to download all the required components and start.

Now you should be able to access aspire at: https://localhost:50443/

Login with admin1 / 123456abC

Happy crawling with Aspire5!

Accessing using browser

The quickstart installation script does not make use of real HTTPS certificates, rather it creates and self-sign one for each service, as it was designed to provide a DEMO installation only. Do NOT expose these services publicly or use them in production environments.

Many web browsers don't allow opening sites with untrusted certificates, we recommend using Firefox or Chrome to interact with the services, you will be warned by it that you are about a "Potencial Security Risk" which is expected due to the untrusted nature of these certificates, just click on Accept the Risk And Continue.



If using Chrome in Mac, open chrome using the following command line command:

Code Block
languagebash
themeMidnight
Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors --ignore-urlfetcher-cert-requests &> /dev/null



Untrusted certificates warning


After "Accepting the Risk and Continue"


Uninstall quickstart containers

  1. Execute uninstall-quickstart.sh if MacOS or Linux
    1. uninstall-quickstart.bat if Windows

What have been installed with these scripts?

The current quickstart guide installs the following containers:

Want to know more about the quickstart?

The current quickstart scripts execute the following steps in order:

  1. Creates docker volumes for persistent storage (elasticsearch indexes, ssl certificates, ldap directory) and network for all the containers to communicate to each other
  2. Generates self-signed certificates and CA for elasticsearch, kibana and aspire nodes (see generate-ssl.[sh/bat])
    1. Copies the certificates to the docker volumes previously created
    2. If you want to do this for an on-premise installation follow Enable HTTPS
  3. Starts elasticsearch and kibana
    1. The elasticsearch/docker-compose.yml contains a service that runs once to upload the Kibana Dashboard at elasticsearch/export.ndjson
    2. Uses the certificate docker volumes to obtain and configure the certificates
  4. Uploading of settings and AspireLicense to elasticsearch (see update-settings-license.[sh/bat]
    1. Uses the same aspire docker image to do it, the same env properties are provided for the elasticsearch authentication and SSL certificate trusting.
  5. Starts the LDAP service
    1. Copies the ldif folder with pre-loaded configuration into the ldap directory docker volume
    2. Starts the ldap/docker-compose.yml
  6. Starts aspire service using aspire/docker-compose.yml

All docker containers share the same environment variables at the .env file, this is not recommended for production deployments, but simplifies the management of variables for the quickstart scripts.