Ravindra Bagale · AWSसर्व coursesया course चे lessonsशोधाEnglish

AWS · मराठी आवृत्ती

5.1 EC2 का? Cloud आणि स्वतःचा server

रवींद्र बागले यांच्या course वर आधारित · सहज मराठीत explanation

या page मध्ये

College चा result portal host करायचा आहे असं समजा. स्वतःचे servers विकत घेतले तर hardware, UPS, cooling, switches, server room आणि admin लागतात; delivery/setup ला वेळ लागतो. Source मधला ₹2–5 लाख प्रति server हा फक्त illustrative अंदाज आहे, current quotation नाही. Result दिवशी गर्दी वाढली तर capacity कमी पडू शकते.

Cloud मध्ये compute भाड्याने घेता येतो आणि वापरलेल्या resources नुसार पैसे लागतात.

मुद्दाOn-premisesAWS EC2
आधीचा खर्चHardware साठी मोठा CapExOn-Demand मध्ये hardware upfront लागत नाही; usage-based OpEx
Server मिळण्याचा वेळखरेदी/setup ला दिवस–आठवडेसाधारण minutes; capacity उपलब्ध असावी
Scalingनवीन hardware घ्यावं लागतंमोठे/अधिक instances, Auto Scaling
देखभालHardware, power, cooling तुमचंPhysical infrastructure AWS चं
Availabilityएका site वर असेल तर failure riskअनेक AZ/regions मध्ये design करता येतो
जागतिक deploymentस्वतःची sites लागतातAvailable regions मध्ये deploy
Securityसंपूर्ण stack तुमचंShared responsibility

काल्पनिक Mauli Dairy मध्ये दिवाळीला पेढे/श्रीखंड orders वाढतात आणि नंतर कमी होतात. वर्षभर मोठा server ठेवण्याऐवजी rush साठी capacity वाढवून नंतर कमी करता येते. App त्याप्रमाणे design केलेला असायला हवा; scaling आपोआप ठरत नाही.

Service models: IaaS — EC2 मध्ये OS आणि पुढचं तुम्ही हाताळता. PaaS — Elastic Beanstalk सारखं platform operational काम कमी करतं; app/config जबाबदाऱ्या राहतात. SaaS — Gmail सारखं तयार software वापरता.

Shared responsibility

Data centres, hardware, hypervisor आणि global infrastructure AWS सांभाळते. Guest OS updates, SG rules, users/keys, applications आणि data तुमची जबाबदारी. Public SSH आणि weak authentication ठेवून चालणार नाही.

Practice

Mauli Dairy साठी on-premises vs EC2 table करा: upfront खर्च, वेळ, scaling, maintenance. प्रत्येक निवडीचं कारण लिहा.

आता EC2 चे मुख्य terms पाहू.