MLflow Free Service

Start using our free service by creating a bucket for MLflow artifacts in your AWS account and permitting our service to access the bucket.

Step 1: Create a Bucket

Use a instructive name such as for-mlflow-artifacts or some such. In the example on the right, we are using the bucket name for-testing-freeservice.

Please enable CORS access for the bucket as shown, otherwise artifact listing and previewing in the MLflow UI will not work.

To enable CORS support for the bucket, go to the AWS Console's S3 page, click on the bucket and choose the Permissions tab. Use the following policy to enable CORS support.

[    
  {        
    "AllowedHeaders": [            
      "*"        
    ],        
    "AllowedMethods": [            
      "GET"        
    ],        
    "AllowedOrigins": [            
      "*"        
    ],        
    "ExposeHeaders": [],           
    "MaxAgeSeconds": 3600    
  }
]

Step 2: Provide Permissions

There are two ways to provide permissions for our service to access your bucket of MLflow artifacts.

  1. Create an IAM Role for us to assume, and add an IAM Policy that provides permissions to access the bucket.

  2. Provide an AWS Access Key ID and AWS Secret Access Key.

Step 2a: Create an IAM Policy

This will provide read, write and list access to the above bucket.

Go to the IAM page of the AWS Console, and click on create policy. Use the json interface for entering the policy.

The policy that is suitable for this purpose is listed below. Replace for-testing-freeservice with your own bucketname in two places in the json.

Next, in the review page, provide an instructive name for the policy and create it. In this example, we have used the name access-for-testing-freeservice.

{
 "Version": "2012-10-17",
 "Statement": [
   {
     "Effect": "Allow",
     "Action": ["s3:ListBucket"],
     "Resource": ["arn:aws:s3:::for-testing-freeservice"]
   },
   {
     "Effect": "Allow",
     "Action": [
       "s3:PutObject",
       "s3:GetObject",
       "s3:DeleteObject"
     ],
     "Resource": ["arn:aws:s3:::for-testing-freeservice/*"]
   }
 ]
}

Step 2b: Create an IAM Role

The InfinStor service will assume this role.

In the IAM page, choose create role and click on Another AWS Account as shown below. Please use the AWS account ID 697756613082 and choose your own External ID (this is similar to a password).

In the next page, you will need to select the policy created in step 2, e.g. access-for-testing-freeservice.

Finally, provide a name for the role and create it.

Step 3: Create a free account

The new artifact URL, as well as policy or role, will be used to in the account creation process.

InfinStor MLflow Logo