If using 2x or 3x rings then will be dependant on the derailleur, other wise for single ring as big as you dare.
Like wise a rear long cage capable of taking a 42t top end gear and a 31t gearing difference, though you can use a medium cage and a road link will perform the same job.