Skip to content

Instantly share code, notes, and snippets.

@mrmrcoleman
Created January 24, 2017 11:38
Show Gist options
  • Save mrmrcoleman/28c0d12b3f52633ed297e74616e0a354 to your computer and use it in GitHub Desktop.
Save mrmrcoleman/28c0d12b3f52633ed297e74616e0a354 to your computer and use it in GitHub Desktop.
# Introducing Minio - Run your own S3 compatible object storage directly on Hyper.sh!
[Minio](https://www.minio.io/) is an open source, fully S3 compatible, object store that some of our users have been using already for a while.
At the same time however, we've had other users asking for exactly this sort of thing, unaware that Minio existed.
To address this problem we teamed up with the fine people Minio to explain a bit more about why people choose Minio, and to provide a few of reference Hyper Compose files.
## Why use Minio?
There are two main reasons why people have been using Minio on Hyper.sh:
1. Lower latency than pushing and pulling to and from Amazon's DC
2. More control over the configuration of the object store
## How to use Minio?
Minio helped us to create and test three reference Hyper Compose files for small, medium and large configurations*.
Small - [link](https://gist.github.com/harshavardhana/14b2a472d661446fe5b0f602bc61ac82#file-s4-compose-yml)
Medium - [link](https://gist.github.com/harshavardhana/14b2a472d661446fe5b0f602bc61ac82#file-m3-compose-yml)
Large - [link](https://gist.github.com/harshavardhana/14b2a472d661446fe5b0f602bc61ac82#file-l3-compose-yml)
> \* To increase or decrease the addressable storage space, see the commands below.,
First you need to create the storage volumes that Minio will use.
```
hyper volume create --name minio-disk-1 --size=50
hyper volume create --name minio-disk-2 --size=50
hyper volume create --name minio-disk-3 --size=50
hyper volume create --name minio-disk-4 --size=50
```
This will create 4 volumes which in this case are each 50GB in size which will be treated as a storage pool for Minio to use. After that it is as simple as saving one of the above three compose files locally and running:
```hyper compose up -f <YOUR COMPOSE FILE>```
## That's it!
With Minio it really is that simple, and we're very pleased to be working with them to bring this functionality to the Hyper.sh platform.
We are always looking for feedback.
- Does this solve a problem for you?
- Are there any tools that you think we should be working more closely with?
- Are there any features that you think are currently missing from Hyper.sh?
To let us know you can always contact us on the in-console support chat, or on [the forum](https://forum.hyper.sh/).
@gnawux
Copy link

gnawux commented Jan 25, 2017

Users need change the floating ip in the compose yaml files.

In this case, I think it would be useful if we could auto select an available fip for users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment