Speakers
Description
The aim of this article is to present an approach for preventing service overload in Elastic Compute Cloud (EC2) within Amazon Web Services (AWS). The study analyzes methods for preventing overload of virtual machines in AWS EC2 by comparing vertical and horizontal scaling. Developed block diagrams are presented to visually illustrate the architecture and processes involved in dynamic resource management. A practical implementation of horizontal scaling of virtual machines is also provided. For this purpose, a Python script using the boto3 library has been developed, which fully automates the configuration of key cloud components such as Launch Template, Auto Scaling Group, and Scaling Policy. The proposed solution minimizes the need for manual intervention, protects cloud-based systems from failures during peak loads, and ensures the development of a resilient, flexible, and cost-effective infrastructure.