Contact Us | Request Support | Monitoring Portal | Customer Portal | *

1-650-964-9100

  • Home
  • What is Cloud Computing?
  • Services
    • PrimaCloud Enterprise Cloud Computing
      • Features & Benefits
      • Component Services
      • Virtual Private Data Centers
      • Performance
      • Reliability
      • Security
    • PrimaSys Managed Private Cloud Deployments
      • Choosing Private Cloud
      • Implementation
      • PrimaSys Case Studies
    • PrimaCare Operations-as-a-Service
      • OaaS Detailed Description
      • OaaS Plan Comparison
      • Professional Services
      • Highly Available Cloud Cpanel
    • PrimaView Enterprise Grade Remote Monitoring
      • PrimaView Features
      • PrimaView NimSoft Professional Services
    • Frequently Asked Questions
  • Who You Are
    • Growing Enterprise
    • Start-Up Company or Entrepreneur
    • Colocation or Cloud Computing Customer
    • Shared Hosting or Virtual Private Server User
    • Hosting or Managed Service Provider
    • IT Operations Manager
  • Why Choose ENKI
    • Comparing Cloud Options
    • Case Studies
      • Media Rights Management Company
      • Web Design and Hosting Company
      • Political Web Services Company
      • Media File Sharing Start-Up
      • Financial Services Company
      • Online Gaming Company
      • Internet Advertising Company
      • Hedge Fund
    • Key Benefits
    • Videos & Downloads
    • Buying from ENKI
    • Promotions
    • Testimonials
  • About ENKI
    • The Enki Way
    • Management
    • Partners
    • News
    • Investor Relations
    • Legal
    • Service Level Metrics
  • Enki Blog

Managed Cloud Blog

  • Home
  • Feed
Jul 30
2009

Cloud 101 - Lesson 3.2 - Fixed Instance Size Allocation

Posted by: Eric Novikoff

Tagged in: Cloud 101

Print PDF

Lesson 3, "Behind The Scenes in Determining the Costs of Cloud Computing" continues with this discussion of a method of allocating cloud computing resources to customers in fixed-size chunks.  Please see the overview in Lesson 3.1 if you have not already read it.

Fixed Instance Size Allocation

This strategy is the one that existing cloud computing customers may be the most familiar with, since it was chosen by Amazon EC2, one of the pioneers in cloud computing.   Originally, Amazon offered a small selection of virtual computer configurations, or "instances": small, medium, and large.  Each one offered a fixed ratio of CPU to memory.  As customers started complaining that these ratios didn't meet their needs, Amazon divided these instances into high-CPU and high-Memory instances which offered more of the type of resource that the customer needed more of.  Currently, they offer 5 different instance sizes.  In our analogy this corresponds to a housing developer creating a limited set of house plans for a housing development: customers have to choose from a small menu of bedroom/bathroom count combinations that best meet their needs.

Amazon took a very analytic approach to finding an optimal packing strategy.   Since their instance sizes have fixed ratios of RAM to CPU, and a limited number of choices for the quantity of each, they can pack customers' applications into their servers with nearly 100% efficiency.   The problem becomes much like solving a preschool-level jigsaw puzzle, in which the pieces are pre-designed to easily fit into a nice, rectangular whole. 

 

cloud101-3-2

 

In the graphic, the large rectangle represents the server's resources (CPU and Memory), and the blue spaces represent unused resources. When a customer requests an instance, the Amazon system simply looks for a "hole" (free resources, shown in blue) in the jigsaw puzzle of one of their servers that fits the size of the "piece" (the new instance, represented by a colored rectangle).  Because the instances are all proportional to the ratio of CPU and memory built into the servers (though there may be more than one type of server depending on the variations in the offered instance types such as Amazon's High Memory Instances and High CPU Instances), the instances fit into the servers with very little unused space (called fragmentation) since new instances can always be placed into the empty spaces, so this is an efficient packing strategy.  However, the fixed size of the instances means that customers often have unused resources inside their instances since they have to always buy extra space to allow for peak or increasing load, memory leaks, or other growth in their application requirements.

 

cloud101-3-4

 

Advantages of Fixed Instance Allocation

-        Low cost per instance.  The vendor can keep their servers busy with very little server fragmentation so they are used efficiently, reducing their costs and supposedly the prices that they charge customers (as we shall see in the next lesson, this assumption is not exactly true.)

-        It is simple.  Customers can easily understand what they are getting and what they will be paying for.

Disadvantages of Fixed Instance Allocation

Unfortunately, this strategy optimizes convenience and efficiency for vendor, not for the customer.

-        Doesn't meet customers' needs without additional effort.  Much like in the years before cloud computing, where customers had to buy a physical server and then use as much of it as they needed, customers have to deal with the instance either being too small or too large for their needs.  This packing strategy moves fragmentation in the server as whole into each customers' virtual server (where they are paying for the unused resources.)

-        Complexity.  Because of limitations in the Xen virtualization system used by Amazon and many price-focused cloud vendors today, instance sizes cannot be changed on-the-fly to accommodate changes in demand.  Also, changing them while in use would destroy the efficiency of the packing strategy, much like the example with oranges of different sizes.  To solve this problem, customers have two choices, both of which cost them money.  One choice is to buy a larger instance than they need to allow for future increases in server loading, which results in paying for more than they need.  Or, the customer must use the vendor's programming interface to get more resources.  This can be done in two ways, by either moving their programs and data to larger instance when their application comes close to reaching the limits of the instance it is deployed on, or they can design their software to distribute the computing load across multiple instances and start a new one when their existing instances cannot accommodate the load.  Moving the application from one size instance to another, like moving from one house to another, is a complex process that requires either people to detect the problem and solve it manually, or other instances to detect the need for the movement and execute the steps to do so.   Similarly, adding new instances to shoulder additional load, like splitting your family into two houses, is a complex process that requires an arbitrator instance or hardware unit (called a load balancer) to send requests for work to multiple instances, as well a as manager instance that detects the need for the additional instances and starts them.   Additionally, the application software generally must be written so that it understands the scaling method, or it will fail if it is moved or duplicated.

-        Cost.  Aside from having to pay for instances that might be too large, all the extra instances that are responsible for responding to changes in loading are, of course, an extra cost to the customer.  To solve the complexity problem, a host of cottage industries or value-added-resellers (VARs) for Amazon EC2 have sprung up that do this for you.  Naturally, they also charge for their services, which include the cost of the Amazon instances necessary to provide them.

-        Analyzing cost is confusing.  Whether these extra costs exceed the savings from the low instance prices that supposedly come from the efficiency of the packing strategy depends on analyses that the customer has to make which can be very, very difficult to do accurately.  Calculating TCD is a graduate-level project that is beyond most customers' capabilities, especially when taking into account additional fees that are often charged by vendors (see Lesson 4, Cloud Pricing Strategies)

Best Customer Match for Fixed Instance Allocation

-          Customers who like the very low prices for small instances.

-          Customers whose loads don't vary much so they don't need to manage unused instance capacity.

-          Customers who are highly technical and are capable of programming around the complexity of managing multiple instances to accommodate growth in demand.

 

[ Back ]
Set as favorite
Bookmark
Email this
Hits: 2038
Trackback(0)
trackback TrackBack URI for this entry
Comments (0)add comment

Write comment
bold italicize underline strike url image quote Smile Wink Laugh Grin Angry Sad Shocked Cool Tongue Kiss Cry
smaller | bigger

security image
Write the displayed characters


busy

How to Buy

  • Submit a request for a personalized quote
  • Call us at 650-964-9100 - we'd love to hear from you!
  • Order a Virtual Machine online
  • Get a free Consultation

Learn More

  • PrimaCloud Premium Cloud Computing
  • PrimaCare Virtual IT Support & Ops Services
  • Customer Case Studies
  • ENKI Key Benefits
  • ENKI Reliability Metrics
  • Private Cloud

Customer Testimonials

  • TIN2
  • TIN1
  • Sirxia
  • Sitebuilder
  • Kashoo
  • Clarity Accounting 1
  • Email Marketing
  • Bmerica1
  • Justin ZImmerman
  • Ubuket1
  • PCLOS3
  • Ubuket 1
  • PCLOS2
  • PCLOS USER 1
  • PCLOS1

"We have experience with many cloud providers, from RackSpace, Microsoft Azure, and GoGrid. Not one of these providers comes anywhere close to the responsiveness of ENKI's team. We are so thrilled with ENKI, that we consider them a seamless extension of our business. Nearly every other supplier puts us in queue for their "tech support". I personally do not remember an instance where I could actually call a "person", not  the next waiting "customer support tech".

"Exceptional service is what separates ENKI from the rest, and we believe this partnership will continue for a very long time."

- Gene Foo, CEO The Information Network LTD

"We have been a customer of Enki since 2009. We believe we have a great idea, which is to provide end-to-end marketing communication services to small and mid size businesses. We did not realize we lacked the in-house skills to handle our system integration issues until our systems started failing. Enki dropped everything to help us solve our problems and got us up and running within hours, and identified the problems quickly, but more importantly presented us a number of solutions to prevent similar mishaps."

- Gene Foo, CEO, The Information Network LTD

You guys really rock! Happy to be aboard.

I should know I have hosted with a lot of Gartner quadrant 4 hosting providers over the years. It seems that the people you end up talking to really don’t have a clue and the tech guys who know their stuff you can’t even speak to in the first place. Read more...

Your help turned me from public enemy to rock star over night ... I thank you for your effort and expertise from the bottom of my soul!!!!

-Eric Lingenfelter, CEO Sitebuilder Corporation

"Partnering with ENKI has allowed Kashoo to focus on developing great accounting software for our customers. With the ENKI Cloud, we have seen significant savings compared to the cost of buying servers and hiring our own IT staff."

- Jim Secord, CEO Kashoo

Thanks for all your speedy help today: Certainly better than I would ever expect from your bigger competitors like google and amazon.

-Dobes Vandermeer, Clarity Accounting

ENKI has gone out of its way to accommodate our email marketing business

- Manager, email marketing customer

For our business (a web-based software and services firm for the political community), cloud computing holds the promise of 100% uptime and scalability. Already, we've found the need to make quick turns with our system, and cloud computing (via Enki) has delivered on that.

Read more...

I spent a couple of hours notating a call I recorded with Enki Consulting (partner with 3Tera) on the in’s out’s of grid computing.  Honestly after the call and listening to the conversation in full once, it is very clear to me what the future of computing will look like, and who to chose as a solution. Awesome stuff.

- Justin Zimmerman, goodmorningrealestate.com

"I wanted to personally thank you for the support you have given us over the last couple of days.  In a start-up environment there are always emergencies and stressful situations and it is a great relief to have you in our team."

-Bernardo Rodriguez  CEO, mixsic.com

Just wanted to let you know that PCLinuxOS has now hit the #1 spot at distrowatch.com displacing Ubuntu ... Thank you for helping us to achieve that.

-Devnet, PC Linux OS 

“We have been using grid services for sometime now, but we’re not grid experts. Working with ENKI allowed us to make better use of utility computing, and quickly create new applications that have had great benefit. We are more than happy with the results and I would recommend ENKI to anyone.”

-Jordi Miro Bruix, CTO Ubuket.com

Just knowing you guys are willing to work with us and not cut us off at the knees if things get busy or if we have a problem is really what Im looking for in a host.

-Texstar, PCLinuxOS

Just a note of thanks from a PCLinux user for becoming a home for PCLinuxOS. I believe it has a fine future and you will be good for it.

- C. R., PCLinuxOS User

I can't wait to tell people how great you guys have been. I hope to make you rock stars in the Linux community!

- Texstar (PCLinuxOS)

OVERVIEW
  • About PrimaCloud
  • About PrimaCare
  • Key Benefits
  • Comparing Cloud Options
HELP CENTER
  • Frequently Asked Questions
  • Contact Us For Support
  • Terms and Conditions
SELF SERVICE PORTALS
  • PrimaCloud
  • Monitoring
  • Customer Portal
  • Discount Domains & Certificates
Follow @enkicloud
LOGO_CoFounderWebsite
Copyright © 2011 ENKI LLC