Military relationship

My boyfriend recently left to boot camp for 2 months , after that he is stationed at Florida for 6-9 months. I am currently a senior in high school and plan to attend college this upcoming fall. I’m scared that our relationship isn’t going to work, but I love him so much and I really hope it does. Any advice?