What is EC2  Instance And Why we Need it ?

What is EC2 Instance And Why we Need it ?

·

2 min read

Before moving to EC2, let's understand...

What is AWS?

AWS (Amazon Web Services) is the on-demand availability of resources that AWS provides you through services like computing, servers, networks, data storing, and many more. It follows the principle of pay-as-you-go services.

AWS Services

There are many types of AWS services that provide facilities at cheap prices and in a very efficient way. Some popular services include:

  1. Amazon EC2 (Elastic Compute Cloud): Virtual servers in the cloud for running applications.

  2. Amazon S3 (Simple Storage Service): Scalable object storage for storing and retrieving large amounts of data.

  3. Amazon RDS (Relational Database Service): Managed relational database service supporting various database engines.

  4. Amazon DynamoDB: Fully managed NoSQL database service for fast and scalable performance.

  5. Amazon Lambda: Serverless computing service for running code without managing servers.

  6. Amazon SNS (Simple Notification Service): Fully managed pub/sub messaging service.

  7. Amazon SQS (Simple Queue Service): Managed message queuing service for decoupling and scaling microservices.

  8. Amazon VPC (Virtual Private Cloud): Virtual network service for launching AWS resources in a logically isolated section.

  9. Amazon CloudFront: Global content delivery network (CDN) for secure and fast content delivery.

  10. Amazon ECS (Elastic Container Service): Scalable container orchestration service supporting Docker containers.

What is EC2 Service?

EC2 (Elastic Cloud Compute) is a service provided by Amazon Web Services in which it gives you compute power. You can create a virtual server and run your application on it.

Types of EC2 Instances

  • General Purpose Instances (T3, M5): Provides balanced computing power for your application when you don't need high-level machine or network.

  • Compute Optimized Instances (C5): Used for high-configured applications requiring high-performance computing power.

  • Memory Optimized Instances (R5): Used for memory-intensive applications requiring real-time analysis and high-performance computing power.

  • Storage Optimized Instances (I3): Used for applications requiring high amounts of fast storage, such as NoSQL databases, offering high I/O performance.

  • Accelerated Computing Instances (P3, G4): Used for high-level interfaces, such as games requiring high UI, GPUs (Graphics Processing Units) for handling high machine learning, graphics encoding, and data encoding features.

I hope you liked it! :)