EC2 (Elastic Compute Cloud) cloud में resizable virtual servers (instances) प्रदान करता है — आप virtual machines को on demand launch, configure, और run करते हैं। यह applications चलाने के लिए AWS की core, मौलिक services में से एक है।
EC2 क्या है
EC2 = virtual servers ("instances") you rent and run in AWS's cloud:
→ launch a VM in minutes (choose OS, CPU, memory, storage)
→ full control (it's your server — install software, configure as you like)
→ pay for the time it runs (per-second/hour)
→ "Elastic" — launch many, scale up/down, resize as needed
मुख्य अवधारणाएँ
INSTANCE TYPE → the hardware profile: CPU/memory/network (e.g. t3.micro small,
m5.large general, c5 compute-optimized, r5 memory-optimized) — pick by workload
AMI (Amazon Machine Image) → the template (OS + pre-installed software) to launch from
KEY PAIR → SSH keys to securely access (log into) the instance
SECURITY GROUP → a virtual firewall (which ports/traffic are allowed)
EBS VOLUME → attached disk storage (persists data)
ELASTIC IP → a static public IP address
