scalling and Elasticity in cloud computing
-
Elasticity is capabile to automactically adjust compute resources.
-
Scalling Types:
- vertical scalling
- Horizonatl scaling
vertical scaling:
- increase resources limit when you required
- down time is required
types of instances:
- General Purpose:
- small websites, K8s, dev & test
M5 | M5a | M5ad | M5d | M5dn | M5n | M5zn | M6a | M6g | M6gd | M6i | M6id | M6idn | M6in | M7a | M7g | M7gd | M7i | M7i-flex | M8a | M8azn | M8g | M8gb | M8gd | M8gn | M8i | M8id | M8i-flex | M8in | M8idn | M8ine | M8ib | M8idb | M9g | M9gd | Mac1 | Mac2 | Mac2-m1ultra | Mac2-m2 | Mac2-m2pro | Mac-m4 | Mac-m4pro | Mac-m4max | T2 | T3 | T3a | T4g- m7a.8xlarge ==> m6a.8xlarge ==> balanced workloads
- t – small website, development
- A – ARM workloads
- compute:
C5 | C5a | C5ad | C5d | C5n | C6a | C6g | C6gd | C6gn | C6i | C6id | C6in | C7a | C7g | C7gd | C7gn | C7i | C7i-flex | C8a | C8g | C8gb | C8gd | C8gn | C8i | C8id | C8i-flex | C8in | C8ine | C8ib | C9g | C9gd
- c -memory low – cpu high workload
- R – memory High – Cpu low
- X – very large memory
- u – ultra large memory TB of ram
- Storage optimized:
D2 | D3 | D3en | H1 | I3 | I3en | I4g | I4i | I7i | I7ie | I8g | I8ge | Im4gn | Is4gen
- Databases like mangodb, cache
- Accelerated computing:
DL1 | DL2q | F2 | G4ad | G4dn | G5 | G5g | G6 | G6e | G6f | Gr6 | Gr6f | G7 | G7e | Inf1 | Inf2 | P4d | P4de | P5 | P5e | P5en | P6-B200 | P6-B300 | P6e-GB200 | Trn1 | Trn1n | Trn2 | Trn2u | VT1
- Ml Ops, machine learning operations, Deep learning models
- High-performance computing:
Hpc6a | Hpc6id | Hpc7a | Hpc7g | Hpc8a
- HPC workloads, AI, More powerpull workloads
- Mac
Instance state:
- stop instance: stop your ec2 instance
- start instance: start your ec2 instance
- reboot instance: restart instance
- Terminate instance: delete or remove instances
Task:
-
create ec2 instance with t3.micro and install apache2
sudo apt-get update && sudo apt-get install apache2 -y -
check app from broswer http://ipaddress
-
stop instance and change instance Type to t3.medium
-
start vm and check access endpoint.
