Deploy AIStor as a Container

This section documents steps for running AIStor as a container.

Procedure

  1. Pull the latest stable image of AIStor Server

  2. Create the directory structure

    Create directories for data and certificates. The following example uses $HOME/minio as the base path.

    mkdir -p $HOME/minio/data $HOME/minio/certs
    

    Later steps mount these directories to standard Linux paths in the container.

  3. Retrieve your license file

    AIStor requires a license to run. You can use an existing license, such as one from SUBNET, or you can request a new MinIO AIStor Free Tier license.

    To request a new MinIO AIStor Free Tier license, go to the AIStor pricing page and select Get Started under the Free tier to obtain a free license. The free tier license allows you to run AIStor on a single compute resource with one or more drives.

    Download the license file to $HOME/minio/minio.license for use in later steps.

    Free tier licenses do not include support. For support options, see the AIStor pricing page. For more information about licenses, see Licenses.
  4. (Optional) Set up TLS

    If you need TLS for your deployment, configure it before starting the server. See Set up network encryption for instructions.

  5. Run the AIStor Server in a container

    The following examples mount the local directories to standard Linux paths in the container:

    • $HOME/minio/data to /mnt/data for object storage
    • $HOME/minio/minio.license to /minio.license for the license file
    • $HOME/minio/certs to /etc/minio/certs for TLS certificates (if configured)

    The output of the logs command includes the startup message from the AIStor Server. To access the server, use the localhost or 127.0.0.1 address on your local host machine.

  6. Connect to the deployment

    You can connect to the deployment using the built-in AIStor Server console in a browser, by using the MinIO mc command-line tool, or by using an S3-compatible SDK: