Earthquakes are threatening a large number of regions worldwide with an increasing risk due to urbanization and industrialization. For resilience and mitigation measures it is necessary to understand this risk to society and their assets. We present the main pillars of earthquake hazard models describing the physical shaking of earthquakes and the OpenStreetMap-based exposure model translating the local shaking into probabilistic loss and risk assessments expressed as effects on buildings and people.