Internet of Things (IoT) devices are predicated to reach 50 billion by 2022. Therefore, the IoT device data is too large to be managed efficiently by the existing platforms. Because of huge data centralized on the IoT platform, the privacy issues are on the rise due to some sensitive data that able to expose secretly and indirect way. So, we propose the role-based IoT service environment that is decentralized manner architecture. Moreover, we show the evaluation and implementation results according to the example scenario.