AN APPROACH FOR PREVENTING OVERLOAD OF THE EC2 SERVICE

Authors

  • Evgeni Andreev Department of Information Technologies, Nikola Vaptsarov Naval Academy, Varna, Bulgaria
  • Desislava Valcheva Department of Information Technologies, Nikola Vaptsarov Naval Academy, Varna, Bulgaria

DOI:

https://doi.org/10.68302/std2026.vol3.118

Keywords:

Auto Scaling, Boto3 library, Cloud technologies, Virtual machines

Abstract

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. Compared to the manual configuration through the AWS console, the proposed approach groups all required steps into a single Boto3 script that creates the Launch Template, the Auto Scaling Group and the Scaling Policy in one run. The block diagrams visualise both scaling workflows in a unified form, and the scripted procedure can be executed on a schedule through cron, which makes the solution suitable for use in the training of cadets and students at the Nikola Vaptsarov Naval Academy.

Downloads

Download data is not yet available.

References

[1] T. Erl, R. Puttini, and Z. Mahmood, Cloud Computing: Concepts, Technology & Architecture. Upper Saddle River, NJ, USA: Prentice Hall, 2014. ISBN: 978-0133387520.

[2] S. Cambric and M. T. Ratemo, Cloud Auditing Best Practices: Perform Security and IT Audits across AWS, Azure, and GCP by Building Effective Cloud Auditing Plans. Birmingham, UK: Packt Publishing, 2023. ISBN: 978-1803243771.

[3] P. Mell and T. Grance, “The NIST Definition of Cloud Computing,” National Institute of Standards and Technology, NIST Special Publication 800-145, 2011. [Online]. Available: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-145.pdf [Accessed: Apr. 25, 2026], https://doi.org/10.6028/NIST.SP.800-145.

[4] D. Carter, CCSP Certified Cloud Security Professional All-in-One Exam Guide, 3rd ed. New York, NY, USA: McGraw-Hill, 2022. ISBN: 978-1264842209.

[5] C. Bravo and D. Kitchen, Mastering Defensive Security: Effective Techniques to Secure Your Windows, Linux, IoT, and Cloud Infrastructure. Birmingham, UK: Packt Publishing, 2021. ISBN: 978-1800208162.

[6] C. Dotson, Practical Cloud Security: A Guide for Secure Design and Deployment. Sebastopol, CA, USA: O’Reilly Media, 2019. ISBN: 978-1492037514.

[7] Amazon Web Services, “AWS Documentation.” [Online]. Available: https://docs.aws.amazon.com/ [Accessed: Apr. 25, 2026].

[8] D. Dimitrova, “An analytical model for multi-criteria evaluation of IoT application layer protocols,” in Proc. 8th Int. Symp. Innovative Approaches in Smart Technologies (ISAS), Istanbul, Turkey, 2024. IEEE. ISBN: 9798331540104, https://doi.org/10.1109/ISAS64331.2024.10845381.

[9] D. Dimitrova, “Evaluating the effectiveness of practical exercises in cryptography and authentication courses of cybersecurity education,” Mathematics and Education in Mathematics, vol. 54, pp. 118–124, 2025, https://doi.org/10.55630/MEM.2025.54.118-124.

[10] R. Buyya, C. Vecchiola, and S. T. Selvi, Mastering Cloud Computing. New York, NY, USA: McGraw-Hill Education, 2013.

[11] D. Dimitrova, “Selection and justification of criteria for comparative analysis of lightweight ciphers,” Mathematics and Informatics, vol. 66, no. 5, pp. 534–542, 2023, https://doi.org/10.53656/math2023-5-8-sel.

[12] “What is Amazon EC2 Auto Scaling?” [Online]. Available: https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html [Accessed: Apr. 25, 2026].

[13] “Cron-job.org.” [Online]. Available: https://cron-job.org/en/ [Accessed: Apr. 25, 2026].

Downloads

Published

17.09.2026

How to Cite

[1]
E. Andreev and D. Valcheva, “AN APPROACH FOR PREVENTING OVERLOAD OF THE EC2 SERVICE”, SysTechDev, vol. 3, pp. 13–17, Sep. 2026, doi: 10.68302/std2026.vol3.118.