I was in a similar situation (got selected by a reserve unit to go to UPT), but was DQ'd at age 29 because I would not have made the cut-off...my unit did what they could, but HQ at Warner-Robbins gave it a "thumbs-down".
Anyways, at 27, you are still eligible for the Army (and Reserve if you are prior...as I've read); and the Coast Guard has or had an officer program called Blue21 that had a cut-off of 31 (if your school met the eligibility requirements)...check their websites.
Good luck and I hope everything works out for you!