Memory Machine Cloud connector

MemVerge Memory Machine Cloud (MMCloud)—available on AWS, GCP, and AliCloud—empowers users to continuously optimize cloud resources during runtime, safely execute stateful tasks on spot instances, and monitor resource usage in real time. These capabilities make it an excellent fit for long-running batch workloads. Flyte can be integrated with MMCloud, allowing you to execute Flyte tasks using MMCloud.

Installation

To install the connector, run the following command:

$ pip install flytekitplugins-mmcloud

To get started with Memory Machine Cloud, see the Memory Machine Cloud user guide.

Example usage

For a usage example, see Memory Machine Cloud connector example usage.

Local testing

To test the MMCloud connector locally, create a class for the connector task that inherits from AsyncConnectorExecutorMixin. This mixin can handle asynchronous tasks and allows flytekit to mimic FlytePropeller’s behavior in calling the connector.

In some cases, you will need to store credentials in your local environment when testing locally.

Flyte deployment configuration

If you are using a managed deployment of Flyte, you will need to contact your deployment administrator to configure connectors in your deployment.

To enable the Memory Machine Cloud connector in your Flyte deployment, see the MMCloud connector setup guide.