OhGizmo! Review: Rackspace’s Cloud Sites

cloud-sites-apr-8-2012

The following is a guest post by our friend and fellow publisher, Hubert Nguyen from Ubergizmo.com. -Ed.

Cloud Sites is pitched as a “premium web hosting for serious developers”. It promises to run high-traffic websites reliably and “fast”. It is also a managed hosting, which means that the hosting company is responsible for system updates, server security and system maintenance. The customer is responsible for the application and its security.

Context: among the few things I do at Ubergizmo, I take care of all things related to web infrastructure, hosting and coding. I play with different web hosting options, as part of this.

Many developers and webmasters, would rather focus on their web apps or web site, rather than making sure that the server has the latest security updates, and if the network latency seems within an acceptable range. Also, if the server crashes in the middle of the night, someone else is alerted and has to reboot it.

Cloud Sites customers also get 24/7 technical support, either over the phone, or via a chat interface. More details on that later.

Pricing structure and infrastructure.

Metered pricing

Unlike most other hosting plans, customers don’t pay for a server, but the usage is metered. Customers will for the bandwidth and compute resources they use. The compute resources are measured in a metric called CC. It’s not completely clear how it’s computed, but it seemed to me like being heavily based on the time spent in the PHP engine, and not directly linked to CPU utilization percentage.

The exact formula has not been made public, but if you upload one large (1GB) file, and have someone download it with a slow internet connection, the CC usage shoots up. Weird, since this probably doesn’t use that much resources. In any case, the CC computation seems based on regular PHP usage, so if you’re running a normal website, like WordPress — things will look completely normal. Do

    NOT

use Cloud Sites for streaming purposes — use a CDN instead.

Note that there’s a minimum of $150/mo witch comes with a certain amount of CC units (10,000) and bandwidth (~500GB). Once those have been used up, the overage billing kicks in and continues accumulating. You can check on a daily basis where you’re at. If you see something wrong, it’s possible to ask billing support to look into it. I had to do it once, and they did find that something was odd and corrected the billing.

Cloud Sites has never lowered its prices, but instead it does have hardware upgrades from time to time. It’s difficult to quantify the value of one versus the other, but in general, users have been happy if you are to believe the forums (which I agree with).

Opportunity for billing optimizations

Because the usage is metered, users have opportunities to reduce their bills by optimising their content and code. Code that is executed faster uses less CC units, and reduce your bill. Offloading your static files request to a CDN also reduces your bills, so is instantiating a Varnish proxy in the same datacenter (if you can manage it).

Managed platforms that charge you “per visitor” can be hugely expensive, and don’t offer any option to improve your billing situation by making your site less resource-intensive.

With Cloud Sites, you only pay for what you use, but at the same time, there’s plenty of hardware ready to serve content if there’s a spike of traffic, of when you clear all caching.

Server infrastructure: horizontal scalability, powerful MySQL servers

The main page of Cloud Sites doesn’t really say much about how the service is built beyond some generalities, like “it’s fast, it scales…” and other mostly high-level things.

It is actually quite interesting from a technical standpoint. Cloud Sites is divided in a number of load-balanced PHP/NET clusters of maybe a dozen PHP nodes each. It’s not clear how many of those there are, but in general any given site is run on one of those clusters. It’s technically possible that the Cloud Sites team would scale the cluster size if there was a need for it, but I don’t know a site that has outgrown a cluster.

Each PHP node will run a number of Cloud Sites websites, and it’s impossible to know how many, but everyone shares the same set of servers, configuration etc…

All these clusters can access a certain number of MySQL server. Interestingly enough, the MYSQL seem to be very powerful servers that serve many sites at once. It may sound like shared hosting, but the good news is that performance is very good, and you’ll see why shortly.

There’s an HTTPS option for Cloud Sites, but it’s a bit more expensive, and it wasn’t clear how that was still load-balanced, so this is something that I have to try in the future. For now, I’ll assume that most people still use non-encrypted HTTP, although this is changing.

Since we have load-balanced PHP nodes, they need to have some ways to share the app files, and Cloud Sites is using an network-based storage, which I believe is a SAN. Again, Cloud Sites doesn’t make this official, but sources told me that it is a SAN. This kind of networked file storage is highly unusual for web hosting in this price range (SANs are expensive!) and make it super-easy to scale server nodes behind a load-balancer.

Performance
Scalable web node performance (PHP and .NET)

From what you have read about many sites running on the same PHP clusters and MySQL servers, it seems like Cloud Sites is shared hosting. Well, I guess that technically it is “shared”, but we should at least call it premium shared hosting.

Cloud Sites does not run under the “shared hosting spirit”, which is to cram as many customers as possible in the smallest possible hardware (without crashing, if possible). It’s the contrary: Cloud Sites users have ample resource at their disposals, simply because the usage is metered, so there’s no need to constrain resources.

Cloud Sites is like pooling the financial resources of several customers to purchase compute power that most single sites could get by itself. The web node cluster has always felt fast. In fact, when I tested Cloud Sites, I moved a big WordPress site to it, then proceeded to do run Apache Bench (AB) on it, without page caching (WPSC/W3TC) or in-memory object caching. This would make most basic hosting crash (Apache) due to the overwhelming number concurrent requests.

Since the PHP load was distributed across multiple servers (PHP is executed for AB each request and the page wasn’t cached), and the database cached the necessary data in the query_cache (the AB test only floods one page with traffic), Cloud Sites could take the traffic without a hitch.

It is possible to enable page caching if you are using disk storage (WP Supercache). Although it runs on a SAN network storage, Cloud Sites can easily cache files “on disk” without visible performance issues. If you have more than 2000 pages cached on disk, I would advise to reduce the expiration time so that checking their expiration and clearing the cache doesn’t take too long.

Related: All the details about how to install and configure WP Super Cache (WPSC)
MySQL performance

The MySQL servers seem to be really fast too. They feature a large amount of RAM (how much), fast CPUs and they have no limit in database (disk) size. Again, this is something that is expensive to get if you are just hosting one site with your own MySQL servers.

Keep in mind that MySQL is not something that can be easily scaled by “adding more servers”. It’s possible to use sharding, read-only slaves etc, but if you get to that point, it’s unlikely that you would use Cloud Sites. In general, it’s best to have enough RAM to fit your tables and indexes in there, along with a healthy query cache. For mostly read-only content such as news, and articles, the cache is extremely useful.

MySQL issues do happen sometimes

That said, when there had been a few issues (maybe once a year) and most are related to MySQL/Database. In general, the symptom is a database disconnection, but the cause does vary.

The shared nature of Cloud Sites makes it difficult to exactly know what’s going on. For example, it could be that one PHP node lost contact with the database, and you would get disconnected intermittently because other PHP nodes work fine. To debug this, it’s best to output the IP address of the current PHP node in the HTML comment (admin mode) to at least see which nodes do work.

It could be other things, including a bad MySQL neighbor that was abusing the server at the time. Once, we even had a badly configured MySQL setting (max_connections set to 5, instead of 500) which probably happened after an upgrade or a tweak. If you are a WordPress site owner working with tech support on MySQL performance, here are a some slow MySQL debugging tips that could help (you and tech support) when you deal with hosting companies.

I would add that Since Cloud Sites got a hardware upgrade and a move to MariaDB in October 2015, we had no issues at all with either PHP or MySQL.

Load balancer timeout (watch out for slow MySQL queries)

From a performance standpoint, the thing that you have to watch for is long-executing MySQL queries. Sites that have slow queries (~30 seconds) may end up being cut by the load-balancer time out.

What happens is that if the load balancer doesn’t see any data transiting to a client for more than 30 seconds, it will cut the connection to the web server node to free up the connection. For the web browser, it will show up as a 500 error (the 30s value may change without notice, but 30 is probably the minimum).

I have not had this problem personally, but I did read about it on various forums, and it’s officially documented here.

Customer support (very good)

Since we just talked about potential issues, let’s jump onto customer support. At present time, Cloud Sites benefits from 24/7 chat and phone support. This is very important if you don’t want to have a lot of lag in between interactions with the support staff.

I found the staff to be very knowledgable of the PHP stack in general, and a few people were outright brilliant, finding issues buried deep and going through the effort of copying the whole site to a private debugging Cloud Sites cluster for analysis.

Since I have an engineering background, it makes it easier for me to suggest possible issues and I always had a very courteous and productive relationship with the support staff because I felt they really try their best.

If an issue goes too deep, they might bring in the sysOps team, which can investigate network latency issues (another cause of lost connectivity between PHP and Database, when a switch blows up), SAN storage performance etc.

The usual caveat is that the Cloud Sites team’s main role is to support the server stack (LAMP or .NET), and not the application level (WordPress, Drupal etc). This is completely normal for most hosting companies, and it’s important for customers to understand that.

I once helped a publisher friend who had a very deep-rooted issue in corrupted wp_options table data, which was causing the whole site to be extremely slow (~8-20 seconds page generation). It took me many hours (8-12?) in total to reproduce the issue on a test server, and come up with a fix. This is typically something that goes (way) beyond the call of duty for the Cloud Sites support staff, although they did try.

Since Cloud Sites is geared towards developers and agencies, it should be fine. But I know regular web publishers who aren’t as technically savvy using Cloud Sites happily.
Finally, there’s also a Cloud Sites community forum that answers additional questions. People can post any questions or suggestions and the Cloud Sites staff addresses them whenever they can, like recently about Let’s Encrypt SSL.

I try to discuss improvements or answer questions when I can there. Admittedly, other hosting companies have more vibrant communities (like Cloudways’s FB page), but many others have nothing at all.

Caveats

As powerful and exciting that Cloud Sites can be, it does have a number of caveats or tradeoffs that prospect customers need to be aware of.

No command-line or SSH access

For security and isolation reasons, there is no command-line access, so changing file ownership/attributes or for copying/deleting large number of files can quickly turn into a struggle. You can ask tech support to do some of these tasks for you, but it’s a bit of a hassle if you need to do it often. I personally had to ask for a quick favor a couple of times.

It’s also impossible to use a utility like Rsync if you want to reliably copy data to/from another server. This is an annoyance if you want to keep your data synced with a remote location, or if you want to move in/out several GBs of data. Doing this over FTP is not fun to say the least. Most of your files interaction will go through FTP of SFTP (ugh).
No built-in backups

Cloud Sites doesn’t have a built-in backup system. This has been a friction point with many customers for many years, and it is really an odd thing. It seems like the unique nature of Cloud Sites, a backup system has proved too complex to build, for now. Don’t hold your breath on it for now.

Customers were offered a discount to Codeguard, a remote backup system based on FTP and direct MySQL access. It works, but is not ideal if you have to restore a multi gigabyte site via FTP. The Cloud Sites team also came with a free backup script which should work for small sites (big many GB sites may have timeout issues) called ZipitBackup.

There is no such think as a one-click backup/restore, and if you have a huge site that gets corrupted or compromised (at no infrastructure fault), you may have to ask support to either do a whole restore for you, or you would have to request a delete, then restore yourself via FTP…

No copy or staging

For the same reasons that led to the lack of automated backups, there’s no easy way to “copy” all the site’s files elsewhere, nor there is a “staging” feature to create a version for debugging an issue on a real production cluster, with the tech support’s being able to look at it.

As a developer, this kind of thing can be quite important. Talking about debugging, it’s not possible to install New Relic, which can be of tremendous help for issues that only happen on the production (Cloud Sites) hardware.

Since there’s no limit in the number of sites you can create, you could create an additional site at no extra cost and leave it in private mode (you are assigned a test URL). It mostly works, although it’s not anywhere as close as being able to “copy/stage” a site.

Potential left behind / ideas for the future

Cloud Sites is a great piece of technology, and it was well ahead of its time. Even now, there aren’t a lot of comparable services, and even less that would be affordable. Yet, there are many things the Cloud Sites team could do to improve their service, and their profits.

For example, there are no managed services such as Memcached, Redis, MongoDB, Varnish and other contained pieces that aren’t part of the LAMP stack. Arguably, Cloud Sites could charge for these services and greatly improve its profits because they are relatively simple to manage. Most of them *need* to be hosted in the same data center as Cloud Sites to have proper latency.

Note that with single-server hosting, it’s possible to install of all these in a “single box”, but scaling horizontally is not very orthogonal, especially if you don’t want to pay for nodes you don’t need at all times.

The ability to copy/stage sites would get people to use more storage. Again, this would be a great thing for the service’s profit.

And of course… backups. As of today, any issue that would require a full reinstall of a site will cause much bigger downtime and billed hours simply because it’s impossible to script/automate a restore, and doing it over FTP does take a lot of time.

Admin interface

The admin interface of Cloud Site is pretty old, and frankly it’s not the best panel ever. But, it does get the job done, and you can instantiate sites, create databases, create FTP users, CRONs, and manage domains/sub-domains. So yes, it’s not pretty, but it’s reliable and gets the job done.

Conclusion: powerful, but watch for for caveats

Cloud Sites is a very powerful hosting platform. It supports both PHP (multiple versions) and .NET along with MySQL (MariaDB) and Microsoft SQL. That alone makes it a rarity.

It is one of the rare load-balanced, scalable (to the size of a cluster) platform on the market that you can get in for $150 and have a known pricing structure to avoid bad surprises as much as possible. For LAMP, there are other scalable platforms that have much fancier features (like Pantheon.io) but I doubt that they would anywhere near as cost-effective as Cloud Sites.

Other scalable managed hosting pricing structures are also more opaque (charging “per visitor”) and don’t offer an opportunity to reduce your bill by optimizing your consumption.

At the end of the day, Cloud Sites has great potential for small agencies that want reliable web hosting, can deal with the lack of command-line and manage a number of sites in one location, one account. If you are willing to pay 2X or 3X the price, there are other options out there.

Cloud Sites is not a perfect cloud hosting solution, but it’s one that offers horizontal scaling, a powerful MySQL database, and a 24/7 managed support that can handle system security and low level software stack — at a starting price of $150.

A final point: Cloud Sites was recently acquired by Liquid Web (from Rackspace), and although there are no changes to be expected in the near future (~6 months?), things can move for good or bad, or no change at all. But it’s something to be aware of.

Deal: Complete Frontend to Backend Coding Bundle

If you want to work in the web development space, I highly recommend building both frontend and backend coding skills. This will give you the versatility to build a wide variety of applications, and the flexibility to work on everything from small startup projects to huge team implementations.

programming_1zoom in

With this extensive bundle of online training, you’ll have access to lessons in a pied variety of programming languages, from PHP to Python, from Ruby to Java. You’ll also learn about full-stack programming, using frameworks like jQuery and AngularJS, and databases like MySQL. You’ll even learn how to work at the operating system and app server level, building your skills in Linux.

In all, there are 33 different programming courses, valued at nearly $1500. Thanks to our friends at Corporate Bridge Group, we’re able to offer up this bundle at the ridiculously low price of just $69. Head on over to the Technabob Shop now to get in on this amazing offer.

Deal: Save 85% on The DevOps Hacker Training Bundle

While you might know how to write code, running servers requires a completely different skillset. With this training, you’ll learn critical DevOps skills so you can take a complete application and get it up and running anywhere.

devops_hacker_bundle_1zoom in

For just $29(USD), you’ll get dozens of lectures which teach you how you use Amazon’s web and application hosting services, as well as Docker, a robust system for packaging and installing applications. Along the way, you’ll learn about NGINX, domain name registration and configuration, SSL installation, and even how to scale and estimate hosting costs.

Head over to the Technabob Shop today to register for this valuable online training series.

Deal: Save 97% on a Lifetime OSTraining Developer Bootcamp Subscription

Web developers and designers, get an awesome deal on this massive library of online training and reference materials. OSTraining provides more than 3,000 videos which will help you grow your development skills on demand.

ostraining_1zoom in

For just $60, you’ll get lifetime access to courses on WordPress, JavaScript, Drupal, Joomla, SEO, HTML, CSS, PHP & much more, and each week, you’ll get access to another new course. Courses are available for all skill levels, so whether you’re a beginner or a seasoned developer, there’s something for everyone. You can view a full list of available classes here.

This is an amazing deal worth $2,000, so there’s no better time but the present to sign up over at The Technabob Shop.

Deal: The Complete Web Developer Course: Build 14 Websites

Learn everything you’ve ever wanted to know about writing code for the Internet with this extensive series of online courses. In The Complete Web Developer Course, you’ll get access to over 236 individual lectures, which cover full stack web development.

web_development_1zoom in

The series includes lessons in HTML, CSS, JavaScript, JQuery, MySQL and more, along with frequently used APIs like Facebook and Google Maps. Along the way, you’ll get the chance to build 14 different websites to put your skills to the test.

Best of all, you’ll pay just $14 for the entire course – a savings of $185 off the regular price. Drop by the Technabob Shop now before this deal is gone.

Deal: Save 76% on a Codeanywhere 3-Year Subscription

Web developers, work anytime, anywhere you’ve got an internet connection with Codeanywhere. This robust cloud-based integrated development environment provides a rich set of features for developing in a wide variety of languages from your web browser, iOS or Android device.

codeanywhere_1azoom in

Codeanywhere offers syntax highlighting for more than 75 programming languages and frameworks, and its editor provides autocomplete abilities some of the most popular languages. It can automatically push changes to FTP, SFTP, DropBox, GitHub and Codeanywhere’s own sandbox. Other neat features include screen-sharing for pair programming, code version diff-ing, an SSH terminal, and more. You also get access to Codeanywhere’s container ability – which lets you spawn an “always-on” virtual hosting environment for testing your code.

codeanywhere_2zoom in

A 3-year Freelancer subscription to Codeanywhere normally runs over $250, but you can sign up in the Technabob Shop for just $59 for a limited time.

Codespace Wants Everyone to Learn to Code

As I’ve pretty much made my entire career in fields where computers are a key element, I know a thing or two about the value an early exposure to coding and tinkering with computers. I first learned the basics of programming back in the 1980s, using languages like Pilot, LOGO and Basic on my old Atari 800. I was fortunate enough to have the resources to own my own personal computer.

Sadly, not all kids get access to such things, and that’s a shame – especially in a world where computers are such an essential part of our lives and livelihoods. In fact, only about 1/4 of pre-college schools teach computer programming to students as part of their curriculum, and even if they do, many states don’t let the courses count towards graduation requirements.

One company that wants to make a difference is Codespace. Just recently launched, the Northville, Michigan company aims to teach the fundamentals of coding to as many people as possible.

programmingzoom in

Codespace plans on offering classes with a low student/teacher ratio, with professional developers leading the sessions, and a fun and friendly environment for students of all ages. They’re starting off with a series focused on the basics of HTML, CSS, and JavaScript, the core technologies used on every web page on the internet.

Codespace plans on opening its first location this spring in their home town of Northville. Their plan is to spread their curriculum to school systems as well, offering a broader opportunity for students to learn how to code. If you’re interested in learning more about Codespace, you can contact them on their website.

The Complete Web Development Course: Make Cash-Earning Websites

Complete Web Development Course

High-schoolers and college students who are just getting started with Web Development could turn to The Complete Web Development Course: Make Cash Earning Websites for a great information resource on this topic.

One of the most recent additions to the eLearning category of our store, Walyou Deals, The Complete Web Development Course: Make Cash-Earning Websites by Development Island is a comprehensive guide on how to create Web pages, interactive sites and even mobile apps, and all that at a heavily discounted price. The course is particularly great for people who are just delving into Web development, since the authors leave from the premise that you have no coding experience whatsoever. This means that you’ll start with the basics, and by the time you finish the course, you’ll be an expert in the areas listed above.

Just to give you and idea about how much content this course envelops, there are more than 306 lectures and 56.6 hours of videos on the creation of Web sites and mobile apps. First of all, you’ll get accustomed to the most popular and frequently used languages and frameworks that are currently available. Once you do this, you should have an idea about what you would like to focus on next. Regardless of the path you will chose, HTML5 and CSS3 are essential for any Web developer, so learning these is a must if you want to build and style Web pages properly.

Javascript, jQuery and JQuery User Interface, some of the best tools you could possibly use for creating interactive sites are also covered in this course. However, interactiveness isn’t the only aspect you should focus on, as the sites also need to be very responsive, regardless of the device they’re accessed from. This part is covered in the lectures about Twitter Bootstrap. Also, the course touches PHP, Ajax and MySQL in some of the lectures, and while these may seem to be for advanced developers only, knowing at least the basics of all of them can’t hurt.

Not at last, you’ll learn how to develop mobile apps for both iOS and Android, and how to deploy them to their respective stores. This may seem a bit unrelated to the rest of the course, but if you’re getting into Web development, you might as well develop for mobile platforms, too.

The Complete Web Development Course: Make Cash Earning Websites can be purchased in our store, Walyou Deals, for $29. That’s a 90% discount from the original price of $300, so if you feel that Web Development is something you might like, get the course within the next four days. Going through all of the content included in this course may take while, but at the end of it, it will be well worth it. Thanks to the endless list of skills you’ll be able to add to your resume after finishing the course, landing that dream job will no longer be something unreal.

Be social! Follow Walyou on Facebook and Twitter, and read more related stories about the Mighty Marquee Desk Glow, or the Pay What You Want: Expert Photography Bundle.

[Pay What You Want] Learn to Code Bundle 2016

Pay What You Want - Learn to Code Bundle 2016 01

With Walyou Deals’ Learn to Code Bundle, anyone can pick up programming and turn their lives around. The fact that it’s offered in a Pay What You Want system enables you to spend as little as you want, depending on how much you want to learn.

By learning to code, people can become even more valuable assets for the companies they work for. On the other hand, starting from scratch and becoming an expert in any of the programming languages, operating systems and environments covered by this bundle increases people’s chances of getting hired, in case they don’t already have a job.

The 9 courses that make up this bundle are as follows:

  • AngularJS: From Zero to Hero
  • Become a Professional Python Programmer
  • Build Responsive Real World Sites with HTML5 & CSS3
  • Become a Certified Web Developer
  • Learn Linux in 5 Days & Level Up Your Career
  • PHP & MySQL Web Development From Scratch – Build 5 Project
  • Advanced Ruby Programming: 10 Steps to Mastery
  • Git Complete: The Definitive, Step-By-Step Guide
  • Learn Cloud Computing with AWS

While you can get the last two regardless of how much you pay, unlocking the other seven implies beating the average, which $12.25 at press time. You also have the option to become the giving leader for this deal by beating the leader price, which is $63, for the time being. Getting at the top of the leader board any time while the deal is running will grant you 5 entries to Walyou Deals’ exclusive giveaway, which currently is a MonoRover R2 Hoverboard. Considering that the courses typically cost between $99 and $299 each, getting the bundle is really an incredible deal.

Bear in mind that each of the coding languages, frameworks and operating systems that you’re supposed to learn about in this bundle has some specific system requirements, so make sure that your computer meets those before getting the bundle. More details about this can be found on the page of the deal, linked below.

The Learn to Code Bundle also has a charitable dimension, as 10% of all proceeds go to Project HOPE, a charity that “delivers essential medicines and supplies, health expertise and medical training to respond to disaster, prevent disease, promote wellness and save lives around the globe.”

To buy the bundle, head over to Walyou Deals and check the eLearning category or click here to get straight to the Learn to Code Bundle page. If coding is your thing or you want it to become so, make sure that you visit the page within the next 6 days, while the deal ends after that.

Unlike some of the other deals featured on our store, which cannot be shipped outside of continental US, the Learn to Code Bundle is exclusively made of digital products that can be delivered instantly, anywhere in the world. Take advantage of the offer now, as the average is bound to get higher, and beating it to get all the courses will become increasingly more difficult.

Be social! Follow Walyou on Facebook and Twitter, and read more related stories about these knitted touchscreen gloves, or the 15% discount on Walyou Deals drones.

Learn to Code with our Pay What You Want Training Bundle

Web designers and developers, grow your skills and your resume with this extensive series of online training, over in The Technabob Shop.

learn_to_code_1zoom in

Pay what you want, and you’ll get over 92 hours lessons, valued at over $1500. You’ll learn a wide variety of web technologies, ranging from the basics of HTML5 & CSS3, to PHP and MySQL, to Ruby, Git, Python and more.

learn_to_code_2zoom in

Head on over to The Technabob Shop now, and grab this awesome deal before it’s gone. And while you’re bettering yourself, you’ll be helping a good cause too – 10% of all proceeds go to support Project HOPE, which delivers essential medicines, supplies, health expertise and medical training to respond to disaster, prevent disease, promote wellness and save lives around the globe.