1/78
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
CloudFormation template de 9 sections vichon sirf 'Resources' section hi mandatory (zaroori) kyu hunda Aah?
Kyunki 'Resources' hi oh iklauta section Aah jo AWS engine nu dasda Aah ki asaliyat vich "bananna ki Aah" (jive EC2, S3, VPC). Baaki saare sections (Parameters, Outputs) sirf is 'Resources' section nu support karan layi hunde ne.
Scenario: Tussi ek YAML file upload kitti jis vich sirf 'Parameters' aur 'Outputs' likhe ne, par 'Resources' da block hai hi nahi. Jadon tussi usnu chalaoge taan CloudFormation engine ki karega?
Engine turant "ValidationError" throw karega! CloudFormation da strict rule Aah ki har valid template vich ghato-ghat (minimum) ek (1) resource zaroor define hona chahida Aah, warnah oh stack create hi nahi karega.
Screenshot di Option 2 vich "Logical Resource" aur "Physical Resource" da ki farak samjhaya gaya si?
"Logical Resource" oh naam Aah jo tussi apni YAML script ch dinde ho (jive 'MyWebServer'). "Physical Resource" oh asali server da ID Aah (jive 'i-0abcd1234') jo AWS banan ton baad tuhanu dinda Aah. CloudFormation Logical nu Physical ch convert karda Aah.
What is the 'Resources' section in CloudFormation?
Template da iklauta mandatory block jithe tussi AWS components (jive EC2 instances, S3 buckets, security groups) aur ohna diyan properties (size, name) declare karde ho.
What is a Logical ID?
Tuhadi YAML script de andar resource da rakheya gaya apna custom naam (jive 'AppServer1'). Eh naam sirf script de andar references (!Ref) layi use hunda Aah.
What is a Physical ID?
Jadon resource asaliyat ch AWS cloud ch ban janda Aah, taan AWS usnu ek unique ID dinda Aah (jive vpc-11223344). Eh Physical ID hundi Aah.
Resources section nu 'Restaurant' di analogy naal kivein explain karange?
Parameters Waiter di chit-chat Aah, Outputs bill di copy Aah, par 'Resources' oh asali 'Main Course' Aah. Tussi baaki sab cheezan skip kar sakde ho, par bina Main Course (Resources) order kitte restaurant jaan da koi fayda nahi.
[Deep-Dive] Jadon engine 'Resources' section nu parse karda Aah, taan oh AWS APIs nu exact parameters kivein bhejda Aah?
Har resource di ek 'Type' hundi Aah (jive Type: AWS::EC2::Instance). Engine is Type nu padhda Aah te samjh janda Aah ki usne EC2 di RunInstances API call karni Aah. Fir oh us resource de thalle likhiyan Properties: (jive ImageId, InstanceType) nu us API request de JSON payload vich embed karke AWS Control Plane nu bhej dinda Aah.
[Deep-Dive] Agar mere template ch 5 resources ne (1 VPC, 2 Subnets, 2 EC2), taan engine inha nu kis order (kram) vich banayega?
Engine sequentially (line-by-line) nahi chalda! Oh 'Dependency Graph' bananda Aah. Kyunki EC2 nu Subnet chahida Aah, aur Subnet nu VPC chahida Aah, engine implicitly samajh janda Aah ki pehlan VPC banega, fir Subnets, te aakhir ch EC2. Tussi DependsOn attribute use karke is order nu khud vi force kar sakde ho.
CloudFormation template vich 9 optional sections (jive Parameters, Outputs) hon de bawajood, AWS engine asali deployment kado shuru karda Aah?
Engine asali action (servers banana) sirf tab shuru karda Aah jadon usnu script vich 'Resources:' section likheya milda Aah. Eh uska starting trigger Aah.
Agar tussi ek valid YAML file upload kitti jis ch 'Parameters' ne par 'Resources' section nahi Aah, taan backend te ki hovega?
Engine file nu "Parse" (syntax check) kar lega aur pass kar dega, par backend te 0 deployment hovegi kyuki us kol asali cloud components banan layi koi target hi nahi si.
CloudFormation YAML script padhan ton baad asali hardware (jive EC2) kivein bananda Aah?
Engine YAML de 'Type' aur 'Properties' nu padh ke AWS Control Plane nu exact "API Calls" (HTTP requests) fire karda Aah ki is user layi nava server chalu kar de.
What is the "Execution Engine" in AWS CloudFormation?
Eh CloudFormation backend da oh asali software/brain Aah jo tuhadi YAML text file nu padh ke usnu physical actions (infrastructure banan) vich convert karda Aah.
CloudFormation de context vich "Parse" karan da ki matlab hunda Aah?
Engine dwara code da sirf grammar aur spelling check karna (jive spacing theek Aah ya nahi), bina code nu asaliyat ch execute (run) kitte.
AWS vich "Deploy" karan da asali matlab ki Aah?
Software code (YAML script) nu AWS cloud de andar asali chalde-firde physical infrastructure (servers, databases, networks) vich badal ke ready karan da process.
CloudFormation dwara "API Calls fire karan" da ki kam hunda Aah?
Eh oh digital instructions (requests) ne jo CloudFormation dooji AWS services (jive S3, VPC, EC2) nu backend ton bhejda Aah taaki oh apna hardware setup shuru kar den.