Take your WordPress site to cloud with the help of Cloud Storage Engine (ClouSE)!
WordPress-To-Cloud solution makes it possible for WordPress blogs to store all their data like pages, images, files in Amazon S3 or Google Cloud Storage.
Now WordPress can seamlessly get all the benefits of cloud storage – high availability, high reliability, quick and easy disaster recovery, and serving content in a highly scalable fashion.
WP2Cloud plugin is designed to complete the migration of a WordPress site to cloud storage.
Cloud storage is awesome. It is highly- durable, reliable, available, and scalable; it has infinite capacity, it is the most mature and thus stable service – all of it on a Pay-For-What-You-Use pricing model.
Using cloud storage to store the website data has the following benefits:
- No backup and recovery of the site data is needed. More info is here.
- Storage is extremely reliable and durable by cloud storage design
- Pictures are served by cloud storage directly, which makes the website highly scalable
- Storage cost scales with usage, no upfront reservation is needed
- Storage consumption scales up and down with the amount of data stored.
WordPress-To-Cloud supports the following primary deployment choices:
- Take the whole website data to cloud storage.
- Only upload media files to cloud storage.
- Only migrate website content to cloud storage while store media files in uploads folder on Web server running WordPress.
As the best deployment practice we recommend moving to the cloud the whole website, both its content (that is stored in WordPress database) and media files.
Consider using our ready-to-run WordPress on Cloud Storage – Oblaksoft Yapixx, the 1st WordPress website on Amazon S3 as a starting point and a reference of such configuration. Refer to the complete WordPress on S3, WordPress on Google Cloud Storage, and WordPress on S3: do it yourself step-by-step guides for extra pointers in setting up WordPress on cloud storage.
The website server hosting decision can be made independently from the decision where to store the website data.
A Web server running the website can be hosted pretty much anywhere. Depending on your needs, the Web server can run by your favorite hoster, by a cloud provider, from your premise, as an instance in Amazon AWS or Google Cloud.
You can keep your current hosting arrangements, and only move the website data to cloud storage using WP2Cloud and ClouSE.
With your data being safe in the cloud storage, if needed, you’ll be able to easily change a hoster or a cloud, that is without any data migration whatsoever.
WordPress-To-Cloud solution works with nearly any hosting/cloud provider, but perhaps not with every hosting plan or stack supported by your provider. Feel free to contact your provider and us so we could attempt to make it work in your specific circumstances.
How it works
WP2Cloud stores media files such as pictures, music, videos, documents in the cloud. Media files that are uploaded to the WordPress are actually uploaded to the cloud storage, not to the local file system of the Web server hosting this website.
The media files are served from the cloud storage, the website pages now refer to the media files via direct cloud storage URLs. This makes your site directly powered by the enormous scale and reliability of cloud storage.
To make serving media files from Amazon S3 even faster, the plugin can be configured to use a Content Distribution Network (CDN), such as Amazon CloudFront. When the plugin is configured to use a CDN, the website pages refer to the media files via the CDN URLs. The CDN serves the media files from locations around the world to provide the best performance.
WP2Cloud plugin natively makes the website faster, more available and scalable:
- Media files are stored reliably in the cloud and don’t need to be backed up.
- Website now can leverage the cloud power to scale out content delivery to the browser directly from the cloud storage. The file content is now served in a highly scalable fashion by the cloud storage utility provider which takes load off of the Web server. This is different from the default WordPress behavior where media files are local files, and are served by the Web server and consume network bandwidth, disk I/O and CPU power of the Web server
- WordPress web tier is now stateless, so web tiers can now be auto-scaled and auto-balanced as needed to meet the website’s scalability goals.
- Files are distributed across the globe for fast access either natively by cloud storage itself and/or via an explicit integration with CDN.
WP2Cloud plugin relies on Cloud Storage Engine (ClouSE) for MySQL to enable integration with cloud storage.
In WordPress-to-Cloud solution, the site uses cloud storage as its primary storage. The storage configuration becomes transparent to WordPress. WordPress stores the website’s data in MySQL, while ClouSE is plugged into MySQL and places all data into cloud storage, rather than using local disk. ClouSE plays the role of a database gateway for cloud storage, combining the best of local and cloud storage by delivering performance and security of local storage, plus all the benefits of the cloud storage.
Supported cloud storage
Supported cloud storage providers are:
- Amazon S3 and compatible. You can choose any of the Amazon Regions to store your data. Pick a Region to optimize for latency, minimize cost or address regulatory requirements.
- Google Cloud Storage.
Other storage providers may be added in the near future.
- Español por Andrew de WebHostingHub
- Русский предоставил OblakSoft
- S3 Storage for WordPress Blogs
- Launching WordPress into the Google cloud
- WP2Cloud featured at Softpedia.com
Our goal is to design the best WordPress-to-Cloud experience for YOU.
Cloud storage is very powerful, we’d love to take full advantage of its capabilities!
We really appreciate your feedback.
What are your scenarios? What would you like to see added, improved? What problems can we help you with?
Feel free to contact us. Thank you in advance!
This plugin is actively supported by OblakSoft and we will do our best to help you. In return we simply ask:
- Rate this plugin or write a review. We cordially ask you to please contact us before giving a poor rating.
- Follow us at our OblakSoft Facebook page.
- Support us by referring, blogging about WP2Cloud plugin and/or ClouSE storage engine.
- Help Out. If you see a question on the forum you can help with or have a great idea and want to code it up and submit a patch, that would be just plain awesome and we will shower your with praise. Also, we are happy to post translations if you provide them.
- Donate – if this plugin makes your life easier enough to support our time it makes all the difference in the world. We are a small self-funded startup. You can donate to OblakSoft development team via PayPal.
- What makes WP2Cloud different from other plugins that upload files to Amazon S3 or Google Cloud Storage?
WP2Cloud plugin for WordPress:
- Is the last piece in the puzzle of moving the whole WordPress site to cloud storage. It allows to take full advantage of cloud storage by consolidating both website content and media on the cloud storage.
- Makes WordPress web tier stateless: media is stored on cloud storage, not on the web tier filesystem. This makes it possible to auto-scale and auto-balance WordPress web tiers.
- Uploads files faster because it relies on OblakSoft WebStor – high performance library for Amazon S3 and Google Cloud Storage.
- Handles media file uploads in a transactional manner. Either the whole file and all its derivative files (e.g. thumbnails for pictures) get uploaded or nothing does.
- Is there a limit on number or size of files being uploaded?
Not at all. Since cloud storage space is nearly limitless, you can use as much of it as you need. WP2Cloud can upload very large files as it uses multi-part upload and thus it is not restricted by the available memory on the Web server.
- How long do I have to wait for the files to be uploaded to cloud storage?
Media files are uploaded to cloud storage as fast as physically possible with the help of WebStor – high performance library for Amazon S3 and Google Cloud Storage.
- Can I update media files using this plugin?
Absolutely, your media experience is not affected by this plugin. You can change image, add title, alternative text, media tags – whatever you might need.
- I deleted a media file from WordPress, but I still can see it in the cloud storage, why?
The actual deletion is intentionally delayed to account for caching latencies. For example, even though you deleted the image and removed the link from the page, the old page content might be still cached. The delay helps the old page to render correctly and show the old images.
If you still see a media file in the cloud after a couple hours have passed since deletion, please email us at firstname.lastname@example.org.
- How can I prevent hotlinking to files stored in Amazon S3?
- Can I use multisite setup with this plugin?
Yes, both domain-based and path-based multisite setup is supported.
- Can I use W3 Total Cache with this plugin?
Yes, WP2Cloud is compatible with W3 Total Cache. In fact, the latest WordPress-on-S3 AMI has W3 Total Cache plugin installed and configured.
- Can I use BuddyPress with this plugin?
Yes, just make sure you use ClouSE 1.0b.1.4 (or later) and WP2Cloud 1.2.0 (or later).
- I’m using the WordPress-on-S3 AMI, how can I edit files on the EC2 instance?
You can edit files in the File Manager module of the Webmin system administration console. Log into Webmin, select Others -> File Manager module on the left. The WordPress files are located in /var/www/wordpress. For information on how to connect to Webmin see this post.
Alternatively, you can use the Upload and Download module to transfer files between the instance and your computer. Log into Webmin, select Others -> Upload and Download.
For quick access to wp-config.php and .htaccess, log into Webmin, select Others -> Custom Commands.
Note: Webmin and phpMyAdmin are available in WordPress-on-S3 AMIs released on 01/31/2013 or later
- I’ve launched a website from WordPress-on-S3 AMI. How can I create a friendly domain name for the website? How can I secure website access with SSL?
Please refer to WordPress on S3: DNS and HTTPS configuration blog.
- My webserver runs on Windows, can I use WP2Cloud?
Yes, ClouSE for Windows is currently available to a group of limited preview customers. If you would like to sign up for the limited preview program please contact us.
- I’m using ClouSE and WP2Cloud to store my website’s data in cloud storage (such as Amazon S3), can I export the data?
Yes. Standard MySQL tools work well with ClouSE. For example, you can use mysqldump to export the whole WordPress database into a file. In fact, WP2Cloud makes data export easier and more robust, because the database dump now includes the media, so the dump fully represents all website’s data.
- I don’t have permissions to install ClouSE on my WordPress database server, can I still use WP2Cloud?
Yes, you can configure WP2Cloud to use a separate Media Server. The configuraiton instructions are provided here. See also this post for information about how to install and configure MySQL as a Media Server on a shared hosting server.
- Where do I go to file a bug or ask a question?
The comprehensive documentation can be found here.
If you aren’t able to find a resolution, please email us at email@example.com.
The authors are available for professional consulting to meet your configuration, troubleshooting and customization needs.
- Known issues
Some Linux distributions have custom-built MySQL binaries that are different from the official MySQL builds available from www.mysql.com. ClouSE may fail to install with custom-built MySQL binaries, printing an error like “ERROR 1126 (HY000): Can’t open shared library ‘/usr/lib64/mysql/plugin/ha_clouse-5.5.20.so’ (errno: 13 undefined symbol: my_pthread_fastmutex_init)”. In this case you need to install the official MySQL binaries from www.mysql.com. See this and this forum posts for more details.
The wp-smush.it plugin 184.108.40.206 requires a patch to work with WP2Cloud. Make sure that the Enforce image URL is same as Home option (Settings –> Media) is unchecked.
The wp-post-thumbnail plugin doesn’t work with WP2Cloud. wp-post-thumbnail uses direct filesystem calls making it impossible for WP2Cloud to provide media file storage.
When i try to active plugin system replied with "Cannot create wp_cloud_media_content table -- MySQL error: Unknown storage engine 'ClouSE' WP2Cloud requires the Cloud Storage Engine for MySQL (ClouSE) to be installed and configured on the MySQL server. As an example of property configured ClouSE and WP2Cloud you can use WordPress on S3 / WordPress to Google."
- Add support for cloud migration, now existing site data can move to cloud
- Hide licensing UI from non-superadmins (multisite only)
- Fix a problem with media server configuration when PHP uses mysqli connection
- Implement ClouSE license ordering functionality
- Fix “Constant ABSPATH is aready defined” PHP notice
- Handle references to media in other sites in the same network (multisite only)
- Fix incorrect media URLs in posts created via XMLRPC (e.g. from a mobile app)
- Add Spanish translation by Andrew Kurtis, WebHostingHub
- Handle blog switching in multi-site setup (see this post)
- Add link to Amazon CloudFront setup guide into the CDN settings description
- Embed links to step-by-step guides into the “ClouSE is missing” activation error
- Add Russian translation
- Implement plugin localization support
- Add support for wp2cloud-config.php, which can be used to add custom ABSPATH
- Handle weblob_id-based (redirect) URLs in WooCommerce downloads
- Make wp2cloud_get_file_url handle files that haven’t been uploaded to cloud yet
- Add wp2cloud_download_file hook for other plugins to integrate with WP2Cloud
- Add wp2cloud_* hooks for other plugins to integrate with WP2Cloud
- Handle weblob_id-based (redirect) URLs in sitemaps generated by WordPress SEO plugin
- Handle weblob_id-based (redirect) URLs in parentheses
- Handle single-quoted weblob_id-based (redirect) URLs
- Implement a more robust way of translating weblob_id-based (redirect) URLs to direct cloud URLs
- Use 301 code (permanent redirect) for weblob_id-based redirects
- Add a warning to inform the admin when WordPress tables are not on cloud storage
- Fix a problem with thumbnail updates; now thumbnails can be updated w/o updating the main image
- Perf: avoid extra database queries when rendering cloud URLs
- Add support for https://wordpress.org/extend/plugins/bp-album/
- Fix a problem with images that have names containing non-Latin characters
- Add support for PHP versions that don’t have exif_read_data function
- Properly generate weblob_id-based (redirect) URLs with default WP_CONTENT_URL
- Add support for WordPress 3.5
- Fix code that caused PHP warnings in the error log
- Add support for Media Server
- Fix code that caused PHP warnings in the error log
- Fix a problem with uploading images that contain Exif tags
- Add support for BuddyPress; now BuddyPress avatars are stored on cloud storage
- Fix a problem with CDN distribution URLs that contain ports; now the port is properly preserved
- Eliminate some debug-only warnings
- Properly handle image resize arguments in the weblob_id-based (redirect) URLs
- Fix compatibility issues with wpallimport plugin
- Fix problems with translating weblob_id-based (redirect) URLs to direct cloud URLs
- Fix problems with editing images when using path-based multisite setup
- Eliminate usage of ‘goto’ as it’s not supported by some PHP versions
- Add cache control headers for resources that don’t change
- Fix code that caused PHP warnings in the error log
- Fix problems with images in the header that are wider than the required width
- Fix problems with image editing after recovery from cloud: help WordPress to auto-create directories for images
- Fix problems with editing images that were uploaded with a different theme (that had custom image sizes)
- Fix problems with multisite setup caused by unfortunately named settings.php; thanks to thorstone137 for investigating the issue and providing a fix
- Fix problems with network-activating the plugin; now it can be network-activated in the multisite setup and won’t require activation for each site
- Fix problems with moving the plugin to a different directory; now it can properly self-reference without hardcoding the path to the plugin
- Add support for Content Distribution Network (CDN)
- NOTE: the data format has changed, if you have production data created with version 1.0.2, please contact us
- Fix problems with image editing
- Fix problems with images in the header and background
- Fix problems with showing images in the Visual Editor
- Fix media URLs for the generic uploader; previously it only worked correctly for media in posts
- Fix error handling for MySQL errors
- Fail to activate if ClouSE is not configured, and provide guidance to the user
- WP2Cloud released