DEV Community

Cover image for Amazon - EC2
Yashbardhan Singh
Yashbardhan Singh

Posted on

Amazon - EC2

Image description

EC2 :-
EC2 (Elastic Compute Cloud) is a web service provided by Amazon Web Services (AWS) that offers scalable compute capacity in the cloud. In simpler terms, Amazon EC2 allows you to create and manage virtual servers, known as instances, in the cloud.

Key features and clarifications:

Scalability: You can use EC2 to launch as many or as few virtual servers (instances) as you need and also configure their security, networking, and storage to match your specific requirements.

Elasticity: Amazon EC2 enables you to easily scale up or down the number of instances to meet changes in demand for your applications.

Storage Options: EC2 offers two primary storage options:
(i) EBS (Elastic Block Store) for block storage.
(ii) Instance Store for temporary, instance-specific storage.

Amazon Machine Image (AMI): EC2 allows you to use pre-configured templates known as Amazon Machine Images. These AMIs serve as the foundation for your instances, containing the operating system and other software configurations.

Account Limit: By default, when you create an EC2 account with Amazon, your account is limited to a maximum of 20 instances per EC2 region. This limit can be increased based on your specific use case and AWS support.

Image description

General Purpose: (Balanced CPU and RAM)
These instances offer a balanced mix of CPU and memory and are suitable for a wide range of applications.
Example: M5 instances
Compute-Optimized: (More CPU, less RAM)
These instances are optimized for compute-intensive workloads, offering more CPU power relative to memory.
Example: C5 instances
Memory-Optimized: (More RAM, ample CPU)
These instances are designed for memory-intensive applications, providing a large amount of RAM.

Example: R5 instances

Accelerated Computing (GPU Instances): (GPU-accelerated, offering enhanced graphics processing)
These instances come with GPUs for tasks like machine learning, 3D rendering, and scientific simulations.

Example: P3 instances (for high-performance GPU) or G4 instances (for GPU with cost-efficiency)
Storage-Optimized: (Low-latency storage performance)
These instances are optimized for high-performance storage and low-latency access to storage devices.
Example: I3 instances
High Memory Optimized: (High RAM, suitable CPU)
These instances are tailored for applications that require large amounts of RAM, and they often use the Nitro System architecture.
Example: X1 or X2 instances

Top comments (0)