Late August is prime vacation time in Maine so your decision on which places to stay might come down to where you can find accommodations. Personally I love Ogunquit which isn't all that far from Boston. Uf you stay in Ogunquit which has the Marginal Way, nice restaurant...