EC2 Fundamentals Flashcards
Spot Instances
Spot Instances are good for short workloads and are the cheapest EC2 Purchasing Options, but the least reliable. Provide the biggest discount but are not suitable for critical jobs.
Security Groups
Control traffic in and out of EC2 instances. can be attached to multiple EC2 instances.
EC2 Reserved Instances
- Up to 72% discount compared to On-demand
- You reserve a specific instance attributes (Instance Type, Region,Tenancy, OS)
- Reservation Period – 1 year (+discount) or 3 years (+++discount)
- Payment Options – No Upfront (+), Par tial Upfront (++), All Upfront (+++) * Reserved Instance’s Scope – Regional or Zonal (reserve capacity in an AZ)
- Recommended for steady-state usage applications (think database)
- You can buy and sell in the Reserved Instance Marketplace
Convertible Reserved instance
- Convertible Reserved Instance
- Can change the EC2 instance type, instance family, OS, scope and tenancy * Up to 66% discount
Compute Optimized Instance
- Great for compute-intensive tasks that require high performance processors:
- Batch processing workloads
- Media transcoding
- High performance web servers
- High performance computing (HPC)
- Scientific modeling & machine learning
- Dedicated gaming servers
EC2 User Data
is used to bootstrap your EC2 instances using a bash script. The script can contain commands such as installing software/packages, download files from the internet or anything you want.
Memory Optimized Instance
Fast performance for workloads that process large data sets in memory
* Use cases:
* High performance, relational/non-relational databases
* Distributed web scale cache stores
* In-memory databases optimized for BI (business intelligence)
* Applications performing real-time processing of big unstructured data
Storage Optimized Instance
Great for storage-intensive tasks that require high, sequential read and write access to large data sets on local storage
* Use cases:
* High frequency online transaction processing (OLTP) systems
* Relational & NoSQL databases
* Cache for in-memory databases (for example, Redis)
* Data warehousing applications
* Distributed file systems
Dedicated Host Instances
A physical server with EC2 instance capacity fully dedicated to your use
* Allows you address compliance requirements and use your existing server- bound software licenses (per-socket, per-core, pe—VM software licenses)
* Purchasing Options:
* On-demand – pay per second for active Dedicated Host
* Reserved - 1 or 3 years (No Upfront, Partial Upfront,All Upfront)
* The most expensive option
* Useful for software that have complicated licensing model (BYOL – Bring Your
Own License)
* Or for companies that have strong regulatory or compliance needs
Spot Fleet
Set of spot instances and optionally on-demand instances. it allows you to automatically request spot instances with the lowest price.