# Where can we get the repository-s3 Zip file for offline installs?

**URL:** <https://forum.opensearch.org/t/where-can-we-get-the-repository-s3-zip-file-for-offline-installs/11293>\
**Category:** OpenSearch\
**Created:** [October 20, 2022, 7:18pm UTC](https://forum.opensearch.org/t/where-can-we-get-the-repository-s3-zip-file-for-offline-installs/11293 "2022-10-20T19:18:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![macatak](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@macatak](https://forum.opensearch.org/u/macatak)\
**Post date:** [October 20, 2022, 7:18pm UTC](https://forum.opensearch.org/t/where-can-we-get-the-repository-s3-zip-file-for-offline-installs/11293/1 "2022-10-20T19:18:15Z")

</div>

We can’t find the S3 zip file for offline installs. We found this page:  
[https://repo1.maven.org/maven2/org/opensearch/plugin/](https://repo1.maven.org/maven2/org/opensearch/plugin/)  
… which lists the s3 plugin but it does not have a zip file. Is there a way to take all those jar files and just make them a zip?

TIA

---

<div class="post-metadata">

**Author:** ![nico007](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@nico007](https://forum.opensearch.org/u/nico007)\
**Post date:** [October 24, 2022, 7:21pm UTC](https://forum.opensearch.org/t/where-can-we-get-the-repository-s3-zip-file-for-offline-installs/11293/2 "2022-10-24T19:21:11Z")

</div>

> **[OpenSearch plugin zips now in Maven repo](https://opensearch.org/blog/technical-post/2022/08/opensearch-plugin-zips-now-in-maven-repo/)**
>
> Details on how to consume OpenSearch plugin zips from a Maven repo and the process involved in shipping them to a Maven repo.

@Prudhvi Godithi

Same issue, the plugins should be in zip format for offline installs, according to the link above  
[https://repo1.maven.org/maven2/org/opensearch/plugin/repository-s3/2.3.0/](https://repo1.maven.org/maven2/org/opensearch/plugin/repository-s3/2.3.0/)  
but seems only the plugins that come with Opensearch distribution are in zip format

Hope someone from OS group can answer this

---

<div class="post-metadata">

**Author:** ![macatak](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@macatak](https://forum.opensearch.org/u/macatak)\
**Post date:** [October 27, 2022, 7:12pm UTC](https://forum.opensearch.org/t/where-can-we-get-the-repository-s3-zip-file-for-offline-installs/11293/3 "2022-10-27T19:12:49Z")

</div>

Nobody answered this so we went with a work around. For anyone else facing this type of issue here’s what we did and it seems to work:

Do a plugin install on a system that has access.  
Copy the S3 folders in /plugins and /config (you need both folders) from that system  
Copy those folders to their respective folders on the offline systems  
Restart the service

HTH

---

<div class="post-metadata">

**Author:** ![rabi](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@rabi](https://forum.opensearch.org/u/rabi)\
**Post date:** [November 20, 2022, 7:13am UTC](https://forum.opensearch.org/t/where-can-we-get-the-repository-s3-zip-file-for-offline-installs/11293/4 "2022-11-20T07:13:31Z")

</div>

Apologies for the late response - you can find plugin zips in the artifacts repository e.g. the `repository-s3` plugin version `2.4.0` is at `https://artifacts.opensearch.org/releases/plugins/repository-s3/2.4.0/repository-s3-2.4.0.zip`

Simply substitute the plugin id and version for other combinations.

---

<div class="post-metadata">

**Author:** ![ansopensearch](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ansopensearch](https://forum.opensearch.org/u/ansopensearch)\
**Post date:** [February 6, 2024, 10:48am UTC](https://forum.opensearch.org/t/where-can-we-get-the-repository-s3-zip-file-for-offline-installs/11293/5 "2024-02-06T10:48:07Z")

</div>

Hi All,

I am using Localstack to set up AWS environment in my Test project (Java-maven) and creating an S3 bucket. Also I have installed repository-s3 on the localstack container as well.  
Also, I am using OpenSearch Highlevel client using Opensearch Docker  
(DockerImageName DOCKER\_IMAGE\_NAME = DockerImageName  
.parse(“opensearchproject/opensearch”)  
.withTag(“2.9.0”)😉  
to create a repository of type S3 as below

String repositoryName = “newsflo-opensearch-snapshot”;  
PutRepositoryRequest request = new PutRepositoryRequest(repositoryName);  
request.type(“s3”);  
request.settings(Settings.builder()  
.put(“bucket”, bucketName)  
.build());

```
    AcknowledgedResponse response = null;
    try {
        response = openSearchClient.snapshot().createRepository(request, RequestOptions.DEFAULT);
    } catch (IOException e) {
        throw new RuntimeException(e);
    }

```

I get the error as below

OpenSearchStatusException[OpenSearch exception [type=repository\_exception, reason=[newsflo-opensearch-snapshot] repository type [s3] does not exist]]

Could anyone please help me to create repository of type s3 ? Am i missing anything please help
