Using Artifactory 6.x ?
JFrog Artifactory 6.x User Guide
Still using Artifactory 4.x ?
JFrog Artifactory 4.x User Guide
Have a question? Want to report an issue? Contact JFrog support
From version 4.6, Artifactory fully supports Google Cloud Storage (GCS) so your Artifactory filestore can reside on the cloud. This presents several benefits:
Support for GCS is included with JFrog Enterprise Edition.
Backup your system.
If you already have a running installation of Artifactory, then before you setup Artifactory to use GCS and migrate your filestore to the cloud, we strongly recommend that you do a complete system backup.
First time installation or upgrade
If you are moving your filestore to GCS in the context of upgrading Artifactory, or a first time installation, we recommend that you first do a standard installation of Artifactory using the default settings, or a standard upgrade using your current settings.
In order to move your Artifactory filestore to the cloud, you need to execute the following steps:
To use Artifactory's support for GCS, you need to have an enterprise license with your Artifactory installation.
To do so, make sure your
$ARTIFACTORY_HOME/etc/artifactory.lic file contains your enterprise license.
To configure Artifactory to use a GCS object storage provider, you need to use the Google Cloud Storage binary provider described in Configuring the Filestore making sure to set the following parameters:
Artifactory uses the JetS3t framework to access GCS. Some of the parameters below are used to set the corresponding value in the framework. For more details, please refer to the JetS3t Configuration Guide.
When true, the Artifactory uploads and downloads a file when starting up to verify that the connection to the cloud storage provider is fully functional.
Default: 100,000,000 bytes
File size threshold over which file uploads are chunked and multi-threaded.
Your cloud storage provider identity.
Your cloud storage provider authentication credential.
Your globally unique bucket name on GCS.
|The relative path to your files within the bucket|
|Corresponding parameters if you are accessing the cloud storage provider through a proxy server.|
The port number through which you want to access GCS. You should only use the default value unless you need to contact a different endpoint for testing purposes.
The GCS hostname. You should only use the default value unless you need to contact a different endpoint for testing purposes.
Set to true if you only want to access GCS through a secure https connection.
The port number through which you want to access GCS securely through https. You should only use the default value unless you need to contact a different endpoint for testing purposes.
Default: false. Only available on google-storage.
When true, it indicates to the binary provider that a bucket already exists in Google Cloud Storage and therefore does not need to be created.
The following snippet shows the default chain that uses google-storage as the binary provider:
The Interoperability API lets you use HMAC authentication and lets GCS interoperate with tools written for other cloud storage systems. To use GCS, you need to turn on this API and use interoperability access details of the current user in GCS. This API is enabled per project member, not per project. Each member can set a default project and maintain their own access keys. For more details, please refer to Google Cloud Storage Interoperability.
You can obtain your access key parameters through your Google GCS account console and set them into the corresponding parameters in Artifactory as follows:
|This parameter is provided by GCS as your access key|
|This parameter is provided by GCS as your access secret|
Keep your database settings
Make sure you don't change your database settings in your
To migrate your filestore, you need to execute the following steps:
$ARTIFACTORY_HOME/data/filestoredirectory to your GCS bucket name and path specified when you configured Artifactory to use GCS.