Service Disconnect Rules per NEC Article 230, Part VI
This can be either on the outside of the building or inside, as close as possible to the point of entrance of the service conductors, to minimize the length of unprotected wiring within the structure.