use etcd as resource server