The Cocos (Keeling) Islands (Pulu Kokos [Keeling]), officially the Territory of Cocos (Keeling) Islands ( Pulu Kokos [Keeling]), are an Australian external territory in the Indian Ocean, comprising a small archipelago approximately midway between Australia and Sri Lanka and relatively close to the Indonesian island of Sumatra. The territory's dual name (official since the islands' incorporation into Australia in 1955) reflects that the islands have historically been known as either the Cocos Islands or the Keeling Islands.
The territory consists of two atolls made up of 27 coral islands, of which only two West Island and Home Island are inhabited. The population of around 600 people consists mainly of Cocos Malays, who mostly practice Sunni Islam and speak a dialect of Malay as their first language. The territory is administered by the Australian federal government's Department of Infrastructure, Transport, Regional Development and Communications as an Australian external territory and together with Christmas Island (which is about 960 km to the east) forms the Australian Indian Ocean Territories administrative grouping. However, the islanders do have a degree of self-government through the local shire council. Many public services including health, education, and policing are provided by the state of Western Australia, and Western Australian law applies except where the federal government has determined otherwise. The territory also uses Western Australian postcodes.