If what you have is real and meant to survive the obstacles before you then it will through work and efforts of you both.
While things are great now between you, I think that adversity, and hard times is what defines a relationship, and the path it takes, whether you bond together, or grow apart. Hard to tell after only 6 months how you both will deal with each other and your situation, but few relationships can survive that amount of time apart without some very tough sacrifices, and compromises. But here are some ideas to help with the distance, at least initially.
Handle This: Seven Ways To Survive A Long Distance Relationship | The Frisky
Surviving a Long-Distance Relationship
At least you have an idea about what to expect. The real test is how well you work together with each other, but as I say, after only 6 months, its hard to even make such a commitment, nor is advisable, but it's a risk you either take, or you don't.