प्लेटफ़ॉर्म गाइड

Web Service region, plan upgrade, autoscaling और billing गाइड

Darwa में primary region, regional shard, Git auto-deploy, prorated plan upgrade, autoscaling और failed payment recovery समझें।

Regional Web Service capacity दिखाने वाले cloud infrastructure racks
Regional Web Service capacity दिखाने वाले cloud infrastructure racks

Primary region एक बार चुनें

Darwa Web Service बनाते समय Virginia, São Paulo, Frankfurt, Cape Town, Mumbai और Sydney में से एक active primary region चुना जाता है। Service बनने के बाद यह region lock रहता है क्योंकि service identity, private network और data-placement इसी पर आधारित होते हैं। Settings में इसे read-only दिखाना अचानक और असुरक्षित migration को रोकता है।

Region बदलने के बजाय shard जोड़ें

दूसरे स्थान के लिए Settings → Regional traffic से regional shard जोड़ें। यह उसी plan और connected source वाला पूरा paid runtime है। हर shard का अलग endpoint मिलता है जिसे controlled routing या failover में इस्तेमाल किया जा सकता है; primary URL अपने-आप नहीं बदलता। Persistent disk एक region से दूसरे में share नहीं हो सकती, इसलिए ऐसे service को external durable storage चाहिए।

हर region में एक ही Git release

Connected repository के लिए auto-deploy default रूप से enabled है और Deploy settings में बंद किया जा सकता है। Tracked branch पर push होने पर वही revision primary और सभी खरीदे गए shards में queue होती है। हर region का health check अलग चलता है। Manual approval चाहिए तो auto-deploy बंद करके release शुरू करें।

बाकी billing period का ही upgrade charge

Settings केवल current plan से ऊपर के plan दिखाता है और सभी attached regions को साथ upgrade करता है। Confirm करने से पहले old और new monthly total, इस्तेमाल हुए घंटे, बाकी घंटे और अभी लगने वाला अनुमान दिखता है। बीता हुआ समय घटता है; Stripe केवल current period के बचे समय का price difference तुरंत invoice करता है। नया पूरा monthly total renewal पर लागू होता है।

Autoscaling, Autopilot और failed payment

Horizontal autoscaling minimum और maximum replicas के बीच instance count बदलता है; हर running replica bill होता है। Capacity Autopilot consent के बाद sustained pressure पर temporary plan capacity देता है, usage घटने पर billing रोकता है और 72 घंटे तथा spend cap मानता है। Policy enable करना free है। Payment fail होने पर 7 दिन grace, फिर suspension और 14 दिन retention मिलता है; retention में payment service restore कर देता है।

अक्सर पूछे जाने वाले प्रश्न

क्या primary region बदल सकता है?

नहीं। Service बनने के बाद region locked है; दूसरे location के लिए regional shard जोड़ें।

बीच महीने plan upgrade का charge कैसे लगता है?

केवल current billing period के बचे समय का difference तुरंत charge होता है।

Capacity Autopilot enable करते ही charge लगेगा?

नहीं, charge केवल temporary capacity के वास्तव में active रहने पर लगता है।