Introduction To AWS EC2 Intro
Introduction To AWS EC2 Intro
Amazon Web Service EC2 is a web service which is provided by the AWS cloud, which is
secure, resizable, and scalable. Elastic Compute Cloud, or EC2, is a cloud computing service
provided by cloud service provider AWS and is available through Amazon Web Services
(AWS). The operating systems and part of the necessary software are already installed on
these virtual PCs. Furthermore, it provides the option to configure the instance according to
the current task, i.e. allocate the RAM, ROM, and storage accordingly. You don't need to
worry about the supporting infrastructure when deploying your apps on EC2 servers. By
connecting the autoscaling group to the EC2 instance, you can adjust the settings of the
instance according to the application's need. Also, user can dismantle the virtual device once
the task is completed. Depending on the application's incoming traffic, you can scale the
instance up or down.
A. Understanding EC2 Instances
An AWS EC2 instance is basically a virtual server in Amazon web services. With this
AWS user can request and provision a computer server within the AWS cloud.
Amazon EC2 provides a wide selection of instance types optimized to fit different use
cases. With instance types, you can easily select the combination of CPU, memory,
storage, and networking resources you need for your application. A variety of instance
sizes is available for each instance type, allowing you to scale your resources
according to the requirements of your target workload.
The figure below shows the ec2 instance which is deployed in VPC (virtual private
cloud) which is a service that allows the users to launch their virtual machines in a
protected or isolated virtual environment. (AWS, 2023).
AWS EC2 instances are grouped into families based on the application profiles.
AWS' resources are increasingly using technology changes to stay at the top and maximize
profits, and Elastic Cloud Compute (EC2) instances are the backbone of the cloud
deployments. (AWS, 2023).
Following are some benefits of using AWS EC2:
Complete Control: Your instances are entirely under your control, and you may
interact with them just like any other system thanks to root access. Using web service
APIs, you may stop any instance while keeping the data on the boot partition and then
resume it later. With web service APIs, you may remotely restart instances and view
their console output.
Secure: Security at AWS is the highest priority. AWS offers data centers and networks
built to meet the security demands of the most sensitive organizations. In combination
with Amazon VPC, Amazon EC2 provides your compute resources with robust
networking capabilities.
Flexible cloud hosting services: You can select from a variety of operating systems,
software packages, and instance kinds. With Amazon EC2, you may choose the best
RAM, CPU, instance storage, and boot partition size configuration for the operating
system and application of your choosing.
Reliable: With Amazon EC2, you can deploy replacement instances rapidly and
predictably. The service runs with AWS’ proven network and data centres. As part of
the Amazon EC2 Service Level Agreement, each Amazon EC2 region commits to
99.99% availability.
Integrated: AWS provides a complete, secure solution for computing, query
processing, and cloud storage across a wide range of applications with Amazon EC2
integrated with Amazon Simple Storage Service (Amazon S3), Amazon Relational
Database Service (Amazon RDS), and Amazon Virtual Private Cloud (Amazon VPC).
Knowledge Check
Question 1:
Question 2:
Question 3:
Answers:
Question1: Reserved Instances.
Question2: Compute Optimized.
Question3: False.
II. Setting Up Your EC2 Environment
A. Creating an EC2 Instance