- होम
- CDN सिम्युलेटर
- पूर्वापेक्षाएँ
पूर्वापेक्षाएँ
आवश्यक
Section titled “आवश्यक”Azure सदस्यता
Section titled “Azure सदस्यता”निम्नलिखित बनाने की अनुमति के साथ एक सक्रिय Azure सदस्यता:
- संसाधन समूह
- वर्चुअल नेटवर्क और सबनेट
- नेटवर्क सुरक्षा समूह
- सार्वजनिक IP पते
- वर्चुअल मशीनें
Azure CLI
Section titled “Azure CLI”Azure CLI इंस्टॉल करें और प्रमाणित करें:
# Install (if not present)curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
# Authenticateaz login
# Verify subscriptionaz account show --query '{name:name, id:id}' -o tableTerraform
Section titled “Terraform”Terraform >= 1.5 आवश्यक है:
# Verify installationterraform version
# If not installed, use HashiCorp's APT repositorywget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpgecho "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.listsudo apt update && sudo apt install terraformSSH कुंजी युग्म
Section titled “SSH कुंजी युग्म”VM एक्सेस के लिए एक SSH कुंजी युग्म:
# Generate if you don't have onessh-keygen -t ed25519 -f ~/.ssh/cdn-edge-key -N ""Azure AD अनुमतियाँ
Section titled “Azure AD अनुमतियाँ”आपके Azure AD खाते में User.Read अनुमतियाँ होनी चाहिए। डिप्लॉयर पहचानकर्ता (संसाधन नामकरण में उपयोग किया जाता है) आपके Azure AD प्रोफ़ाइल से स्वचालित रूप से प्राप्त किया जाता है। सेवा प्रिंसिपल या प्रबंधित पहचान प्रमाणीकरण के लिए, deployer Terraform वेरिएबल को स्पष्ट रूप से सेट करें।
वैकल्पिक
Section titled “वैकल्पिक”कस्टम डोमेन
Section titled “कस्टम डोमेन”यदि आप स्व-हस्ताक्षरित के बजाय वास्तविक TLS प्रमाणपत्र चाहते हैं:
- DNS नियंत्रण के साथ एक डोमेन नाम
- Azure सार्वजनिक IP की ओर इंगित करने वाले A रिकॉर्ड बनाने की क्षमता
ऑरिजिन सर्वर URL
Section titled “ऑरिजिन सर्वर URL”F5 XC HTTP लोड बैलेंसर का URL जिस पर यह एज नोड ट्रैफ़िक अग्रेषित करेगा। इसे तैनाती के बाद कॉन्फ़िगर किया जा सकता है — डिफ़ॉल्ट NGINX कॉन्फ़िग एक प्लेसहोल्डर का उपयोग करता है जिसे आप NGINX कॉन्फ़िगरेशन में अपडेट करते हैं।