You can use swift as a backend for Glance. This would put the base of your VM in object storage, but it would not allow persitent storage for the VM, only ephemeral.
If you want block storage based in object storage, look into [ceph](http://ceph.com/). Depending on who you ask, ceph is better than Swift since it has block AND object storage on the same backend (and a POSIX fs that is not production ready yet). Ceph has a full cinder driver and works extremly well. You can even use Ceph in place of Swift for an object storage endpoint for openstack, though it will not work as well as Swift in this regard.
-------
To enable swift as Glance backend, enable `glance-api.conf` config with the following:
default_store = swift
swift_store_create_container_on_put = True
swift_store_auth_address = http://keystoneurl:keystoneport/v2.0/
swift_store_user = glance:glance
swift_store_key = galnceswiftpassword
Make sure to adjust those urls and credentials to match your enviroment.
↧