Middle-order Indian batsman Ambati Rayudu on Wednesday announced his retirement from all forms of cricket.