์ „์ฒด ๊ธ€ 50

vSphere : ๋ผ์šฐํ„ฐ ์„ค์ •

๋ผ์šฐํ„ฐ ์ ‘๊ทผ image ์„ค์น˜ ๊ธฐ์กด vyos iso ํŒŒ์ผ -> vmware tools iso ํŒŒ์ผ๋กœ ๋ณ€๊ฒฝ mount ํ›„ ํ™•์ธ ์••์ถ•ํ•ด์ œ ํ›„ ํŒŒ์ผ ํ™•์ธ vmware tools ์„ค์น˜ 03.Configure_Router.yaml## https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_vm_shell_module.html#ansible-collections-community-vmware-vmware-vm-shell-module---- hosts: localhost vars_files: ./vars.yaml tasks: - name: VyOS Router Configuration community.vmware.vm..

VMware vSphere 2024.05.31

vSphere : IaC์—์„œ ์Šค์œ„์น˜ ๋ฐ ๋ผ์šฐํ„ฐ ์„ค์น˜

yaml ํŒŒ์ผ ํด๋” ๊ฒฝ๋กœ yaml ํŒŒ์ผ ์‹คํ–‰ ํ”„๋กœ๊ทธ๋žจ   1. ์Šค์œ„์น˜ ์ƒ์„ฑ : 01.Create_Lab_Swtich.yaml ## https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_vswitch_module.html#ansible-collections-community-vmware-vmware-vswitch-module ## https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_portgroup_module.html ---- hosts: localhost vars_files: ./vars.yaml tasks: - name: Cr..

VMware vSphere 2024.05.31

3tier Web Server Http -> Nginx ๊ตฌํ˜„

3 Tier Architecture๋ž€ํ•œ ํ”Œ๋žซํผ์„ 3๊ณ„์ธต์œผ๋กœ ๋‚˜๋ˆ„์–ด ๋ณ„๋„์˜ ๋…ผ๋ฆฌ์ /๋ฌผ๋ฆฌ์ ์ธ ์žฅ์น˜์— ๊ตฌ์ถ• ๋ฐ ์šด์˜ํ•˜๋Š” ํ˜•ํƒœ์ด๋‹ค.์„œ๋ฒ„ ํ•œ ๋Œ€์— ๋ชจ๋“  ๊ธฐ๋Šฅ์„ ๊ตฌ์ถ•ํ•˜๋Š” ๊ฒƒ์ด ์•„๋‹ˆ๋ผ ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅํ•˜๊ณ  ์ฝ๋Š” ๋ฐ์ดํ„ฐ ๊ณ„์ธต, ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜๋ฆฌํ•˜๋Š” ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ณ„์ธต, ๊ทธ๋ฆฌ๊ณ  ๋ฐ์ดํ„ฐ๋ฅผ ํ‘œํ˜„ํ•ด์ฃผ๋Š” ํด๋ผ์ด์–ธํŠธ(ํ”„๋ ˆ์  ํ…Œ์ด์…˜) ๊ณ„์ธต๊ณผ ๊ฐ™์ด ๊ฐ๊ฐ 3๊ณ„์ธต์œผ๋กœ ๋‚˜๋ˆ„์–ด ๊ฐ๊ฐ์˜ ๊ธฐ๋Šฅ์œผ๋กœ ๋ณ„๋„์˜ ๋…ผ๋ฆฌ์ /๋ฌผ๋ฆฌ์ ์ธ ์žฅ์น˜์—์„œ ์šด์˜ํ•˜๋Š” ๋ฐฉ์‹์ด๋‹ค.WEB, WAS, DB ์„œ๋ฒ„๋ฅผ ๋ฌผ๋ฆฌ์ ์œผ๋กœ ๋‚˜๋ˆ„์–ด ๊ตฌ์„ฑํ•˜๊ณ  ๊ฐ๊ฐ์˜ ์„œ๋ฒ„์—์„œ ๋ณ€ํ™”๊ฐ€ ์ผ์–ด๋‚˜๋”๋ผ๋„ ์„œ๋กœ ์˜ํ–ฅ์„ ๋ฐ›์ง€ ์•Š๊ณ ๋…๋ฆฝ์ ์œผ๋กœ ์šด์˜๋œ๋‹ค.   โ— ๊ธฐ์กด 3tier ๊ตฌ์„ฑ๋„(๋ชจ๋“  ์„œ๋ฒ„ rocky9 ๊ธฐ์ค€)๊ธฐ์กด ๊ตฌ์„ฑํ–ˆ๋˜ 3tier๋Š” httpd ์„œ๋ฒ„/php-fpm ์„œ๋ฒ„/OracleDB๋กœ ์‹คํ–‰๋œ๋‹ค โ— HTTP server -..

IaC Application 2024.04.17