You are on page 1of 18

AMAZON

EC2
INSTANCE

By:- JALAJ, MANYA, DIVYANSH


Table of WHAT IS AN EC2 INSTANCE?

Contents WHY EC2?

Points for discussion


HOW TO SET UP AN INSTANCE?

DESCRIPTIVE ANALYSIS!

HOW TO TERMINATE AN INSTANCE?


WHAT IS AN
EC2 INSTANCE?
An Amazon EC2 instance is a virtual server in Amazon's
Elastic Compute Cloud (EC2) for running applications on the
Amazon Web Services (AWS) infrastructure. AWS is a
comprehensive, evolving cloud computing platform; EC2 is a
service that enables business subscribers to run application
programs in the computing environment. It can serve as a
practically unlimited set of virtual machines (VMs).
Amazon provides various types of instances with different
AMAZON EC2 configurations of CPU, memory, storage and networking
resources to suit user needs. Each type is available in various
sizes to address specific workload requirements.
WHY EC2 INSTANCE?

Using Amazon EC2 eliminates You can use Amazon EC2 to launch
your need to invest in hardware as many or as few virtual servers as SAVES TIME !
up front, so you can develop and you need, configure security
deploy applications faster. and networking, and manage
storage.

SAVES MONEY !
Taking over and setting up an FLEXIBILITY-
infrastructure locally can add on You can create, start, stop, and
to your expenses.
Hence, EC2 enables cost
terminate at any time
(with no startup or termination fees).
SAVES SPACE!
effectiveness
How to set up an
EC2 INSTANCE?

AMAZON EC2
Sign into aws account.
Then, select the option
"LAUNCH A VIRTUAL
MACHINE"
or
Search "EC2 instance" in
the search tab of
navigation bar.

EC2 DASHBOARD OPENS UP!!


STEP-1
Your first step is to
"CHOOSE AN AMI"
An Amazon Machine Image (AMI) is a
master image for the creation of
virtual servers -- known as EC2
instances -- in the Amazon Web
Services (AWS) environment. The
machine images are like templates
that are configured with an
operating system and other
software that determine the user's
operating environment.

Let's try making an windows instance!!


STEP-2
"CHOOSE AN INSTANCE TYPE"
T2 instances are a new low-cost, General
Purpose instance type that are designed to
provide a baseline level of CPU performance
with the ability to burst above the baseline.T2
instances are for workloads that don’t use the
full CPU often or consistently, but occasionally
need to burst to higher CPU performance.
Many applications such as web servers,
developer environments and small databases
don’t need consistently high levels of CPU, but
benefit significantly from having full access to
very fast CPUs when they need them. T2
instances are engineered specifically for these
use cases.

T2 instances are available to use in the AWS Free Tier, which includes 750 hours of Linux and
Windows t2. micro instances each month for one year for new AWS customers.
STEP-3
"CONFIGURE INSTANCE"
Configure the instance to suit your
requirements. You can launch
multiple instances from the same
AMI, request Spot instances to
take advantage of the lower
pricing, assign an access
management role to the instance,
and more. You can set more than
an instance referring to a single
AMI.
STEP-4
"ADD STORAGE"
Your instance will be launched with the
following storage device settings. You can attach
additional EBS volumes and instance store
volumes to your instance, or edit the settings of
the root volume. You can also attach additional
EBS volumes after launching an instance, but
not instance store volumes. Learn more about
storage options in Amazon EC2..The three types
that are now available include Magnetic,
Provisioned IOPS (SSD) and General Purpose
(SSD) EBS volumes. All three have their merits
and offer similar functionalities, such as
snapshot capabilities, though they differ largely
in cost and performance.You can back up the
data on your Amazon EBS volumes to Amazon
S3 by taking point-in-time snapshots.
STEP-5
"ADD TAGS"
A tag consists of a case-sensitive key-
value pair. For example, you could define
a tag with
key = Name and value = Webserver.
A copy of a tag can be applied to
volumes, instances or both.
Tags will be applied to all instances and
volumes.Amazon Web Services allows
customers to assign metadata to their
AWS resources in the form. of tags. Each
tag is a simple label consisting of a
customer-defined key and an optional
value that can make it easier to manage,
search for, and filter resources by
purpose, owner, environment, or other
criteria.
STEP-6
"CONFIGURE SECURITY
GROUP"
A security group is a set of firewall
rules that control the traffic for your
instance. On this page, you can add
rules to allow specific traffic to reach
your instance. For example, if you
want to set up a web server and allow
Internet traffic to reach your instance,
add rules that allow unrestricted
access to the HTTP and HTTPS ports.
You can create a new security group
or select from an existing one below.
Learn more about Amazon EC2
security groups.
STEP-7
"REVIEW and LAUNCH"
Please review your instance launch details.
You can go back to edit changes for each
section. Click Launch to assign a key pair to
your instance and complete the launch
process.

ALL SET TO LAUNCH !!


Just click on launch and then create
a new key pair and download it for
further access to your instance.
Close the confirmation
page to return to EC2
console.
Click Instances in the
navigation pane to view
the status of the instance
The status is pending
while the instance is
launching.
After, the instance is
successfully launched, the
status changes to
Running.
How to TERMINATE an
EC2 INSTANCE?

AMAZON EC2
STEP-1
To terminate an instance:-
OPEN AMAZON EC2 CONSOLE.
IN THE NAVIGATION PANE,
CLICK INSTANCES.
SELECT THE INSTANCE, YOU NEED
TO TERMINATE.
CHOOSE, "INSTANCE STATE."
SELECT -"TERMINATE
INSTANCE"
TYPE confirm WHEN
PROMPTED FOR
CONFIRMATION.
STEP-2
HERE, COMES THE
INSTANCE STATE AS
TERMINATED, WHICH
ENSURES THE END
OF AN INSTANCE.

A TERMINATED INSTANCE CANNOT BE RESTARTED!!

You might also like