EC2 Flashcards
What is EC2?
Web service that provides resizable compute capacity in the cloud
What is the difference between using the EC2 local instance store and Amazon Elastic Block Store (Amazon EBS) for the root device?
By using Amazon EBS, data on the root device will persist independently from the lifetime of the instance. Alternatively, the local instance store only persists during the life of the instance.
How do I access my EC2 systems?
The RunInstances call that initiates execution of your application stack will return a set of DNS names, one for each system that is being booted. This name can be used to access the system exactly as you would if it were in your own data center.
How many instances can I run in Amazon 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.
How can I run more EC2 instances than specified in the instance limit?
Complete the Amazon EC2 limit increase request form
True or false: There are no limitations in sending email from EC2 instances.
False. In order to maintain the quality of Amazon EC2 addresses for sending email, we enforce default limits on the amount of email that can be sent from EC2 accounts.
How long does it typically take to set up new EC2 instances after a call to RunInstances?
A few minutes
What are vCPU-based limits for EC2?
EC2 measures usage towards each limit based on the total number of vCPUs that are assigned to the running On-Demand instances in your AWS account.
How many vCPUs for nano, micro, small and medium EC2 instances?
1
How many vCPUs for large and xlarge EC2 instances?
2, 4 respectively
How many vCPUs for Nxlarge EC2 instances, as an expression of N?
N*4
What is the default vCPU limit for EC2 On-Demand standard instances (A, C, D, H, I, M, R, T, Z)?
1152 vCPUs
What is the default vCPU limit for EC2 On-demand instances F, G, Inf, P, X?
128 vCPUs
True or false: vCPU-based limits do not apply to EC2 Reserved Instances.
True
When do vCPU limits apply to EC2 Spot Instances?
Only when running, not when requesting
EC2 - What are Accelerated Computing instances?
Use hardware accelerators, or co-processors, to perform some functions more efficiently than is possible in software running on CPUs (e.g. floating-point number calculation and graphics processing).
EC2- What are the 3 types of Accelerated Computing instances?
GPU compute for general-purpose computing, GPU graphics for graphics-intensive, and FPGA programmable hardware compute instances for advanced scientific workloads
EC2 - When should I use GPU graphics and compute instances?
For applications with massive parallelism such as workloads using thousands of threads.
EC2 - What applications can benefit from P4d?
Machine learning workloads like NLP, image classification, object detection, etc. Increased GPU performance can significantly reduce time to train.
What are the 5 EC2 instance families?
General purpose, compute optimized, memory optimized, accelerated computing, storage optimized
What are EC2 T2 instances?
General purpose, burstable performance instances that provide a baseline level of CPU performance with the ability to burst above the baseline.
Which EC2 T2 instance type allows instance storage?
Trick question! None of them.
What is the memory in GiB for EC2 t2 instance types?
nano - 0.5 micro - 1 small - 2 medium - 4 large - 8 xlarge - 16 2xlarge - 32
What is the memory of EC2 m4.large in GiB, and for m4.Nxlarge, what is the memory as an expression of N?
m4. large - 8 GiB
m4. Nxlarge - N*16
What are EC2 m4 and m5 instances good for?
Small and mid-size databases, data processing tasks requiring additional memory, running backend servers for enterprise applications
What are EC2 t2 instances good for?
Websites and web applications, development environments, build services, microservices, test and staging envs