Military relationships

Hey everyone,
​Just need some perspectives please, 
​So my bf of 3 years just recently joined the navy, I'm new to this whole military thing and I'm totally freaked out. I love my baby and we are planning on getting married in 2 years after my masters degree. But i just don't know what to expect with this whole military thing. Anyone has experience with this? How do or did u keep the relationship strong?