
[AWS] EC2 CloudWatch Agent launch template
·
IT Study/Memo & Tips
1. CloudWatch Agent CloudWatch Agent는 서버에 설치하여 지표를 수집하는 등의 여러가지 역할을 한다. 오토스케일링 그룹과 Launch Template를 이용하여, CloudWatch Agent를 설치하고, 운영할 것이다. 2. Launch Template & config #!/bin/bash # ssh config echo 1234 | passwd ec2-user --stdin sed -i "s/PasswordAuthentication no/PasswordAuthentication yes/" /etc/ssh/sshd_config systemctl restart sshd.service # workdir create & application download mkdir /opt/ap..