secure deploy of elastic