Django with Ubuntu Cloud

47 views
Skip to first unread message

Vibhu Rishi

unread,
Jan 31, 2014, 1:56:06 AM1/31/14
to django...@googlegroups.com
Hi,

Has anyone setup Django with Ubuntu Cloud ?

My primary interest is how to setup the media server. I am primarily using Heroku for the hosting of the project, but that does not provide hosting for the static / user uploaded files. So, I am looking at what alternatives I have. There are a lot of suggestions to use AWS. I also came across ubuntu cloud - but havent gotten much details if i can use it with ubuntu.

Thanks for your insights!
V.

--
Simplicity is the ultimate sophistication. - Leonardo da Vinci
Life is really simple, but we insist on making it complicated. - Confucius

Russell Keith-Magee

unread,
Jan 31, 2014, 2:12:11 AM1/31/14
to Django Users
Hi Vibhu,

Everything I know about Ubuntu Cloud I learned from their homepage in the last couple of minutes --  but that website seems to suggest that Ubuntu Cloud is based on OpenStack. OpenStack is a generic API for cloud computing that is shared by a number of providers (most notably Rackspace, but there are others), so if Ubuntu Cloud uses OpenStack, then you just need to look for libraries that support OpenStack, and you should be able to use those libraries on Ubuntu Cloud.

If you're looking for an alternative to S3, then you want OpenStack Swift. There are Python libraries to talk to Swift stores, and there are Django file storage backends that will use Swift as well. 

Yours,
Russ Magee %-)
 




--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPiONwmd9h%2Bcwb1SYseYeiijag4Aa5weeMtg_eqiDgh7txVOKg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Me Sulphur

unread,
Jan 31, 2014, 2:17:36 AM1/31/14
to django...@googlegroups.com
Django is a fairly flexible web framework. See read more about STATIC and MEDIA files in Django. The Ubuntu cloud API is documented here https://one.ubuntu.com/developer/files/store_files/cloud, you can interact with it using libraries like requests.

https://docs.djangoproject.com/en/dev/howto/static-files/

Andreas Kuhne

unread,
Jan 31, 2014, 3:12:03 AM1/31/14
to django...@googlegroups.com
Hi,

Why not use S3 for storage? Then you can still keep heroku and don't have to make vast changes to your setup?

Regards,

Andréas


2014-01-31 Vibhu Rishi <vibhu...@gmail.com>:

--

Vibhu Rishi

unread,
Jan 31, 2014, 10:28:42 AM1/31/14
to django-users@googlegroups com

It requires a CC for sign up - even for the free mode. Can't use mine here and I don't want to get another CC.

V.

Vibhu Rishi

unread,
Jan 31, 2014, 10:29:36 AM1/31/14
to django-users@googlegroups com

So - I can use Ubuntu One ( which seems to be like Drop box if I understand it correctly ) as a media file storage?

V.

On Jan 31, 2014 12:47 PM, "Me Sulphur" <mesu...@gmail.com> wrote:
Django is a fairly flexible web framework. See read more about STATIC and MEDIA files in Django. The Ubuntu cloud API is documented here https://one.ubuntu.com/developer/files/store_files/cloud, you can interact with it using libraries like requests.

https://docs.djangoproject.com/en/dev/howto/static-files/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

Vibhu Rishi

unread,
Jan 31, 2014, 10:30:02 AM1/31/14
to django-users@googlegroups com

Me Sulphur

unread,
Jan 31, 2014, 12:15:45 PM1/31/14
to django...@googlegroups.com
So - I can use Ubuntu One ( which seems to be like Drop box if I understand it correctly ) as a media file storage?

Indeed you UO is like DB and you can use their APIs to programatically PUT and/or GET files on their system.


Reply all
Reply to author
Forward
0 new messages