It is quite tedious to do so if you have many instances running. Is there a way to automate this step? Thanks.