Carrots prefer full sun and relatively cool soil. In a raised bed, neighboring plants will help shade the soil and keep it from getting too hot. Consistent moisture produces the tastiest carrots, so give them about 1" of water per week.