0% found this document useful (0 votes)
2 views5 pages

Amazon EC2 (Elastic Compute Cloud) - Definition

Amazon EC2 (Elastic Compute Cloud) is a web service by AWS that allows users to create and manage virtual servers in the cloud, offering flexibility to scale resources. Key terms related to EC2 include AMI, instance types, key pairs, security groups, and VPC, which are essential for creating and managing instances. The document also provides step-by-step instructions for launching an EC2 instance and explains the concepts of inbound and outbound traffic controlled by security groups.

Uploaded by

layappa44lk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views5 pages

Amazon EC2 (Elastic Compute Cloud) - Definition

Amazon EC2 (Elastic Compute Cloud) is a web service by AWS that allows users to create and manage virtual servers in the cloud, offering flexibility to scale resources. Key terms related to EC2 include AMI, instance types, key pairs, security groups, and VPC, which are essential for creating and managing instances. The document also provides step-by-step instructions for launching an EC2 instance and explains the concepts of inbound and outbound traffic controlled by security groups.

Uploaded by

layappa44lk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Ec2

That’s great! Here’s a clear and simple definition of EC2 along with the important terms related to EC2
instance creation:

Amazon EC2 (Elastic Compute Cloud) – Definition:


Amazon EC2 is a web service provided by AWS that allows you to create and manage virtual servers (called
instances) in the cloud. These instances can run various applications, operating systems, and workloads just like
a physical server but with the flexibility to scale resources up or down as needed.

Important Terms Related to EC2 Instance Creation:


Term Description
A pre-configured template that contains the OS, application
AMI (Amazon
server, and applications required to launch your instance.
Machine Image)
Examples: Ubuntu, Amazon Linux, Windows.
Defines the hardware of the host computer (CPU, memory,
Instance Type storage, network capacity). Example: t2.micro, t3.medium,
m5.large.
SSH Key pair (private & public key) used to securely connect
Key Pair (login) to the instance. AWS stores the public key, and you keep
the private key.
Acts like a virtual firewall to control the traffic to and from your
Security Group
EC2 instance (inbound & outbound rules).
A range of IP addresses in your VPC where you can launch EC2
Subnet
instances. Determines the availability zone.
VPC (Virtual A logically isolated section of the AWS Cloud where you can
Private Cloud) launch AWS resources in a defined virtual network.
A static, public IPv4 address that can be attached to your
Elastic IP
instance to allow access from the internet.
Persistent block storage volumes attached to EC2 instances to
Storage (EBS –
store data. Types: General Purpose SSD, Provisioned IOPS SSD,
Elastic Block Store)
etc.
A set of permissions that you can assign to your EC2 instance to
IAM Role
allow it to access other AWS services securely.
Scripts or commands that you can pass while launching the
User Data
instance to automate tasks (e.g., installing software at boot time).
Public IP allows internet access; Private IP is used for
Public/Private IP
communication within the VPC.
Termination
An option to prevent accidental termination of your instance.
Protection

Sure! Here are the Step-by-Step Instructions to Create an EC2 Instance in AWS — clear and simple for
your notes:
✅ Steps to Create an EC2 Instance on AWS:
1. Login to AWS Console

Open AWS Management Console.

Sign in with your AWS credentials.

2. Go to EC2 Dashboard

In the AWS Console, search for EC2 in the search bar.

Click on "EC2" to open the EC2 Dashboard.

3. Click on "Launch Instance"

Click the "Launch Instance" button to create a new virtual server.

4. Configure Instance Details:

a) Name & Tags:

Enter a Name for the instance (for easy identification).

b) Choose AMI (Amazon Machine Image):

Select an OS for your instance, like:

Amazon Linux

Ubuntu

Red Hat

Windows Server

c) Choose Instance Type:

Pick an instance type (defines CPU, RAM):

Example: t2.micro (eligible for AWS Free Tier).

d) Configure Key Pair:

Choose an existing Key Pair or create a new one for SSH access.

Download the .pem file for Linux or .ppk for Windows (used in PuTTY).
e) Configure Network Settings

Choose VPC and Subnet.

Configure Auto-assign Public IP if internet access is needed.

f) Configure Firewall (Security Group):

Add Inbound/Outbound Rules to allow traffic (e.g., allow SSH (port 22) for Linux, RDP (port 3389)
for Windows).

g) Configure Storage:

Select EBS volume size and type.

Example: 8 GB (Free Tier eligible).

h) (Optional) Configure Advanced Details:

Add User Data scripts to automate tasks at instance startup.

5. Review and Launch


Verify all configurations.

Click "Launch Instance".

6. Access Your Instance

Go to the Instances page.

Select your instance and note its Public IP/DNS.

Connect via:

SSH (for Linux):

ssh -i keypair.pem ec2-user@public-i

RDP (for Windows): Use Remote Desktop with the credentials provided.

7. (Optional) Allocate Elastic IP (if needed)

Allocate and associate a static IP if you want a permanent IP address.

✅ Summary:
Step Action
1 Login to AWS Console
2 Go to EC2 Dashboard
3 Launch Instance
Configure AMI, Instance Type, Key Pair, Network, Security Group,
4
Storage
5 Review and Launch
6 Connect to Instance
7 (Optional) Assign Elastic IP

If you want, I can prepare this as a PDF or PPT slide for your AWS notes. Let me know!

Security groups in ec2


A Security Group in Amazon EC2 acts as a virtual firewall that controls inbound
and outbound traffic to and from your EC2 instances

✅ What is Traffic (in EC2 / Cloud)?


In the context of aws , traffix refers to the amount of data recived and sent by the server , over the internet..

👉 Example:

When you access a website hosted on EC2, the request (from your browser) and the response (from
EC2) is called traffic.

✅ Inbound Traffic (Incoming Traffic):


Inbound traffic is the data that comes INTO your EC2 instance from the internet or other AWS resources.

✔️Example:

When a user sends a request to access your website on EC2, this request is inbound traffic.

✔️Controlled by Inbound Rules in the Security Group.

✅ Outbound Traffic (Outgoing Traffic):


Outbound traffic is the data that leaves your EC2 instance and goes to the internet or other AWS resources.

✔️Example:

When your EC2 server connects to an external database or API, this is outbound traffic.

✔️Controlled by Outbound Rules in the Security Group

You might also like