> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmo/solution/glance-image-sharing-across-different-regions.md).

# Glance image sharing across different regions

## Problem

If you want to share an image with other regions.

## Environment

* Platform9 Managed OpenStack - v4.0 and Higher

Two regions with a different set of glance nodes.

## Procedure

1. Save the image on the host from First region.

{% tabs %}
{% tab title="Save source image" %}

```javascript
$ openstack image save <image-id> --file <output-location>
```

{% endtab %}
{% endtabs %}

```
  2.  Copy the image(s) using `SCP` to the /tmp directory of the target region's glance hosts. 

  3. There are three ways to add an image file to the Glance image repository in Platform9 Managed OpenStack:
```

* *Copy an image file into the repository directory*\_**.**\_ The supporting pf9-imagelibrary service will detect the new file, calculate Glance metadata for it, and add it to Glance.
* *Upload an image using the Glance command line client* (or through some other REST client).
* *Create an image as a snapshot* of a virtual machine disk or Cinder volume.

4. Here, we will see "Copy an image file into the repository directory" method. Please copy/move the images from "/tmp"to the watch folder by default it is "/var/opt/pf9/imagelibrary/data" which can changed by administrator as needed, and they will be automatically imported into your Glance Image Catalog.

**Note** related to Image Permissions: Your image files must have the right permissions - world-readable or readable to `pf9` user and `pf9group` group. You can use the following command on the image file:

`chown pf9:pf9group <image-file-name>`

With above method you will start observing the image in another region.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://platform9.com/kb/pmo/solution/glance-image-sharing-across-different-regions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
