PHPackages                             servd/craft-remote-assets - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. servd/craft-remote-assets

ActiveCraft-plugin[File &amp; Storage](/categories/file-storage)

servd/craft-remote-assets
=========================

Move CP assets to an external filesystem such as S3

0.1.7(7y ago)1215.8k6[2 issues](https://github.com/servdhost/craft-remote-assets/issues)[1 PRs](https://github.com/servdhost/craft-remote-assets/pulls)MITPHPCI failing

Since Jun 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/servdhost/craft-remote-assets)[ Packagist](https://packagist.org/packages/servd/craft-remote-assets)[ RSS](/packages/servd-craft-remote-assets/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Craft Remote Assets plugin for Craft CMS 3.x
============================================

[](#craft-remote-assets-plugin-for-craft-cms-3x)

Move CP assets to an external filesystem such as S3

Props to [yii-cdn-asset-management-library](https://github.com/2amigos/yii-cdn-asset-management-library)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require servd/craft-remote-assets

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Craft Remote Assets.

Craft Remote Assets Overview
----------------------------

[](#craft-remote-assets-overview)

In a load balanced environment with multiple PHP servers you can't serve Yii bundles or thumbnails from the local file system. This plugin publishes CP bundles and asset thumbnails to S3 instead. Tested in a multi-PHP, single nginx K8s cluster with no volume mounts.

Configuring Craft Remote Assets
-------------------------------

[](#configuring-craft-remote-assets)

Create a file at `config/craft-remote-assets.php` which looks like this:

```
