Acceptance With Grace. The best_case scenario__and honestly, the most common reaction__is that your boss will accept your resignation with understanding and sincere congratulations. Your manager will be happy to see that you're advancing your career and moving on to something bigger and better.
Your End Game. When you hand in your resignation, it can kick off a bit of chaos__your position will need to be filled, but your duties will also need to be covered until they can replace you. As part of your resignation letter, it's a good idea to convey what your availability is during that transitional period.