Configuring AFM to cloud object storage to use Google cloud storage

You need to configure AFM to cloud object storage to use features of Google cloud storage.

The AFM to cloud object storage filesets can be configured to communicate to the Google Cloud Object Storage by specifying -gcs option when you create the fileset. For more information about AFM to cloud object storage configuration, see Configuring AFM to cloud object storage.

Do the following steps to create a fileset:

  1. Create a bucket at the Google Cloud Object Storage server.
    For example, 'bkt1' is the name of the bucket.
  2. Setup access key and secret key with AFM.
    mmafmcoskeys bkt1:us-west2@storage.googleapis.com set <access_key> <secret_key>
  3. Create AFM to cloud object storage fileset by specifying the -gcs option.
    mmafmcosconfig fs1 afmfset1 --endpoint https://us-west2@storage.googleapis.com --object-fs --xattr  --bucket bkt1 --mode sw --acls --gcs
  4. Start the application inside AFM to cloud object storage.