SNS

· Aws
while true; do # health check response=$(curl --write-out "%{http_code}" --silent --output /dev/null "http://localhost:8080/health") if [ "$response" -ne 200 ]; then # 인스턴스 ID 가져오기 token=$(curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600") Instance_ID=$(curl -s -H "X-aws-ec2-metadata-token: $token" "http://169.254.16..
wngnl-dev
'SNS' 태그의 글 목록