Skip to content

lithops_feature

Ruben S. Montero edited this page Jul 23, 2024 · 3 revisions

Features

This appliance comes with Lithops installed globally with pip3, following Lithops official install guide, including the following features:

  • Based on the latest Lithops release (v3.4.0) on Ubuntu 22.04 LTS
  • Configuration file in /etc/lithops/config
  • Default compute and storage backend: localhost
  • Supported additional storage backend: MinIO

Contextualization

The contextualization parameters (CONTEXT section) in the VM template controls the configuration of the service, see the table below

Parameter Default Description
ONEAPP_BACKEND localhost Lithops compute backend. Supported modes: localhost
ONEAPP_STORAGE localhost Lithops storage backend. Supported modes: localhost, minio
ONEAPP_MINIO_ENDPOINT MinIO storage backend endpoint URL. Mandatory if ONEAPP_STORAGE=minio
ONEAPP_MINIO_ACCESS_KEY_ID MinIO account user access key. Mandatory if ONEAPP_STORAGE=minio
ONEAPP_MINIO_SECRET_ACCESS_KEY MinIO account user secret access key. Mandatory if ONEAPP_STORAGE=minio
ONEAPP_MINIO_BUCKET MinIO existing bucket for Lithops. Lithops will automatically create a new one if it is not provided
ONEAPP_MINIO_ENDPOINT_CERT CA certificate for HTTPS connection with MinIO endpoint

MinIO Storage Backend

To configure MinIO as Storage Backend use the parameter ONEAPP_STORAGE=minio in conjunction with ONEAPP_MINIO_ENDPOINT, ONEAPP_MINIO_ACCESS_KEY_ID and ONEAPP_MINIO_SECRET_ACCESS_KEY. These parameters have to point to a valid and reachable MinIO server endpoint.

The parameter ONEAPP_MINIO_BUCKET is optional, and it points to a bucket in the MinIO server. If the bucket does not exist or if the parameter is empty, the MinIO server will generate a bucket automatically.

TLS MinIO backend

When using a MinIO backend with TLS enabled, with self-signed certificates, it is necessary to provide a valid CA certificate in ONEAPP_MINIO_ENDPOINT_CERT. Also note that the MinIO endpoint URL should match the certificate's subject alt name, and it may be needed to add the appropiate entry to the /etc/hosts file on the Lithops instance.