DEV Community

Cover image for Amazon Elastic Compute Cloud(EC2)
Delia Ayoko for AWS Community Builders

Posted on

3 1

Amazon Elastic Compute Cloud(EC2)

Amazon Elastic Compute Cloud (EC2) is a virtual private server that allows users to rent virtual computers on which to run their own computer applications, and provides scalable computing capacity in the AWS cloud. EC2 encourages scalable development and deployment of applications by providing a web service through which a user can boot an AMI (Amazon Machine Image) to configure a virtual machine called an instance. As the term elastic explains, this instance permits a user to create, launch and terminate server instances as needed. Active servers pay for each second.

EC2, like S3 buckets, provides users with control over the geographical location of instances that allows for latency optimization and high levels of redundancy.

Instance Types

An EC2 instance is a virtual server in EC2 for running applications on the AWS infrastructure. These instances are created from Amazon Machine Images(AMI), where the images are like templates. They are configured with an operating system and other software which determine the user's operating environment. EC2 instances are classified into categories based on target application profiles.

  1. General purpose instances: It is a virtual machine designated to handle a variety of workloads. Common use cases are webserver hosting and software development and testing.
  2. Compute optimized instances: These instances are designed to run computational and data-intensive applications that require fast network performance, extensive availabilty and high I/O operations per second (IOPS). Examples of such instances include scientific and financial modeling and simulation, machine learning enterprise data warehousing and business intelligence.
  3. Graphics Processing Unit(GPU) instances: They provide a way of running graphic-intensive software faster than with main EC2 instances. Systems that rely on GPUs include gaming and design work.
  4. Memory Optimized instances: They use a high speed, solid state drive to provide ultra-fast access to data and deliver high performance, and are ideal for software that require more memory and less CPU power.
  5. Storage optimized instances: Ideal instances for applications that require high I/O performance, and we are well suited for memory-intensive applications and are well suited for memory-intensive applications like data processing, analytics, workloads and log processing.
  6. Micro instances: A micro instance is used for applications with low throughput. It may serve as a small database server, a platform for software testing or a web server that does not necessitate high rates of transaction.

Amazon charges about 0.0058 dollars per hour for the smallest nano instance virtual instance running the Linux or Windows OS. The EC2 price varies from $2.5 per month for nano instance with one vCPU and 0.5GB RAM on board to x large type of instances with 32 vCPU and 488GB RAM for $3997.19 per month.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (1)

Collapse
 
theone0102 profile image
TheOne0102

Did you know Confluent Cloud can stream data in real time with a fully managed data streaming platform? Avoid any unnecessary costs for high storage and Auto-scale storage based on retention policy and traffic to prevent downtime. Keep data safe on the cloud while it streaming. One of the challenges Intel had was a need for faster detection of cybersecurity threats across the enterprise. The amazing part is there was a solution to their problem the use of Confluent Platform and Kafka to build a scalable cyber intelligence platform powered by high-throughput, low-latency event streaming. Lowered mean time to detect and respond to security threats with high-throughput, low-latency event streams. Reduced technical debt by eliminating custom, point-to-point integrations. Join Confluent Cloud Free!

https://www.confluent.io/get-started/?utm_campaign=seo_podcasts&utm_source=seo&utm_medium=bl

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay