0% found this document useful (0 votes)
3 views2 pages

Dasari Vishnuvardhan_ assignment

The document provides an overview of AWS and its services, including EC2 instance types, IAM roles vs. users, and networking concepts like VPC peering. It explains the implications of stopping an EC2 instance with an Elastic IP, outlines the characteristics of different load balancers, and describes how to create an AMI. Additionally, it details the relationship between Availability Zones and Regions, as well as the differences between public and private subnets.
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)
3 views2 pages

Dasari Vishnuvardhan_ assignment

The document provides an overview of AWS and its services, including EC2 instance types, IAM roles vs. users, and networking concepts like VPC peering. It explains the implications of stopping an EC2 instance with an Elastic IP, outlines the characteristics of different load balancers, and describes how to create an AMI. Additionally, it details the relationship between Availability Zones and Regions, as well as the differences between public and private subnets.
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/ 2

AWS Assignment

1. You accidentally stopped an EC2 instance in a VPC with an associated Elastic IP. If you
start the instance again, what will be the result?
If we restart the EC2 instance, the Elastic IP will not be automatically reassociated with the
instance. We will need to manually reassign the Elastic IP to the instance, as stopping an
instance disassociates the Elastic IP.
2. What are the different types of EC2 instances based on their costs?
o On-Demand Instances: Pay per hour or second, ideal for short-term workloads.

o Reserved Instances: Commit for 1 or 3 years for a significant discount.

o Spot Instances: Up to 90% cheaper than on-demand, but can be interrupted.

o Dedicated Hosts: Physical servers for compliance and regulatory needs.

o Savings Plans: Flexible pricing model similar to Reserved Instances but with more
adaptability.
3. What is AWS?
AWS (Amazon Web Services) is a cloud computing platform that provides infrastructure as a
service (IaaS), platform as a service (PaaS), and software as a service (SaaS). It offers
compute power, storage, networking, security, and other services.
4. What is EC2?
Amazon EC2 (Elastic Compute Cloud) is a web service that provides resizable compute
capacity in the cloud. It allows users to launch virtual machines (instances) with various
configurations.
5. What is the difference between an IAM role and an IAM user?
o IAM User: A specific entity with credentials (username & password) for AWS
access.
o IAM Role: A temporary set of permissions that AWS services or users can assume,
typically used for granting permissions to applications or services.
6. What is the relation between the Availability Zone and Region?
o Region: A geographical area (e.g., US-East-1, EU-West-1).

o Availability Zone (AZ): A data center within a region. Each region has multiple AZs
for redundancy and fault tolerance.
7. What is a VPC peering connection?
VPC Peering is a networking connection between two Virtual Private Clouds (VPCs) that
allows them to communicate privately using AWS’s internal network without requiring
internet access.
8. What is the Difference Between Public Subnet and Private Subnet?
o Public Subnet: Has direct internet access via an Internet Gateway.

o Private Subnet: No direct internet access; typically uses a NAT Gateway for
outbound traffic.
9. What Is an AMI? How Do I Build One?
o AMI (Amazon Machine Image): A pre-configured template containing OS,
applications, and configurations to launch EC2 instances.
o Steps to build an AMI:

1. Launch an EC2 instance and configure it as required.


2. Create an image from the instance using the Create Image option.
3. AWS will generate an AMI that can be used to launch new instances.
10. What are the different uses of the various load balancers in AWS Elastic Load
Balancing?
o Application Load Balancer (ALB): Works at the application layer (Layer 7), best
for HTTP/HTTPS traffic and routing based on URL, headers, or request content.
o Network Load Balancer (NLB): Works at the transport layer (Layer 4), best for
handling millions of requests per second with low latency.
o Classic Load Balancer (CLB): Older model supporting both Layer 4 and Layer 7
but is less feature-rich than ALB and NLB.

You might also like