Using StorageManager With IAM Role
MariaDB ColumnStore StorageManager can authenticate to S3 via an AWS IAM role attached to the EC2 instance, removing credentials from storagemanager.cnf; from ColumnStore 5.5.2.
AWS IAM Role Configuration
Sample Configuration
[ObjectStorage]
service = S3
object_size = 5M
metadata_path = /var/lib/columnstore/storagemanager/metadata
journal_path = /var/lib/columnstore/storagemanager/journal
max_concurrent_downloads = 21
max_concurrent_uploads = 21
common_prefix_depth = 3
[S3]
ec2_iam_mode=enabled
bucket = my_mcs_bucket
region = us-west-2
endpoint = s3.us-west-2.amazonaws.com
[LocalStorage]
path = /var/lib/columnstore/storagemanager/fake-cloud
fake_latency = n
max_latency = 50000
[Cache]
cache_size = 2g
path = /var/lib/columnstore/storagemanager/cacheLast updated
Was this helpful?

