mysshclient.close()
 
response = myvolume.detach_from_instance(Device="/dev/sdd",
                                         InstanceId=instance_id)
 
myinstance.terminate()
print("Have a nice day!")
