Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Latest News
    • Reviews

    More Adventures in the Cloud: PaaS Edition

    Written by

    Jason Brooks
    Published August 4, 2011
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Back in April, I blogged about how my eWEEK Labs comrades and I had thrown up this WordPress blog on an Amazon Web Services EC2 instance in search of cloud testing adventure. Fortunately for us thrill-seekers, we got a big old lump of adventure early on, when our newsletter distribution sent a concentrated burst of traffic at our newly-minted site, melting our “can we get away with this” micro-sized EC2 instance.

      After a bit instance-resizing and some tweaks to our caching and CDN configuration, we made it through the next few months without any further meltdowns. However, I had a long list of “ought to dos” for nailing down the system administration setup for the site that I never quite got around to, including:

      1. Establishing some decent version control for our WordPress code and regular database backups
      2. Setting up site monitoring, so we needn’t rely on tsking from the IT dept sys admin who’d previously tended the site (without incident) to alert us when something went wrong
      3. Providing for some semi-auto scaling, for some future explosion of site traffic and overall fame
      4. Setting up some sane processes for applying system updates to the Ubuntu server running on our EC2 instance

      I recently reviewed a relatively new Platform as a Service product, called PHP Fog, which supports PHP and MySQL, and which, as a PaaS, offered me a solution for sweeping some of my untended-to sys admin chores under a rug:

      1. Version control via Git is rolled into the product
      2. PHP Fog cloud accounts come with an associated New Relic account for keeping tabs on performance
      3. Apps on PHP Fog are set up behind a load balancer, with a separate db instance and support for manually spawning new PHP-serving instances
      4. PaaS means never having to update the OS

      Having enjoyed my review experience with PHP Fog (and noting its relative low cost among comparable solutions), I migrated our blog over to a “silver cloud” account and, in preparation for our newsletter distribution day (today), bumped up our instance count to two instances.

      First thing this morning, I checked out our site to find that even in the relatively hands-off administration world of PaaS, there remained plenty of room for adventure. I visited a bunch of different pages on our site, and on many of those page loads, the site was serving up a gzipped file instead of the expected Web page. The caching plugin we use for the site, wp-super-cache, includes a compression option that doesn’t behave well with every Web host.

      I hadn’t noticed this issue during our tests, but I figured that I’d resolve it easily enough by disabling the compression feature. Most WordPress plugins tend to store their settings in MySQL, but wp-super-cache stores settings in a configuration file. The plugin is written to be configured through the WordPress admin interface, but on PHP Fog files modified through the version control system don’t automatically sync up with files modified with the app itself, so it’s important to make these changes through the version control system. PHP Fog isn’t alone in this, I’ve also experienced this file modification mismatch issue with Red Hat’s OpenShift Express, although the Red Hat service provides an option for downloading files changed with the app for adding back into version control.

      Anyway, I pulled down our site code on my home computer with Git, turned off the compression, and found that the errors persisted. Figuring that the error might be tied to too much traffic, I spawned another pair of instances to help cover the load (PHP Fog lets you spin these up and down, and prorates the cost per day). I later noticed that some of my instances still had compression turned on, and some had it turned off–the config file change hadn’t made it to all of my instances.

      Intending to get our instances back in sync, I ratcheted our instance count back down to one, which did away with our gzip-serving problem, replacing it with this PHP Fog “we’re currently starting your server” page:

      As a PHP Fog support rep (the company has very friendly, responsive support) explained to me through the handy live chat function on their site, when I scaled my instances up and back down again, the operation led to some sort of race condition which ended up leaving our site out of commission for about an hour and a half. The rep added that the PHP Fog team was addressing the issue, and that it shouldn’t happen again.

      The up and down scaling issue was a definite bug–that sort of scaling is a central part of the PHP Fog product. The file syncing issues I knew about before deploying, and I’m interested to see how the company address this–their documentation references future distributed file system functionality. The wp-super-cache compression snafu is on me, for lack of sufficient testing. That option is switched off by default, because of the issues it can cause, and I had it enabled because it worked fine in my previous, straight IaaS configuration.

      I might have been more upset by these snags if I wasn’t in search of testing adventure in the first place — it would, after all, have been much simpler to leave the site in the capable hands of our company sys admin. All told, I’m planning on sticking with PHP Fog for a while longer, and trying out a handful of other potential WordPress homes with a test domain. I recently toyed with OpenShift Express and WordPress, and I’m intent on getting the open source blogging app running on Microsoft’s Azure.

      Jason Brooks
      Jason Brooks
      As Editor in Chief of eWEEK Labs, Jason Brooks manages the Labs team and is responsible for eWEEK's print edition. Brooks joined eWEEK in 1999, and has covered wireless networking, office productivity suites, mobile devices, Windows, virtualization, and desktops and notebooks. Jason's coverage is currently focused on Linux and Unix operating systems, open-source software and licensing, cloud computing and Software as a Service.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×