Quba (also, Kuba, Guba and Kuwa) is a city in and the capital of the Quba Rayon of Azerbaijan. It has a population of 23,541. The city’s suburb of Qırmızı Qəsəbə (also known as Krasnaya Sloboda in Russian) is the home of Azerbaijan's largest community of Mountain Jews and may also be the largest community of Jews in the former-Soviet Union.