When Stamford Raffles established a British trading post in Singapore (1819), he confronted five major challenges:
The Dutch East India Company (VOC) dominated the Malay Archipelago. They viewed Singapore as within their sphere (Johor-Riau Sultanate) and protested vigorously. Anglo-Dutch Treaty (1824) later resolved this by dividing spheres: British got Malaya/Singapore; Dutch got Indonesia.
Singapore was a malarial swamp. Early mortality among British troops and settlers was catastrophic. Raffles himself suffered recurring illness. Drainage, quinine, and later sanitation reduced but didn't eliminate the threat for decades.
Tiny island (then 580 km²), no freshwater sources, no timber, no minerals, poor soil. Everything—food, water, building materials, labor—had to be imported. Sustainability was initially doubtful.
The Strait of Malacca and surrounding waters teemed with Malay, Bugis, and Orang Laut pirates. They attacked native craft and threatened European ships. British naval patrols (and later steam gunboats) gradually suppressed piracy by 1840s.
By 1860, Singapore surpassed Penang and Malacca as the Straits Settlements' premier port.