Data pull and private S3 buckets support available in Strapi v4.9
Tags: strapi, s3buckets
Published: 2023-03-30 08:56:12

Only two weeks after the release of [Strapi v4.8 which included custom roles and permissions (also known as RBAC) in the community edition](https://strapi.io/blog/custom-roles-and-permissions-available-for-free-in-strapi-v4-8), we're back with another release! This new version facilitates the transfer of your data between environments and allows you to configure secure private S3 buckets to store media. Read on to learn more!

## Transfer - pull data
We're on a mission to provide the best experience when it comes to managing the data of your Strapi projects. We released [data export & import](https://strapi.io/blog/announcing-strapi-v4.6) in Strapi v4.6, and [data transfer - push data](https://strapi.io/blog/announcing-strapi-v4.7) in Strapi v4.7, to give you the possibility to transfer your data to another Strapi project.

Now, with the transfer data - pull feature released in v4.9, you can transfer your data from another Strapi project. All this is made for you to manage your data without manually acting on the database: you just need to run one command from the CLI.

Data pull completes the transfer cycle, allowing you to transfer data from a remote environment to a local one. To perform this action, create a transfer token on the source project, defining the expiration time and the pull permission. Then launch the transfer command with the ---from option targeting the source project. Please have a look at the [documentation](https://docs.strapi.io/dev-docs/data-management/transfer) for more details.

With the data transfer functionality, you can synchronize local data with staging environment data (or vice versa), or the staging environment data to the production environment data, to bring alignment of content between two instances. No need to spend time and effort to act manually on the database!

This functionality also facilitates the deployment of your project on [Strapi Cloud](https://strapi.io/cloud). Have a look at this tutorial to learn how to do it.

<iframe width="560" height="315" src="https://www.youtube.com/embed/RmEUBS5wT10" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

## Private S3 buckets support
Strapi supports various providers for the media library, including [AWS S3.](https://market.strapi.io/providers/@strapi-provider-upload-aws-s3) With this integration, you can easily configure an S3 storage bucket for your app. However, it was not possible to use Private S3 buckets before, which was a blocker for many users who needed to comply with data privacy standards. To reinforce the security, we've improved this provider and from now on, it's also possible to configure Private S3 buckets.

This enhancement allows you to use private Amazon S3 buckets to add files and see those files or assets in the content manager. You can share links that appear on the Content Manager, and they will expire based on the signedUrlExpires configuration. If you want to switch your S3 bucket from public to private, it will still work for the media which were uploaded already. Please read the [documentation](https://docs.strapi.io/dev-docs/providers#creating-private-providers) for more details.

<iframe width="560" height="315" src="https://www.youtube.com/embed/5_PWzYpP0f0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

The support for[ private S3 provider](https://market.strapi.io/providers/@strapi-provider-upload-aws-s3) improves the media management experience for content editors who prefer to use S3 buckets privately by allowing them to upload and visualize assets securely while the content API returns secure and private asset URLs.
In the future, we plan to add support for other private storage providers. You can upvote the ones you'd like to see next on our [public roadmap](https://feedback.strapi.io/).

## New plugins on Strapi Market
The Strapi marketplace now lists more than 100 plugins, providers and custom fields. We thank all community members for contributing their work, allowing other Strapi users to easily extend their app.

 Here are the new plugins, available on the Strapi Market: 

-   [Timezone select](https://market.strapi.io/plugins/strapi-plugin-timezone-select) - a custom field for selecting any timezone based on the moment.js timezones.

-   [ChatGPT](https://market.strapi.io/plugins/strapi-chatgpt) by [@AsyncWeb](https://github.com/AsyncWeb) - integrate ChatGPT into your Strapi application. You get both a UI to interact with ChatGPT and an API end-points to integrate into your applications.

-   [Video custom field](https://market.strapi.io/plugins/@sklinet-strapi-plugin-video-field) by [@SKILNET](https://github.com/SKLINET) - allows you to preview, and add videos with external sources to your application.

-   [Open AI](https://market.strapi.io/plugins/@strapi-plugin-open-ai) - an official Strapi plugin that allows you to create Open AI completion from a prompt.

Get your plugin or provider listed on the [Strapi Market](https://strp.cc/3G1F33A) and showcase your work to more than 20,000 monthly visitors. Here are all the [resources](https://strp.cc/3Tlaetx) you need to create and promote a plugin or provider and the [submission form](https://strp.cc/3FXE8Ry) for listing it on the marketplace.

## Try Strapi v4.9 out now
To create a new Strapi v4.9 project, simply run the following command:
```
npx create-strapi-app my-project --quickstart
```
Follow the [Quick Start Guide](https://strp.cc/3ho246m) for detailed step-by-step instructions or have a look at a [video instruction](https://youtu.be/h9vETeRiulY).

We would love to hear what you think about the new features! Let us know in this forum thread.

## Other updates: 
-   [Strapi Cloud is live](https://strapi.io/blog/strapi-cloud-is-now-available)

-   Role-Based Access Control available in [Strapi v4.8](https://strapi.io/blog/announcing-strapi-v4.8)

-   Audit logs improvements, Data Transfer in [Strapi v4.7](https://strapi.io/blog/announcing-strapi-v4.7)

-   Relations and component reordering, data export & import, audit logs in [Strapi v4.6](https://strapi.io/blog/announcing-strapi-v4.6)

## Building Strapi together

Strapi is an open-source product that grows thanks to community support and contributions.

Here's how you can help us improve the product:

-   Contribute to the project on [Github](https://github.com/strapi/strapi/blob/master/CONTRIBUTING.md)

-   Share what features you'd love to have in our [public roadmap](https://strp.cc/3fQSZCK)

-   Create Strapi plugins and submit them to the [Strapi market](https://strp.cc/3G1F33A)

-   Showcase the projects you built in [Strapi Showcase](https://strp.cc/3hmKqjn) 

-   Join the [Strapi Cloud Beta program](https://strp.cc/3AnuoN1)

We appreciate each contribution and piece of feedback that you share. Stay tuned for more updates!