Dasari Vishnuvardhan_ assignment
Dasari Vishnuvardhan_ 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 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: