OpenStack Swift is a highly-available, distributed object store that you can use for storing all sorts of files, such as media, backups and archives.
Swift comes with many interesting features and capabilities, one of which is is the ability to sync the contents of one container to another container, either within the same cluster or a completely different cluster. On the surface, it looks like a simple feature, but has interesting implications.
Let’s talk about how you can use this simple feature to sync or migrate your data from one cloud to another.
Say you have a private Swift Cluster in your East Coast data center. Since Swift is multi-tenant, you can sync the container of one account to a container on another account, or you can migrate a container to a completely different account.
For example, suppose you have another private Swift cluster, say, in a West Coast data center. Although Swift stores multiple copies of data (three copies by default) in different zones; if your entire East Coast data center is down, you can still lose access to the data for prolonged periods of time. If you really want to ensure that your data survives a data center outage, you can mirror the containers from the East Coast data center to the West Coast data center. This is especially useful when your data is sensitive and you cannot allow it to reside outside of your own data centers.
If, however, you want geographic redundancy for non-sensitive data in your private Swift cloud, you can configure the containers to sync to Rackspace Cloud Files.
By syncing your data to Cloud Files, your data will be served from a different geographical location when your primary data center goes down. In addition, you can enable features like a content delivery network (CDN), so you can serve your data globally at blazing speeds.
Please refer to the container-sync article for details on how it works and how you can take advantage of it.
As more Swift clusters are built around the world in both public and private clouds, container-sync provides an easy way to mirror or migrate data between two independent Swift clusters.
This illustrates the power of open source and having all of your clouds speak to the same open standards; and it’s just the beginning.