<p>You should use the bucket directory structure for the different asset types; you're right, they are all coming from the same source, really, so separete asset sources wouldn't be correct.</p>

<p>Another asset source would be simply another bucket, or another type of source such as Google Cloud or Rackspace.</p>

<p>You could have an asset source called <strong>Web S3 Assets</strong>, which connects to your bucket. </p>

<p>As an example, you could have these directories within that bucket for all the types of assets you need to store.</p>

<ul>
<li><code>&lt;bucket-url&gt;/images/icons/</code></li>
<li><code>&lt;bucket-url&gt;/images/illustrations/</code></li>
<li><code>&lt;bucket-url&gt;/images/screenshots/</code></li>
<li><code>&lt;bucket-url&gt;/videos/marketing/</code></li>
<li><code>&lt;bucket-url&gt;/videos/support/</code></li>
</ul>

<p>Use <a href="https://craftcms.com/docs/assets-fields" rel="nofollow noreferrer">Assets Fields</a> to force usage, upload restrictions on these directories.</p>

CC BY-SA 3.0
2017-12-08T18:50:42.360Z
2017-12-20T14:50:00.023Z
2017-12-20T14:50:00.023Z
Angelo
<p>If I have just one S3 bucket, should I still have multiple asset 'sources' in order to account for different asset types? Or should I just have multiple folders under single asset source to differentiate media types?</p>

<p>For example, I might have these folders under a single asset source:</p>

<ul>
<li>Illustrations/Icons</li>
<li>Marketing Images</li>
<li>Screenshots</li>
<li>Marketing Videos</li>
<li>Support Videos</li>
</ul>

<p>It just seems silly to add multiple asset 'sources' when the details are the same.</p>

<assets>
What's the purpose of multiple asset sources?
# What's the purpose of multiple asset sources?

(Asked by: username_0 on 2017-12-08)

If I have just one S3 bucket, should I still have multiple asset 'sources' in order to account for different asset types? Or should I just have multiple folders under single asset source to differentiate media types?

For example, I might have these folders under a single asset source:

* Illustrations/Icons
* Marketing Images
* Screenshots
* Marketing Videos
* Support Videos

It just seems silly to add multiple asset 'sources' when the details are the same.

**Tags:** assets

---

## 1 answers

### Answer by username_1 on 2017-12-08. Score: 2 | Accepted answer

You should use the bucket directory structure for the different asset types; you're right, they are all coming from the same source, really, so separete asset sources wouldn't be correct.

Another asset source would be simply another bucket, or another type of source such as Google Cloud or Rackspace.

You could have an asset source called **Web S3 Assets**, which connects to your bucket.

As an example, you could have these directories within that bucket for all the types of assets you need to store.

* `/images/icons/`
* `/images/illustrations/`
* `/images/screenshots/`
* `/videos/marketing/`
* `/videos/support/`

Use [Assets Fields](https://craftcms.com/docs/assets-fields) to force usage, upload restrictions on these directories.


---

