Launching an EC2 Instance on AWS

Launching an EC2 Instance on AWS

What is EC2, and why is it important?

  • Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud.

  • Access reliable, scalable infrastructure on demand. Scale capacity within minutes with SLA commitment of 99.99% availability.

  • Optimize performance and cost with flexible options like AWS Graviton-based instances, Amazon EC2 Spot instances, and AWS Savings Plans.

Benefits :

Deliver secure, reliable, high-performance, and cost-effective compute infrastructure to meet demanding business needs. Access the on-demand infrastructure and capacity you need to run HPC applications faster and cost-effectively. Access environments in minutes, dynamically scale capacity as needed, and benefit from AWS’s pay-as-you-go pricing.

EC2 Instance Types:

  1. General purpose

  2. Compute optimized

  3. Memory optimized

  4. Storage optimized

  5. Accelerated computing

General purpose:

General Purpose instances are designed to deliver a balance of compute, memory, and network resources. They are suitable for a wide range of applications, including web servers, small databases, development and test environments, and more.

Compute optimized :

Compute Optimized instances provide a higher ratio of compute power to memory. They excel in workloads that require high-performance processing such as batch processing, scientific modeling, gaming servers, and high-performance web servers.

Memory optimized :

Memory Optimized instances are designed to handle memory-intensive workloads. They are suitable for applications that require large amounts of memory, such as in-memory databases, real-time big data analytics, and high-performance computing.

Storage optimized :

Storage Optimized instances are optimized for applications that require high, sequential read and write access to large datasets. They are ideal for tasks like data warehousing, log processing, and distributed file systems.

Accelerated computing :

Accelerated Computing Instances typically come with one or more types of accelerators, such as Graphics Processing Units (GPUs), Field Programmable Gate Arrays (FPGAs), or custom Application Specific Integrated Circuits (ASICs). These accelerators offload computationally intensive tasks from the main CPU, enabling faster and more efficient processing for specific workloads.

Launching an EC2 Instance on AWS :

Sign in to the AWS Management Console

Open the EC2 Console Once you are signed in to the AWS

Click launch instances

Provide a Name for the EC2 Instance

Choose an Amazon Machine Image (AMI)

Choose an Instance Type

Create a Key Pair

Set key pair name & Create key pair

Click launch instance

After launching the instance, you will be redirected to a page displaying a success dialogue box

Click on the instance ID will take you to the EC2 Instances page

Now, successfully launched EC2 instance on AWS.