# Need a how-to guide for using DigitalOcean Block Storage for image uploads

**URL:** https://meta.discourse.org/t/need-a-how-to-guide-for-using-digitalocean-block-storage-for-image-uploads/49535
**Category:** Support
**Created:** [Setembro 1, 2016, 7:18am UTC](https://meta.discourse.org/t/need-a-how-to-guide-for-using-digitalocean-block-storage-for-image-uploads/49535 "2016-09-01T07:18:26Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [Setembro 2, 2016, 6:29pm UTC](https://meta.discourse.org/t/need-a-how-to-guide-for-using-digitalocean-block-storage-for-image-uploads/49535/10 "2016-09-02T18:29:31Z")

</div>

> [@sam](#):
>
> We need to determine performance before making recommendations.

The man makes a point. It appears to be less than 1/3 the speed on the simplest of benchmarks. (I checked and both the host and the storage are at SFO2.)

```plaintext
root#:dd if=/dev/zero of=/tmp/output conv=fdatasync bs=384k count=1k
1024+0 records in
1024+0 records out
402653184 bytes (403 MB, 384 MiB) copied, 0.590498 s, 682 MB/s
root#:dd if=/dev/zero of=/mnt/volume-sfo2-01/test conv=fdatasync bs=384k count=1k
1024+0 records in
1024+0 records out
402653184 bytes (403 MB, 384 MiB) copied, 1.99937 s, 201 MB/s

```

> [@sam](#):
>
> the recommendation would be to keep PG on local and images (both docker and pictures) on block storage. That would require a bit of fancy.

It seems to me that moving the images to the other storage is as simple as shutting down Discourse and

```plaintext
cd /var/discourse
./launcher stop app
cd /var/discourse/shared/standalone
mv uploads /mnt/volume-sfo2-01/uploads # script'd need to find this
ln -s /mnt/volume-sfo2-01/uploads .
cd -
./launcher start app

```

(Hey, @meglio, there’s your HOWTO 🙂)

Docker images don’t get that big if you purge them periodically, so don’t I understand why to bother moving them. What am I missing?

---

_[View the full topic](https://meta.discourse.org/t/need-a-how-to-guide-for-using-digitalocean-block-storage-for-image-uploads/49535)._
