Moving Away From BF

I just got accepted to an apartment today and it is 3 hours away from home. It will be my first apartment so I am very excited. I’ve stated on here before about how busy my boyfriend is so he wasn’t able to be here to help me through the process. I told him today I got accepted into the apartment and for the first time he showed some emotion (which he barely ever does). I told him we have to agree to do whatever it takes to keep the relationship going and he told me I’m contradicting because I’m moving away. He never told me he didn’t want me to move and he actually planned on leaving the end of the year for the military for the entire year. He’s always SUPER busy so I figured it wouldn’t matter how far I moved because he barely has any time for me anyways.

What do I do now?