BETaaS proposes a platform for the execution of M2M applications, which is built on top of services deployed in a “local cloud” of gateways, the latter being the devices which provide the smart things with connectivity to the Internet (e.g., smart phones, home routers, road-side units). Adaptation layers are defined to interconnect BETaaS with the main architectures proposed at a European level for M2M communication, including ETSI M2M and IoT-A. In addition to being highly scalable, security, dependability, and QoS features are embedded “by design” into the BETaaS platform, which will be released as open source to the community.