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 GUIDs. 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
-
Back up the database.
-
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.)
-
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.
-
To enable external storage and select the type of external storage, use the command
config-library-external-data-storage.
-
To configure AWS storage, use the command
config-library-external-s3-storage.
Note: You can set the following options when using this command:
- Which AWS regional datacenter the server should connect to.
- Whether large files should be uploaded in chunks, and the details of this behavior.
-
Import the library using the
import-library-content command.