bf in army - how to cope

I’ve been with my boyfriend almost 2 yrs. He just left for basic training a couple days ago. I know he’s doing what he’s always wanted and on a new adventure, I’m so proud and happy for him, but I’m having such a hard time coping. I miss him so much. It’s so tough going from talking to him every day to not being able to communicate at all. I’ve tried to keep myself busy but at night I get so sad. It feels worse than a break up almost