You can manually select the region that your codespaces will be created in, allowing you to meet stringent security and compliance requirements. By default, your region is set automatically, based on your location.
Setting your default region
In the upper-right corner of any page, click your profile photo, then click Settings.
In the "Code, planning, and automation" section of the sidebar, click Codespaces.
Under "Region", select the setting you want: Set automatically or Set manually.
If you chose Set manually, select the dropdown menu and click your region.