{"id":43195,"date":"2016-12-22T13:55:51","date_gmt":"2016-12-22T08:25:51","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=43195"},"modified":"2016-12-22T14:41:45","modified_gmt":"2016-12-22T09:11:45","slug":"5-steps-for-effective-cloud-capacity-planning-to-avoid-extra-spending","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/5-steps-for-effective-cloud-capacity-planning-to-avoid-extra-spending\/","title":{"rendered":"5 Steps for Effective Cloud Capacity Planning to Avoid Extra Spending"},"content":{"rendered":"<p>Day by day enterprises and businesses are <a title=\"AWS migration services\" href=\"http:\/\/www.tothenew.com\/devops-aws\">moving to the cloud<\/a>. The migration is not only of the data but also of the\u00a0compute and processing. While the cloud offers the ability to use the exact amount of resources you need anytime and pay only for the resources used, the challenge still exists. Over-provisioning and paying for the\u00a0unused capacity of the cloud servers is a common issue that is affecting the businesses nowadays. Right Size Cloud Capacity is very necessary to decrease the cloud cost and optimizing the usage level of the cloud.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-44270 aligncenter\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/Cloud-300x300.jpg\" alt=\"Cloud\" width=\"288\" height=\"288\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/Cloud-300x300.jpg 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/Cloud-150x150.jpg 150w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/Cloud-624x624.jpg 624w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/Cloud.jpg 1024w\" sizes=\"(max-width: 288px) 100vw, 288px\" \/><\/p>\n<p>Right Size Cloud Capacity needs to be maintained properly. It depends on the application which is being hosted on the server. The application load and the load distribution can be varied with time. The cloud instance must be able to handle the application traffic without causing any downtime. To handle the spike or increase in traffic, the <a title=\"Cloud Architects\" href=\"http:\/\/www.tothenew.com\/devops-automation-consulting\">cloud architects<\/a> are left with two options: vertical and horizontal scaling. The vertical scaling causes the instance to be rebooted and could mean an interruption in service causing dissatisfied users. While on the other hand, the horizontal scaling ensures high availability with zero downtime. But at the same time, scaling doesn\u2019t guarantee the right size of the cloud. For instance, your application needs 4 GB of ram and you have an instance that gives 2 core with 4 GB ram and other that gives 4 core with 8 GB of ram. To give 5 GB availability of ram to your application, you would have to host it on the latter instance even if the application is not utilizing the single core. This creates the wastage of resource and cost. Choice of cloud provider with desired capacity instance also plays an adequate role in maintaining the right size of the cloud instance.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-44271 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/Vertical.png\" alt=\"Vertical Scaling of Cloud\" width=\"794\" height=\"464\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/Vertical.png 794w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/Vertical-300x175.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/Vertical-624x364.png 624w\" sizes=\"(max-width: 794px) 100vw, 794px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Right Size Cloud Capacity can be obtained by following the below steps:<\/p>\n<p>1. <strong>Using a Cloud Billing Tool &#8211;<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-44268 aligncenter\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/AWSCalculator-300x225.png\" alt=\"AWSCalculator\" width=\"300\" height=\"225\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/AWSCalculator-300x225.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/AWSCalculator.png 610w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>A good cloud billing tool helps in deciding the type of the cloud instance. The instance type is chosen,\u00a0keeping the type of applications to be hosted on it. An optimized type of <a href=\"http:\/\/www.tothenew.com\/blog\/amazon-ec2-container-service-ecs-docker-container-managment\/\">EC2 instance<\/a> should be chosen which not only saves the cost but also provisions the resource such that it does not create\u00a0the wastage. The instance must neither be over-provisioned nor be under-provisioned. A good Cloud billing tool helps in choosing the right type of instance both in terms of size and cost. For example, AWS Cost calculator gives you the instance yearly, cost depending upon the instance type being chosen.<\/p>\n<p>2. <strong>Using short-term instances for short-term needs<\/strong> &#8211;<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-44269 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/Spot.png\" alt=\"Web Application Architecture\" width=\"1117\" height=\"602\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/Spot.png 1117w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/Spot-300x161.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/Spot-1024x551.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/Spot-624x336.png 624w\" sizes=\"(max-width: 1117px) 100vw, 1117px\" \/><\/p>\n<p>The resources required for a short-term project can be fulfilled by using bidding instances or spare instances checking with the cloud provider. There is no need for provisioning a resource for a longer duration when there is only a short-term need for the instance. Provisioning a resource for a longer duration satisfies the compute requirement but at the same time creates wastage of resource, keeping the instance idle. For short-term needs, the instances must not be provisioned well in advance.<\/p>\n<p>The cloud provider must be checked for the spare set of instances. For example, Amazon Web Services gives you an option of <a title=\"Elasticsearch Cluster with AWS Spot Instances\" href=\"http:\/\/www.tothenew.com\/blog\/elasticsearch-cluster-with-aws-spot-instances\/\">spot instances<\/a>. The spot instances can be launched at less than half of the instance cost and are well-suited for short-term needs. This allows users to access resources for a shorter time-frame at a discounted price.<\/p>\n<p>3.<strong> Cloud spending doesn\u2019t need to be a guessing game<\/strong> &#8211; Cloud spending must be done properly. It doesn\u2019t need to be a guessing game. Each workload must be evaluated prior to its consolidation to ensure that it meets CPU, storage, network, bandwidth, I\/O, memory requirements. These requirements must then be combined to choose the desired virtualised server. The instances of adequate size, capacity, storage, network etc. must be chosen with proper testing and optimization. The workload must be tested. The threshold capacity of the application to be hosted must be calculated properly.<\/p>\n<p>4. <strong>Ensuring cloud resiliency while migrating applications<\/strong> &#8211; <a title=\"Migrating The Applications Between Two Cloud Platforms\" href=\"http:\/\/www.tothenew.com\/blog\/10-things-to-keep-in-mind-while-migrating-the-applications-between-two-cloud-platforms\/\">Before migrating the applications<\/a> to the cloud make sure your data center can support the cloud&#8217;s resiliency and high availability. It must be done to avoid additional application redesign costs and maintaining right size cloud capacity.<\/p>\n<p>5. <strong>Performing cost assessment and understanding TCO<\/strong> &#8211; It is done to maintain right size and trim further cloud expenses.<br \/>\n<strong><em>Right Size Workload ensures Right Size Cloud Capacity:<\/em><\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-44272 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/RightWorkload.png\" alt=\"Cloud Capacity Planning\" width=\"1024\" height=\"343\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/RightWorkload.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/RightWorkload-300x100.png 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/RightWorkload-624x209.png 624w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>The <a title=\"Cloud Infrastructure Monitoring Using Datadog\" href=\"http:\/\/www.tothenew.com\/blog\/datadog\/\">performance monitoring<\/a> and capacity planning strategies must be followed to ensure right size workload. Before setting up the cloud environment, the sufficient data must be collected. Not only the CPU and memory metrics but also, the I\/O and storage needs must be collected. The server configurations must also be documented.<\/p>\n<p>Capacity planning requires estimating server workloads, application performance objectives and selecting the correct instance type. The selection must be done such that there is no wastage of resource and cloud cost.<\/p>\n<p>For ensuring the right size workload, the application must be pass through <a title=\"Load Testing Using AWS EC2 Instances\" href=\"http:\/\/www.tothenew.com\/blog\/master-slave-load-testing-using-aws-ec2-spot-instances\/\">load testing<\/a> and different other tests. The application must be run in desired server environment and thus the right size of the cloud instance should be chosen which doesn\u2019t interfere even in scalability.<\/p>\n<p><em><strong>Choosing the right size cloud instance<\/strong><\/em><\/p>\n<p>It is nowadays a common problem that the cloud servers are running with major percentage capacity sitting idle. For example, an application is running in autoscaling environment with 5 desired servers which are at 30% capacity and 70% capacity of the server is sitting idle. As a result, even with the new instances coming up, the server will be in the idle condition which results in wastage of resources. The solution is to <a title=\" automated mobile app testing\" href=\"http:\/\/www.tothenew.com\/testing\/automated-mobile-application-testing\">test the application<\/a> beforehand and use servers with almost 10% idle capacity. Most of the organizations nowadays use basic peak demand forecasting to determine requirements cloud compute capacity. The right size cloud instance must be chosen else the same problem is encountered which is encountered by the under-utilized servers in the datacenter.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-44319 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/cloud_testing.jpg\" alt=\"cloud testing\" width=\"768\" height=\"311\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2016\/12\/cloud_testing.jpg 768w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/cloud_testing-300x121.jpg 300w, \/blog\/wp-ttn-blog\/uploads\/2016\/12\/cloud_testing-624x252.jpg 624w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/p>\n<p>Right Size Cloud Capacity to avoid extra spending must be ensured in today\u2019s era. Most of the organizations are switching to the cloud enjoying its low-cost advantages but at the same time, they are unaware of the fact that the cost can further be optimized. The under-utilization of servers must be taken care of to avoid extra spending. In <a title=\"TO THE NEW\" href=\"http:\/\/www.tothenew.com\">our organization<\/a>, we also make use of the concept of reserved instances (reserving instances beforehand decreasing further cost) and spot instances ( using spare cloud instances at low cost for applications that can afford minimal downtime).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Day by day enterprises and businesses are moving to the cloud. The migration is not only of the data but also of the\u00a0compute and processing. While the cloud offers the ability to use the exact amount of resources you need anytime and pay only for the resources used, the challenge still exists. Over-provisioning and paying [&hellip;]<\/p>\n","protected":false},"author":163,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":14},"categories":[1174,2348,1772,3917,1],"tags":[4318,4321,4328,4327,3233,4319,4320,4317],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/43195"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/163"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=43195"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/43195\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=43195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=43195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=43195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}