Климюк, Ю. Є. (2025) АВТОМАТИЗАЦІЯ ПРОЦЕСУ СТВОРЕННЯ ВІРТУАЛЬНОЇ МАШИНИ LINUX ІЗ СЕРВЕРОМ NGINX ТА СТАТИЧНИМ ВЕБЗАСТОСУВАННЯ НА ПОРТАЛІ MICROSOFT AZURE. Вісник Національного університету водного господарства та природокористування (1(109)). с. 214-228.
|
Text
Vt4202518.pdf Download(994kB) |
Анотація
Автоматизацію процесу створення віртуальної машини Linux із сервером Nginx та статичним вебзастосуванням на порталі Microsoft Azure реалізовано за допомогою скрипта Bash з використанням команд Azure CLI Bash. У якості прикладу статичного вебзастосування створено вебзастосування «Cписок завдань» з використанням мов HTML і СSS. У скрипті Bash використано команди Azure CLI Bash для створення віртуальної машини (та інших ресурсів, пов’язаних з нею), перегляду списку створених ресурсів, встановлення на віртуальну машину сервера Nginx, створення правила, що дозволяє доступ через TCP-порт 80 (HTTP), зміни прав доступу до папки /var/www/html віртуальної машини, копіювання файлів вебзастосування з локальної папки html до папки /var/www/html віртуальної машини та отримання URL-адреси вебзастосування. Використання розробленого скрипта Bash на практиці дозволяє автоматизувати процес створення віртуальної машини Linux із сервером Nginx та статичним вебзастосуванням на порталі Microsoft Azure і забезпечує швидше отримання належного результату.
Title in English
AUTOMATION OF THE PROCESS OF CREATING A LINUX VIRTUAL MACHINE WITH NGINX SERVER AND STATIC WEB APPLICATION ON THE MICROSOFT AZURE PORTAL
English abstract
The automation of the process of creating a Linux virtual machine with an Nginx server and a static web application on the Microsoft Azure portal was implemented using a Bash script with Azure CLI Bash commands. As an example of a static web application, a "To-Do List" web application was created using HTML and CSS. The Bash script uses Azure CLI Bash commands to create a virtual machine (and other resources associated with it), view the list of created resources, install Nginx on the virtual machine, create a rule that allows access through TCP port 80 (HTTP), change access permissions to the /var/www/html folder of the virtual machine, copy the web application files from the local html folder to the /var/www/html folder of the virtual machine, and get the URL of the web application. For ease of debugging the Bash script, the commands are implemented using pre created environment variables: for the resource group, location, virtual machine name, virtual machine image, and user account required to create the virtual machine and other resources associated with it; for the network security group, required to create a rule that allows access via TCP port 80 (HTTP), and to view the list of rules associated with the network security group; for the public IP address of the virtual machine, required to change access permissions to the /var/www/html folder of the virtual machine, copy the web application files from the local html folder to the /var/www/html folder of the virtual machine, and obtain the web application URL. Also, in the Bash script, to ensure the convenience of the debugging process, comments and commands are used to display informative messages on the screen. The creation and debugging of the "To-Do List" web application and the Bash script were carried out on a local computer using Azure CLI, Git Bash and the Visual Studio Code editor. In practice, the use of the developed Bash script automates the process of creating a Linux virtual machine with an Nginx server and a static web application on the Microsoft Azure portal, ensuring faster achievement of the desired result.
| Тип елементу : | Стаття |
|---|---|
| Ключові слова: | автоматизація; скрипт; команда Azure CLI Bash; віртуальна машина; вебзастосування; портал Microsoft Azure; automation; script; Azure CLI Bash command; virtual machine; web application; Microsoft Azure portal |
| УДК: | 004.512 |
| Бібліографічний опис: | Климюк Ю. Є. Автоматизація процесу створення віртуальної машини Linux із сервером Nginx та статичним вебзастосуванням на порталі Microsoft Azure / Ю. Є. Климюк // Вісник НУВГП. Технічні науки : зб. наук. праць. - Рівне : НУВГП, 2025. - Вип. 1(109). - С. 214-228. |
| Тематики: | Видання університету > Вісник НУВГП > серія "Технічні науки" > 2025 > Вісник 1 Видання університету > Вісник НУВГП > серія "Технічні науки" > 2025 |
| Користувач, що депонує: | С. Й. Гипчинська |
| Дата внесення: | 19 Бер 2026 09:51 |
| Останні зміни: | 19 Бер 2026 09:51 |
| URI: | http://ep3.nuwm.edu.ua/id/eprint/36771 |
![]() |
Перегляд елементу |
Завантажень
Завантажень за місяць протягом останнього року


Статистика завантажень
Статистика завантажень