EC2 Flashcards
(17 cards)
Front
Back
What is EC2 in AWS?
Elastic Compute Cloud; AWS’s IaaS compute service providing virtual machines known as instances.
What does EC2 provide access to?
Virtual machines (instances) with OS, runtime, applications, etc.
Is EC2 a public or private AWS service?
Private; runs in the AWS private zone (VPC subnet).
What determines the resilience of an EC2 instance?
The AZ it is deployed into; EC2 is AZ-resilient.
What are EC2 billing components?
Instance usage (CPU/memory), EBS storage, and any licensed software.
What is the difference between stopped and terminated EC2 states?
Stopped = no CPU/memory charges, but EBS charges still apply. Terminated = no charges at all.
What are the 3 key EC2 instance states?
Running, Stopped, Terminated.
What storage types can EC2 instances use?
Local instance store and Elastic Block Store (EBS).
What is an AMI?
Amazon Machine Image; used to create EC2 instances.
What permissions can an AMI have?
Private, shared with specific accounts, or public.
What does an AMI contain?
Boot volume, optional additional volumes, and block device mapping.
What is block device mapping in an AMI?
Defines how volumes are attached and presented to the OS.
What is used to connect to a Linux EC2 instance?
SSH protocol on port 22 using an SSH key pair.
What is used to connect to a Windows EC2 instance?
Remote Desktop Protocol (RDP) on port 3389 using local admin password.
What is the role of an SSH key pair?
Public key is placed on the instance; private key is kept by the user for authentication.
Who manages the OS and above in EC2?
The user. AWS manages virtualization and infrastructure below the OS.