# Lab साठी instance type कसा निवडायचा?

Source: https://ravindrabagale.com/mr/cyber/part-02/ch04-amazon-ec2-launch-and-connect-to-your-linux/4-2-choosing-an-instance-type.html
Language: mr (Marathi with English technical terms)

Instance type म्हणजे vCPU, RAM, storage/network क्षमता यांची निवड. साध्या Linux lab साठी लहान burstable instance पुरू शकतो. Source मधली t3.micro आणि t2.micro ही उदाहरणं आहेत; region, availability, workload आणि तुमच्या account मधली eligibility तपासून निवडा.

      t  3  a  .  micro
      │  │  │     └── size: nano, micro, small, medium, large, xlarge, 2xlarge ...
      │  │  └──────── extra attribute: a = AMD, g = Graviton (ARM), i = Intel, d = local NVMe, n = network
      │  └─────────── generation (higher = newer, better price/performance)
      └────────────── family: t = burstable general purpose

t3a.micro मध्ये t family, 3 generation, a attribute आणि micro size आहे. Attributes मध्ये a AMD, g Graviton/ARM, i Intel, d local NVMe आणि n network-related capability दर्शवू शकतात. Exact combination instance family च्या specification मधून तपासा; generation मोठी म्हणजे प्रत्येक workload साठी आपोआप सर्वोत्तम असेल असं नाही.

 | Family
 | Category
 | कुठे उपयोगी?
 | Examples

 | T
 | General purpose, burstable (CPU credits)
 | Dev/test, लहान websites, labs
 | t3.micro, t3.small, t4g.small

 | M
 | General purpose, balanced
 | App servers, लहान databases
 | m7i.large, m7g.large

 | C
 | Compute optimised
 | Batch processing, gaming, जास्त traffic असलेलं web काम
 | c7i.xlarge

 | R / X
 | Memory optimised
 | मोठे databases, in-memory caches
 | r7i.large

 | I / D
 | Storage optimised
 | NoSQL, data warehouses
 | i4i.large

 | P / G / Inf / Trn
 | Accelerated (GPU/ML chips)
 | Machine learning, video
 | g5.xlarge

T: burstable general purpose, CPU credits; dev/test, छोटी websites, labs.

M: balanced general purpose; app servers आणि लहान databases.

C: compute-focused; batch processing, gaming, CPU-heavy web कामं.

R/X: जास्त memory लागणाऱ्या databases/caches.

I/D: storage-focused; काही NoSQL/data warehouse workloads.

P/G/Inf/Trn: GPU/ML acceleration; machine learning किंवा video workloads.

Free tier/credits तपासा

AWS च्या offers आणि eligibility बदलू शकतात. Console मधला label, account चा plan, credits आणि storage/public IPv4 चे charges तपासा. या lesson मधला type निवडला म्हणजे पूर्ण lab free आहे अशी हमी नाही. Console चे labels आणि screens कालांतराने बदलू शकतात.

Practice

t3.micro, t4g.small, m7i.large, c7i.xlarge आणि r7i.large या नावांत family, generation, attribute आणि size ओळखा.

रवींद्र बागले यांची tip

Graviton t4g type सोबत x86 AMI चालणार नाही. Instance आणि AMI ची architecture जुळली पाहिजे: x86_64 किंवा arm64. या course च्या x86 lab साठी t3.micro + योग्य 64-bit x86 AMI हा सोपा example आहे; launch करण्यापूर्वी तुमची eligibility आणि खर्च तपासा.
