What is our primary use case?
I have been working with Amazon EC2 Auto Scaling, implementing it for multiple organizations that require zero downtime in their production environments. Whenever demand is high, they want to scale the Amazon EC2 service to a higher level so that traffic can be routed to all other instances and customers can access the applications running over it.
I have been working with Amazon EC2 Auto Scaling for the past eight years.
What is most valuable?
I have extensive experience handling Amazon EC2 and S3 buckets. These services are convenient, and I have been working with them for the past nine plus years. Additionally, for project management, I have been using Jira, Confluence, and Microsoft Project.
We can specify the minimum and maximum number of instances that need to be scaled. We can also set up conditions, such as triggering instance creation when the current Amazon EC2's CPU utilization exceeds 75% of workload. This serves as a hook or trigger to create the number of instances specified in the configuration. The ability to specify minimum and maximum instance numbers during configuration is the best feature of Amazon EC2 Auto Scaling.
Regarding on-demand scaling, we can set conditions so the system responds quickly to needs. When one system experiences high traffic, the on-demand feature automatically creates new instances based on our inputs. The Amazon Machine Image (AMI) contains the operating system and configuration of the original instances. This pre-configuration makes on-demand scaling refined, and the configuration includes automatic traffic distribution because when the first system is overloaded, new incoming traffic is redirected to the newly created systems.
What needs improvement?
Customizable policies help us determine how scaling should occur. In enterprise environments such as healthcare or banking with numerous instances running different applications, customizable policies allow appropriate scaling. For critical servers, we can set up a higher number of new instances to scale out to prevent downtime. For less critical servers that perform simple tasks such as file copying, we can use customizable policies to scale out minimal instances to avoid unnecessary expenses or cloud costs.
Regarding integration, there are some disadvantages in AWS where certain availability zones or regions experience glitches. This can cause production halts because of problems on Amazon's side. In particular regions, when integrating Amazon EC2 Auto Scaling or other services, there might be delays in creating new Amazon EC2 instances, sometimes becoming inefficient.
For how long have I used the solution?
I have used it more than a year ago.
What do I think about the stability of the solution?
I have integrated CloudWatch as it serves as a trigger mechanism. When configured, CloudWatch automatically monitors different metrics such as CPU and memory through its dashboard settings and triggers actions accordingly.
CPU is the most important metric, and 75% utilization is a good threshold for implementing Amazon EC2 Auto Scaling. When utilization spikes around 90%, the system struggles significantly and customers may experience application unavailability.
In my projects, resilience worked effectively based on clear, crisp configuration. The most important aspect is ensuring Amazon EC2 Auto Scaling operates automatically rather than manually. It should automatically scale out systems during high demand and scale in new instances when demand decreases. Cost is another crucial factor because without proper conditions and scale-in processes, instances will continue running, increasing expenses for new systems or services created. The resilience I focus on ensures both scale-in and scale-out operations are performed perfectly through configurations.
How was the initial setup?
The setup complexity depends on the services. Some services are straightforward with guidance provided by AWS itself. However, for advanced services such as Lambda, there are no clear-cut definitions or guidance from Amazon. Customers need to refer to official documentation because we exist in an environment of emerging technologies. Referring to old documentation for creating or maintaining services can be time-consuming. If Amazon unified their guidance for all services and provided step-by-step platform instructions, it would be very helpful. While some services have straightforward initial setup, many require special expertise or reference to documentation and learning videos.
What was our ROI?
Other technologies can be discussed based on what is convenient and applicable.
What's my experience with pricing, setup cost, and licensing?
Regarding licensing and setup costs, we always study in detail using lower environments such as User Acceptance Testing or sandbox environments. Before creation, we consult AWS official documentation for pricing and connect with AWS business development managers. In some projects, incorrect decisions were made by not consulting them first, resulting in higher setup and maintenance costs. After receiving unexpected bills, we spoke with the AWS team who helped revise payments where possible and advised on proper planning for setups, including considerations for multiple accounts and different instance types.
Which other solutions did I evaluate?
I have worked with Azure.
Comparing AWS and Azure, AWS has numerous services that are not practical, as not all organizations utilize them. While AWS aims to create an ecosystem covering most industries, many services remain unused. Azure focuses on enterprise solutions, particularly in regions such as UAE where they are chosen as official partners for cybersecurity implementation. Azure has created many security-related solutions utilized globally by organizations. This focused approach is a pro for Azure, whereas AWS offers variety but many services go unnoticed.
An advantage for Amazon and disadvantage for Azure is that Amazon encourages customer growth by providing free tier accounts, allowing easy creation and access to specific services for learning purposes. While Azure initially offered this opportunity, they have made it more limited, restricting free tier account creation.
What other advice do I have?
Integration of Generative AI could enhance Amazon EC2 Auto Scaling by automatically checking and making decisions for instance management, preventing inactive status issues. This approach could be a promising long-term option for AWS as a GenAI focused cloud solution provider.
We purchase from AWS Marketplace and follow a pay-as-you-go billing model based on usage.
We experienced situations where instances were not scaling out at expected times. After creating a support ticket, technical specialists from Amazon identified issues with our selected region and asked us to test in other regions. The problem did not occur in other regions, and they informed us of ongoing patches to fix bugs in the affected region. Though we migrated to another region, we later learned that Amazon had fixed the issues.
I suggest exploring both Amazon EC2 Auto Scaling and Azure because Azure's user interface is superior. Organizations prioritizing good user interface should consider Azure, while those less concerned with UI can choose Amazon EC2 Auto Scaling as both services offer similar functionality.
I rate this solution 8 out of 10.
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Amazon Web Services (AWS)