Keep Cloud Operations In Top Shape This Summer With Automation
Tags: cloud, automation, kubernetes, devops
Published: 2022-07-08 11:47:10

<!-- wp:paragraph -->
<p>A <a href="https://www.gartner.com/en/documents/3989807/the-cloud-infrastructure-and-platform-services-skills-i-" target="_blank" rel="noreferrer noopener">Gartner survey</a> of infrastructure and operations leaders revealed that <strong>58% of them deal with insufficient skills and resources for cloud optimization</strong> on a regular day. What happens when the summer rolls around and engineers start taking time off en masse?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Every cloud operations team knows that summertime comes with changes in seasonal demand patterns.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>On one hand, there are<strong> fewer engineers</strong> around to keep an eye on cloud resources. On the other, the <strong>demand for service might be lower</strong> because other people flock to vacation destinations as well.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Scaling cloud resources down in line with that changing demand is critical to keep your OPEX low and utilization high. But how do you make that happen when a big chunk of your team is out of the office?</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 id="h-how-to-manage-the-cloud-when-your-engineers-are-gone">How to manage the cloud when your engineers are gone</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>One proven method of bridging the cloud skills gap in the industry is using managed service providers and solutions. Such solutions bring know-how, process maturity, and established toolsets that improve cloud usage across many acres, from security to cost-efficiency.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Such solutions can help your team with both tactical and technical initiatives, providing expertise with specific cloud issues - for example, cloud cost management and optimization.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Many managed solutions rely on automation</strong>. The idea is to automate processes for repeatable tasks like resource provisioning or monitoring and free up engineers for other, more impactful activities. Instead of spending time on mundane, manual tasks, they can focus on more strategic work and increase system standardization while optimizing team resources.&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The fintech company <a href="https://cast.ai/case-study/delio/">Delio</a> automated the process of scaling Kubernetes clusters to get it done automatically in minutes, saving plenty of engineer time:</p>
<!-- /wp:paragraph -->

<!-- wp:quote -->
<blockquote class="wp-block-quote"><p>Before implementing CAST AI, bumping up an instance size was a bit of a pain. Now I can decide to add another instance or increase its size, and the platform does it automatically for me. We used to have four or five people involved in managing this, now they’re free to do other stuff, which is great.</p><cite>Alex Le Peltier, Head of Technology Operations at Delio</cite></blockquote>
<!-- /wp:quote -->

<!-- wp:heading -->
<h2 id="h-reduce-capacity-in-times-of-low-demand">Reduce capacity in times of low demand&nbsp;</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Using an automation tool that comes with an abstraction layer frees teams from the complexity of dealing directly with cloud solutions. Shift to an out-of-the-box cloud setup that scales automatically and you’ll be on the way to smoother management and cost savings.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Every cloud operations team has this one task: provisioning cloud resources. And every team knows there’s much more to that than it seems. Typically, you need to:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li><strong>Identify the minimum requirements </strong>of the application across all compute dimensions including CPU (architecture, count, and the choice of processor), Memory, SSD, and network connectivity.&nbsp;</li><li><strong>Pick the right instance type </strong>from various combinations of CPU, memory, storage, and networking capacities. Sounds like a piece of cake? AWS has <a href="https://cast.ai/blog/400-ec2-instance-types-the-good-the-bad-and-the-ugly/">400+ instances</a> available!</li><li><strong>Select the instance size</strong> to make sure that it matches your application requirements and doesn’t break your wallet. You need to aim for just enough capacity, and that’s hard.</li><li>Once you know which instances you need, it’s time to <strong>review different pricing models</strong>: on-demand, Reserved Instances, Savings Plans, spot instances, and dedicated hosts. Each comes with its pros and cons – and your choice will have a massive impact on your cloud bill.</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p><a href="https://cast.ai/blog/cloud-automation-in-2021-the-new-normal-in-the-tech-industry/">Cloud automation</a> solutions step in to handle all of these tasks:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>selecting the right cloud resources,&nbsp;</li><li>rightsizing them to avoid overprovisioning,&nbsp;</li><li>scaling them up and down in real time to match the changing demand,</li><li>and decommissioning them they’re no longer needed (no more orphaned instances or shadow IT!).</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph {"fontSize":"body-16"} -->
<p class="has-body-16-font-size"><img src="https://lh4.googleusercontent.com/YhIXuO6xg8IwHc37ciE3cYrmxH0_t_0PxbB6RHARo61xc-orFb0RU5jZj1mZeob5WDHcxScyU7xbodYgukRapsucXaPeWI1ohNCahPvEDO9GVi_x86n1NGqY_rVUPZ-67rF44m0fiwMhwTqwzsY" alt="cloud native cloud cost optimization" style="width: 1200px;"></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Cloud operations teams know first-hand how much management overhead the cloud generates. No wonder mature, cloud-native companies like Delio <strong>use automation to free engineers from this burden</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>“We were running on T-type EC2 instances and scaling them a lot during our operation. At the beginning, we used AWS autoscalers and then added Azure into the mix. Keeping an eye on it all became difficult. Are we using the right instances for the right job? Do we have to create more node groups? Is something not working because we’ve run out of space? Answering all of these questions and applying fixes became a time-consuming issue for our team,” said Alex Le Peltier.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2 id="h-prepare-your-cloud-infrastructure-for-the-summer">Prepare your cloud infrastructure for the summer</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Here’s how you prepare for the summer season: <strong>equip engineers with an automation solution </strong>and sleep well at night, knowing that your infrastructure is taken care of from a cost standpoint.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you use Kubernetes, look into managed platforms that specialized in <a href="https://cast.ai/blog/guide-to-kubernetes-autoscaling-for-cloud-cost-optimization/">Kubernetes autoscaling</a>. For example, CAST AI includes Kubernetes-specific automation mechanisms that make scaling up and down easier:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li><strong>Autoscaling</strong> – using business metrics, the platform generates the optimal number of required pod instances. Next, it scales the replica count of pods up and down and removes all pods if there’s no work to be done. This is how CAST AI ensures that the number of nodes in use matches the application’s requirements at all times.</li><li><strong>Headroom policy</strong> – what happens if a pod suddenly requests more CPU or memory than the resources available on any of the nodes? The autoscaler can easily match the demand by keeping a buffer of spare capacity.&nbsp;</li></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Check out this graph showing the difference between resources requested vs. provisioned (for both CPU and memory). See how it shrank once the team turned the automated scaling on?&nbsp;</p>
<!-- /wp:paragraph -->

<!-- wp:image -->
<figure class="wp-block-image"><img src="https://lh6.googleusercontent.com/NAjMeOwk5lgFxywOS_MY99tkbUsh-1uazSICu9QlGTJ9xD9ZtGLItZ1k865oyJWHIkZOEHcfADOAIEpI0xuEJKtITrpGfaf1pM2Y36sHtL7_zOI5kLJqDVotnhM3wcRBE4vgLFmysoGjsYZ7gJQ" alt=""/></figure>
<!-- /wp:image -->

<!-- wp:heading -->
<h2 id="h-over-to-you">Over to you</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Check how well your cluster is doing in terms of autoscaling and cost-efficiency by running the free savings report – it works with Amazon EKS, Kops, GKE, and AKS.</p>
<!-- /wp:paragraph -->

<!-- wp:block {"ref":7608} /-->