create distributed lock and remote config
create distributed lock and realtime config