Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.34 KB

azure_blobs_setup.md

File metadata and controls

35 lines (24 loc) · 1.34 KB

Azure Blob Storage setup

Storage account

Create a new storage account or use an existing one which will be used to store the backups. Ideally, do not enable public access. Under the Settings, find Access keys. Note the storageaccountname and Key. Create a file called medusa-azure-credentials in the following format:

{
    "storage_account": "YOUR_STORAGE_ACCOUNT_NAME",
    "key": "YOUR_KEY"
}

Place this file on all Apache Cassandra™ nodes running medusa under /etc/medusa/and set the rights appropriately so that only users running Medusa can read/modify it.

Create a container

Create a new container in your storage account that will be used to store the backups and do not enable public access.

Configuring Medusa

Set the key_file value in the [storage] section of /etc/medusa/medusa.ini to the credentials file and set the bucket name as shown below:

bucket_name = your_container_name
key_file = /etc/medusa/medusa-azure-credentials

Medusa should now be able to access the bucket and perform all required operations.

If you need to set a different host for Azure (for example the host for Azure Gov is <storageAccount>.blob.core.usgovcloudapi.net), please use the host parameter in the [storage] section of /etc/medusa/medusa.ini:

"host": "usgovcloudapi.net"