amazon web services - AWS Auto scaling drops ~/.ssh/authorized_keys -
the thing have ec2 instance public key inside ~/.ssh/authorized_keys let developers ssh instance, 1 day autoscaling mechanism create new instance , drop old instance(with authorized keys inside), , gotta edit ~/.ssh/authorized_keys in new instance again.
how can prevent this? mean how can make sure whenever autoscaling creating new instance or dropping old instance, sync of authorized_keys, don't need manual copying.
thanks much.
i guess ami id have specified in auto scaling contains old data. create ami of latest , update instance , remove old ami have specified in as-config , add latest ami id. thing work fine.
Comments
Post a Comment