Migrate existing caches in a cloud store

If you have existing caches created using ArcGIS Enterprise on Windows or Linux, you can import them into ArcGIS Enterprise on Kubernetes using a cloud store cache directory by following the steps below.

  1. Copy your existing caches to your cloud object store (Amazon S3, Azure Blob store, Google Cloud store, Alibaba OSS) inside a folder named arcgiscache.

    Note:
    You can use APIs provided by your cloud provider to copy your caches to these object stores faster.

    Amazon S3 example:

    aws s3 cp myDir s3://mybucket/ --recursive
    

  2. Register the object store in your cloud as a cloud data store in ArcGIS Enterprise on Kubernetes.
  3. In ArcGIS Pro, publish a map service on ArcGIS Enterprise on Kubernetes using the same name as the cache content copied to the cloud store and select use existing cache.

The map service will now be able to render using the cache in the cloud store.

Note:

The Using an existing cache option searches for a disassociated cache with the same name and server folder as your web layer. A cache is disassociated from a service if the service was deleted or if the cache was copied to the cache directory. If an eligible cache is found on the server, it is used to draw the map image layer. The map name, spatial reference, and extent must match the cache for the layer to draw correctly.