EC2 Flashcards
What is EC2?
A Linux-based/Windows-based/Mac-based virtual server that you can provision
What purchasing limits exist for EC2?
You are limited to running On-Demand Instances per your vCPU-based On-Demand Instance limit, purchasing 20 Reserved Instances, and requesting Spot Instances per your dynamic Spot limit per region.
What is AWS Nitro System?
AWS Nitro System is the underlying platform of the next generation of EC2 instances. Traditionally, hypervisors protect the physical hardware and bios, virtualize the CPU, storage, networking, and provide a rich set of management capabilities. With the Nitro System, these functions are offloaded to dedicated hardware and software, thereby reducing the costs of your instances in the process. Hence, the Nitro Hypervisor delivers performance that is indistinguishable from bare metal and performs better than its predecessor: the Xen Hypervisor.
What are EC2 servers called?
Server environments are called instances.
Amazon Machine Image
Package OS and additional installations in a reusable template called Amazon Machine Images.
What are Instance Types?
Various configurations of CPU, memory, storage, and networking capacity for your instances, known as instance types.
What instance type is used for general purpose?
t-type and m-type for general purpose.
What instance type is used for compute optimized?
c-type for compute optimized
What instance type is used for memory-optimized?
r-type, x-type, z-type for memory-optimized
What instance type is used for storage optimized?
d-type, h-type, i-type for storage optimized
What instance type is used for accelerated computing?
f-type, g-type, and p-type for accelerated computing
Key Pairs.
Secure login information for your instances using key.
Instance Store Volumes
Storage volumes for temporary data that are deleted when you STOP or TERMINATE your instance.
What storage volumes are used for persistent storage?
Persistent storage volumes for your data using Elastic Block Store volumes (see AWS storage services).
Security Groups
A firewall that enables you to specify the protocols, ports, and source IP ranges that can reach your instances.
Tags
Metadata, known as tags, that you can create and assign to your EC2 resources
User-Data
A script that will be run on instance boot called user-data.
Host Recovery for Amazon EC2
Automatically restarts your instances on a new host in the event of an unexpected hardware failure on a Dedicated Host.
EC2 Hibernation?
EC2 Hibernation is available for On-Demand and Reserved Instances running on freshly launched M3, M4, M5, C3, C4, C5, R3, R4, and R5 instances running Amazon Linux and Ubuntu 18.04 LTS. You can enable hibernation for your EBS-backed instances at launch. You can then hibernate and resume your instances through the AWS Management Console, or through the AWS SDK and CLI using the existing stop-instances and start-instances commands. Hibernation requires an EC2 instance to be an encrypted EBS-backed instance.
True/False. You can allow automatic connection of one or more EC2 instances to an RDS database.
True.
What are the instance states?
Start, Stop, Hibernate, Terminate
How do you prevent accidental termination?
Enable Termination Protection.
How do you prevent an instance from being accidentally stopped?
By enabling instance stop protection, you can prevent an instance from being accidentally stopped.
What does the root device volume contain?
The root device volume contains the image used to boot the instance.