Managing the vastness of the Internet of Things with cloud