Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Auto Scaling: The Dynamic Cloud Made Easy [Video]

DZone's Guide to

Auto Scaling: The Dynamic Cloud Made Easy [Video]

This video on dynamic cloud infrastructure includes tips for scalability, auto scaling, and transitioning from a static infrastructure.

· Cloud Zone
Free Resource

Site24x7 - Full stack It Infrastructure Monitoring from the cloud. Sign up for free trial.

At New Relic, we talk a lot about the dynamic cloud. The dynamic cloud is the primary method of implementing a dynamic infrastructure, which allows enterprises to build highly flexible, highly available applications that can meet nearly any scaling need.

Not sure what the dynamic cloud is? Take a look at the video below for some background on static cloud versus dynamic cloud:

But what exactly does it mean to be dynamic in this context?

Trust the Process

It turns out that the dynamic cloud is not a thing, but a process. It’s the process of consuming cloud-based resources dependent on the needs of the application at that moment. As the needs of the application change, such as when traffic to the application increases, the resources allocated to the application change to match.

This dynamic allocation can cover almost any resource, but one of the classic—and easiest to use—examples of dynamic cloud infrastructure is the ability of an application to increase or decrease the number of servers allocated to it dynamically based on traffic needs. The easiest way to implement such a dynamic allocation mechanism is to use a capability known as Auto Scaling.

The Fundamentals of Auto Scaling

The fundamental principle behind Auto Scaling is that a service monitors a particular characteristic of an application—something like the number of requests an application is handling per second—and uses that information, along with a set of governing rules specific to the application, to determine an optimum number of servers to run the application. The infrastructure of the application then automatically adjusts the number of servers the application is actually running on to match that optimum number. Basically, the application dynamically adds or removes servers from the application infrastructure in order to balance the needs of the application against the costs of running the application.

Amazon Web Services, for example, has an Auto Scaling service that performs this capability. You specify the metrics you want to use to determine the proper size for the application, along with the rules necessary to determine the specific optimal number of servers, and Auto Scaling automatically launches and terminates servers as needed to meet that optimal number. Newly created servers are automatically provisioned and configured to run the application required, and Auto Scaling can also automatically perform standard actions such as adding and removing servers from the application load balancer as needed.

Scaling for Your Digital Moments of Truth

Think for a minute about the most important moments for your digital business—your digital moments of truth. Think about the needs of your business and imagine the times when the largest number of your customers need to interact with you the most. Do you have enough servers allocated to satisfy the load requirements for all those customers? With a properly configured Auto Scaling service, you can enable the infrastructure itself to automatically manage itself to meet your needs—even at the most critical moments—and you can rest assured that when your application needs additional resources, those resources will be available.

Auto Scaling is but one example of the dynamic cloud implementing a dynamic infrastructure in order to allow your application to scale to meet your digital moments of truth. There are plenty of other ways as well, including dynamic computing using services such as AWS Lambda, and dynamic allocation of queues, buckets, and other data paths. What do all of these methods have in common? They all require resources that are dynamically created and destroyed automatically by your application infrastructure.

Related Dynamic Cloud Resources

This article was originally posted on the New Relic blog.

Site24x7 - Full stack It Infrastructure Monitoring from the cloud. Sign up for free trial.

Topics:
cloud ,auto scaling ,dynamic cloud ,cloud infrastructure

Published at DZone with permission of Lee Atchison, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}