![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fb0qSlr%2FbtrtqB58eIp%2FXRpw5WWU45ZXR2ydHmxxG1%2Fimg.png)
[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..