Spotfire® Server and Environment - Installation and Administration

Configuring external library storage in AWS

You can configure external library storage in the cloud using Amazon Web Services S3 (AWS).

Before you begin

  • You must have administrative credentials for Spotfire Server.
  • You must have an Amazon S3 account.
  • You must have a bucket name. Every server database (or database cluster) should have its own bucket. (Items stored in S3 are identified by their data IDs. If different servers use the same bucket, importing files to Cluster B—when the files already exist in Cluster A—will overwrite the files in Cluster A.)

Procedure

  1. Back up the database.
  2. On the command line, export the library using the export-library-content command. (For details on using the Spotfire command line, see Executing commands on the command line.)
  3. Remove the content from the library.
    Note: Do not use the truncate command in the database because there are hidden folders that should not be removed.
  4. To enable external storage and select the type of external storage, use the command config-library-external-data-storage.
  5. To configure AWS storage, use the command config-library-external-s3-storage.
    Note: You can specify which AWS regional datacenter the server should connect to when using this command.
  6. Import the library using the import-library-content command.
    Note: The external library storage system uses the Spotfire library data IDs to identify files.

    For information on monitoring the external system, see Monitoring external library storage and fixing inconsistencies.