This document discusses combining cloud computing and sensors to create smart city environments. It proposes an architecture based on sensor web enablement standards that abstracts heterogeneous sensor data and makes it available as a service. The architecture is hierarchical, with a high-level intelligence layer and peripheral decision makers that analyze and aggregate sensor data. It aims to provide scalable and reactive data access to meet user requirements. Smart cities are presented as an example application area.