퍼블릭 클라우드 썸네일형 리스트형 terraform apply 명령어 terraform apply 명령어 terraform apply 명령어는 테라폼 구성 파일로 정의한 인프라스트럭처를 실제로 생성하거나 업데이트하는 데 사용되는 명령어입니다. terraform apply [옵션] terraform apply --auto-approve terraform apply --auto-approve 명령어는 테라폼으로 정의한 인프라스트럭처를 실제로 생성하거나 업데이트할 때, 변경 사항을 자동으로 승인하고 인터랙션 없이 실행하는 옵션을 포함한 명령어입니다. 일반적으로 terraform apply를 실행하면, 변경 사항을 확인하는 단계에서 사용자에게 변경 사항을 표시하고 직접 승인 여부를 묻게 됩니다. 이때 --auto-approve 옵션을 사용하면 이 과정을 건너뛰고, 테라폼이 자동으.. 더보기 테라폼(Terraform) 디버깅 활성화 테라폼(Terraform) 디버깅 활성화 테라폼 계획 출력 terraform plan 테라폼 디버스(debug) 화면 출력 TF_LOG=DEBUG terraform plan 테라폼 디버스(debug) 파일 출력(terraform-debug.log 파일에 저장) TF_LOG=DEBUG TF_LOG_PATH=/tmp/terraform-debug.log terraform plan tail -10f /tmp/terraform-debug.log $ tail -10f /tmp/terraform-debug.log 2021-05-18T14:52:31.226+0900 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavaila.. 더보기 AWS CloudFront - ALB 구성 시 보안 강화 방안 AWS CloudFront - ALB 구성 시 보안 강화 방안CloudFront > Origins and Origin Groups 설정- X-Origin-Verify : testALB > 규칙 설정 참고URL- https://www.notion.so/CloudFront-ALB-f0086dec48b64f0883e0c6de5fd9da4c 더보기 AWS 네트워크 방화벽 구성 시 라우팅 테이블 설정 AWS 네트워크 방화벽(Network Firewall) 구성 시 라우팅 테이블 설정구성도라우팅 테이블 설정- IGW 라우팅 테이블(신규 생성)- 방화벽 라우팅 테이블(신규 생성)- 고객(web zone) 라우팅 테이블 참고URL- https://aws.amazon.com/ko/blogs/networking-and-content-delivery/deployment-models-for-aws-network-firewall/- https://aws.amazon.com/ko/blogs/aws/aws-network-firewall-new-managed-firewall-service-in-vpc/ 더보기 Amazon Linux에 Ansible AWX를 설치하는 방법 Amazon Linux에 Ansible AWX를 설치하는 방법AWX 설치 스크립트#!/usr/bin/env bashset -euo pipefail############################################# 변수 정의############################################AWX_VERSION="10.0.0"DOCKER_COMPOSE_VERSION="1.28.5"############################################# 기본 패키지 설치############################################echo "[INFO] Install base packages..."sudo yum update -ysudo amazon-linu.. 더보기 Auto Scaling 그룹의 용량을 조정하는 방법 Auto Scaling 그룹의 용량을 조정하는 방법대상 추적 조정 정책(Target tracking scaling): 특정 측정치의 목표값을 기준으로 그룹의 desired capacity를 늘리거나 줄입니다.단계 조정 정책(Step scaling): 조정값(임계치) 초과의 정도에 따라 desired capacity를 늘리거나 줄입니다.단순 조정 정책(Simple scaling): 조정값에 따라 desired capacity를 늘리거나 줄입니다. what-is-amazon-ec2-auto-scaling Amazon EC2 Auto Scaling란 무엇입니까? - Amazon EC2 Auto Scaling이 페이지에 작업이 필요하다는 점을 알려 주셔서 감사합니다. 실망시켜 드려 죄송합니다. 잠깐 시간을 내어.. 더보기 Ansible 인벤토리 설정 및 테스트 Ansible 인벤토리 설정 및 테스트1. Ansible Inventory 기본 경로Ansible은 기본적으로 다음 경로의 인벤토리 파일을 사용한다./etc/ansible/hosts2. 인벤토리 설정vim /etc/ansible/hosts[aweb21]asweb21 ansible_host=10.21.3.54 ansible_connection=ssh ansible_por=22 ansible_user=ec2-user ansible_ssh_private_key_file=~/aws-key/keyfile.pemasweb22 ansible_host=10.21.4.199 ansible_connection=ssh ansible_por=22 ansible_user=ec2-user ansible_ssh_private_ke.. 더보기 Ansible 인벤토리 설정 Ansible 인벤토리 설정1. Ansible Inventory 기본 경로Ansible은 기본적으로 다음 경로의 인벤토리 파일을 사용한다./etc/ansible/hosts2. 인벤토리 설정vim /etc/ansible/hosts[aweb21]asweb21 ansible_host=10.21.3.54asweb22 ansible_host=10.21.4.199[aweb21:vars]ansible_user=ec2-useransible_port=22ansible_ssh_private_key_file=~/aws-key/keyfile.pem주요 옵션 설명ansible_host: 실제 접속 대상 IP 또는 FQDNansible_user: 접속 사용자ansible_port: SSH 포트 (기본 22)ansible_ssh_.. 더보기 이전 1 ··· 19 20 21 22 23 24 25 ··· 29 다음