What are the different EC2 pricing model ?

Amazon EC2 offers several pricing models: On-Demand, Reserved Instances, Spot Instances, and Savings Plans, Dedicated Hosts (Physical Server for Compliance), Dedicated Instances (Private Hardware)

What are the different types of EC2 instances?

Amazon EC2 instances are categorized into several types, including General Purpose, Compute Optimized, Memory Optimized, Accelerated Computing, and Storage Optimized, each optimized for different workloads.

What is Vertical scaling in EC2?

Vertical scaling in EC2 refers to increasing or decreasing the resources (CPU, memory, network, etc.) of an existing instance by changing its instance type.

How do you resize the EC2 instance?

you can stop the instance the instance & then we can change the type of instance. we will have to start the instance. this is also known as vertical scaling.

How do you recover access to an EC2 instance if the key pair is lost or misplaced?

If you've lost or misplaced the key pair for an AWS EC2 instance, you can regain access by Use Systems Manager Session Manager or Create a New Key Pair and Attach It .