termination protection on instances and instance protection on auto scaling

 

인스턴스 리스트에서 존재하는 인스턴스에 대한 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”를 생성 및 설정 해야만 하므로 위험성이 약간 줄어들기는 하나..

깜빡 하면 기준서버 까지 삭제 되어 버림…
주의를 할 필요가 있음…

 

대체 아마존은 왜 이렇게 만들었을까…

나중에 개선이 되어야 하지 않을까?

About KENNETH 19688 Articles
지락문화예술공작단

Be the first to comment

Leave a Reply

Your email address will not be published.


*


이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.