[AWS] Amazon EC2 Instance Retirement

2020-02-21 KENNETH 0

URL : https://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/instance-retirement.html 운영중 갑자기 날아온 메일… EC2 has detected degradation of the underlying hardware hosting your Amazon EC2 instance (instance-ID: i-xxxxxxxxxxxxxxxxxxx) associated with your AWS account (AWS Account ID: 1234567890) in the ap-northeast-2 region. Due to this degradation your instance could already be unreachable. We will stop your instance after 2020-01-01.   멀쩡히 운영중인 인스턴스가 삭제된다고 ㄷㄷㄷ     원인 인스턴스가 존재하는 하드웨어에 문제(및 기타 이슈)가 발생하는 경우 이런 메일이 발송 된다.     해결 무시하고 그냥 두면 발생할 문제의 심각성에 비해 해결 방법은 별거 없이 그냥 리부팅 하면 된다.     작업시 특이사항 1. 마이그레이션 작업이 수반되기 때문에 시간이 좀 걸린다. 기다리면 된다.   2.  Public IP 가 날아가고 초기화 된다. 초기화된 Public IP 는 재시작시 다시 변경되는 형태로 설정된다. 재시작을 해도 아이피를 유지하기 위해서는 “탄력적 IP” 를 통해서 할당을 받을 필요가 있다.     Public IP 변경에 [ more… ]

No Image

termination protection on instances and instance protection on auto scaling

2016-05-30 KENNETH 0

  인스턴스 리스트에서 존재하는 인스턴스에 대한 termination 방지 auto scaling server 에서 (기본) 생성된 인스턴스에 대한 termination 방지   두가지는 각각 차이가 있음..   termination protection on instances 인스턴스 리스트에서 ”protection”상태의 인스턴스를 삭제 처리 하려고 하면…   Warning On an EBS-backed instance, the default action is for the root EBS volume to be deleted when the instance is terminated. Storage on any local drives will be lost.   메세지를 출력 하면서 삭제 되지 않음   instance protection on auto scaling service ”Set Scale in Protection” 상태가 아닌 인스턴스는.. auto scale 정책에 의해 삭제가 되어야 하는 순간에 ”termination protection on instances” 설정 상태와 상관없이 바로 삭제(termination)되어 버림!!! auto scailing 구성의 기준이 되는 인스턴스는 반드시 ”Set Scale in Protection” 상태로 만들어 줘야함… 물론 auto scaling service 구성을 위해서는 기준이 되는 인스턴스에 대한 ”image”를 생성 및 설정 해야만 하므로 위험성이 약간 줄어들기는 하나.. 깜빡 [ more… ]