Illuminate: September 28-29 - A global virtual experience Register now!

Back to insight results

June 3, 2019 By Sumo Logic

What Is AWS EC2?

Amazon EC2 (Elastic Compute Cloud), one of Amazon Web Services’ most well-known services, offers businesses the ability to run applications on the public cloud. 

Is EC2 a Virtual Machine?

Developers can create instances of virtual machines and easily configure the capacity scaling of instances using the EC2 web interface.

What is the Use of AWS EC2?

EC2 also allows users to build apps to automate scaling according to changing needs and peak periods, and makes it simple to deploy virtual servers and manage storage, lessening the need to invest in hardware and helping streamline development processes.

How is EC2 Billed? 

EC2 pricing is based on the hours and size of an instance, region, and operating system.  

How Do You Setup AWS EC2?

EC2 setup involves creating an Amazon Machine Image (AMI), which includes an operating system, apps, and configurations. That AMI is loaded to the Amazon Simple Storage Service (S3), and it’s registered with EC2, at which point users can launch virtual machines as needed.

Amazon offers different instance types of EC2 for different requirements and budgets, including hourly, reserved, and spot rates.

Amazon EC2 Features

A number of benefits and features draw developers to EC2 for cloud computing. Chief among these are:

Responsiveness to changing capacity requirements: The easy scaling of EC2 eliminates development obstacles that occur when applications require more resources.

Flexibility in configurations: Users can choose memory size, CPU, and boot partition size optimized for the OS they choose.

  • Integration: EC2 can integrate with other AWS services, such as RDS, SimpleDB, and SQS.
  • Precise control: Users get administrative access to their instances, can stop and start instances while retaining boot partition data, and can access console output for the instance.
  • Security: Users can control which instances remain private and which have internet exposure. EC2 leverages Amazon Virtual Private Cloud (VPC) for security, and businesses can connect their secure IT infrastructure to resources in VPC.
  • Cost: Among a number of pricing options, EC2 offers affordable hourly rates.

AWS EC2 Instance Sizes

  • A1: a1.medium| a1.large | a1.xlarge | a1.2xlarge | a1.4xlarge | 1.metal
  • C4: c4.large | c4.xlarge | c4.2xlarge | c4.4xlarge | c4.8xlarge
  • C5: c5.large | c4.xlarge | c4.2xlarge | c5.4xlarge | c5.9xlarge | c5.12xlarge | c5.18xlarge | c5.24xlarge | c5.metal
  • C5a: c5a.large | c5a.xlarge | c5a.2xlarge | c5a.4xlarge | c5a.8xlarge | c5a.12xlarge | c5a.16xlarge | c5a.24xlarge
  • C5d: c5d.large | c5d.xlarge | c5d.2xlarge | c5d.4xlarge | c5d.9xlarge | c5d.12xlarge | c5d.18xlarge | c5d.24xlarge | c5d.metal
  • C5n: c5n.large | c5n.xlarge | c5n.2xlarge | c5n.4xlarge | c5n9xlarge | c5n.18xlarge | c5n.metal
  • C6g: c6g.medium | c6g.large | c6g.xlarge | c6g.2xlarge | c6g.4xlarge | c6g.8xlarge | c6g.12xlarge | c6g.16xlarge | c6g.metal
  • D2: d2.xlarge | d2.2xlarge | d2.4xlarge |d2.8xlarge

Are EC2 Instances Resizable?

You can resize instances in Amazon EC2 if the new instance types are compatible by:

  • Virtualization type - Linux AMIs are either paravirutal (PV) or hardware virtual machines (HVM). You cannot resize an instance that was launched as a PV to an instance of HVM. 
  • Architecture - New instances types can only be launched to the same processor architecture. For example, 32-bit AMIs can only be resized to other 32-bit instances.
  • Network - You cannot resize to an EC2-Classic from newer instance types. Newer instance types must be launched in a VPC.
  • Enhanced networking - Enhanced networking requires necessary drivers, and you cannot resize to an instance that does not support them.
  • NVMe - To resize to instances that use NVMe, you must first install the NVMe drivers on your existing instance.

AWS EC2 Benefits

EC2 has a number of benefits. One of the main benefits of AWS EC2 is its elastic load balancing. This automatically distributes incoming application traffic across several instances, while also identifying unhealthy instances and rerouting traffic to the healthy versions until restored. 

Additional benefits include:

  • EC2 reduces the time to boot new servers
  • Scaling capacity based on changes to computing requirements
  • Complete control of servers
  • Flexibility with operating systems
  • Built-in security 

Managing EC2 Clusters With ECS

The EC2 Container Service (ECS) uses EC2 instances for a quick and easy way to set up and scale a container cluster. This removes the headaches involved with having to manage an internal cluster management infrastructure, and it makes it simple-to-establish containers as the foundation of an application.

Like EC2, the ECS service is easy to scale, so it can readily adapt to an application’s changing capacity needs. It allows for scheduling of ongoing batch processes, services, and applications, and it offers integration—both with other AWS products and external programs—through its API.

Access insight


Sumo Logic Continuous Intelligence Platform™

Build, run, and secure modern applications and cloud infrastructures.

Start free trial

People who read this also enjoyed