Introduction to Amazon Web Services and EC2 Flashcards
Client-Server Model
Clients request, servers respond.
AWS EC2 (Elastic Compute Cloud)
Virtual servers in cloud
Cloud Computing
Internet-based IT resources
Undifferentiated Heavy Lifting
Common, time-consuming IT tasks
Cloud Computing Deployment Models
Cloud-based, on-premises, hybrid
Cloud-Based Deployment Model
Run in the cloud
On-Premises Deployment Model
Resources on-site
Hybrid Deployment Model
Mix of cloud and on-premises
Benefits of Cloud Computing:
Trade Upfront Expense for Variable Expense
Companies pay for usage
Benefits of Cloud Computing: Stop Spending Money to Run Data Centers
Focus on applications and customers
Benefits of Cloud Computing: Stop Guessing Capacity
Scale based on demand
Benefits of Cloud Computing: Benefit from Massive Economies of Scale
Lower costs due to usage aggregation
Benefits of Cloud Computing: Increase Speed and Agility
Quick development and deployment
Benefits of Cloud Computing: Go Global in Minutes
Efficient global deployment
AWS Lambda
Serverless computing service
EC2 Benefits
Flexible, cost-effective, quick provisioning
EC2 Benefits: Multitenancy
Sharing resources securely
EC2 Benefits: Resizable Instances
Capability: Vertically scale as needed
EC2 Benefits: Networking Control
User-controlled networking
EC2 Benefits: Ease of Getting Started
Advantage: AWS handles setup complexities
EC2 Benefits: Flexible Scaling
Feature: Easily resize instances
EC2 Benefits: Operating System Options
Choice: Windows or Linux
EC2 Benefits: Innovation and Ease
Impact: AWS simplifies server acquisition.
Amazon EC2 Definition
Description: Resizable compute capacity in the cloud.
On-Premises Challenges
Challenges: Upfront spending, server delivery, physical setup
Instance Lifecycle
Lifecycle: Launch, use, stop when needed, pay for active time.
Cost Savings
Savings: Pay only for required server capacity.
EC2 Analogy
Analogy: EC2 instances like coffee shop employees.
EC2 Analogy: Efficiency Importance
Importance: Match employee skillsets to roles for efficiency.
EC2 Analogy: AWS Environment Deployment
Deployment: Spin up different EC2 instance types in AWS
Instance Families
Families: General purpose, compute optimized, memory optimized, accelerated computing, storage optimized.
General Purpose Instances
Use Cases: Web service, code repositories. Balances compute, memory, and networking resources
Compute Optimized Instances
Use Cases: Gaming servers, HPC, scientific modeling
Memory Optimized Instances
Use Cases: Memory-intensive tasks.
Accelerated Computing Instances
Use Cases: Floating point calculations, graphics processing
Storage Optimized Instances
Use Cases: High-performance local data workloads.
What is the purpose of general-purpose instances in AWS?
Versatile Workload Support
List examples of workloads suitable for general-purpose instances.
App servers, Gaming servers, Databases
When to choose a general-purpose instance for an application?
Balanced Resource Needs
What is the key feature of compute-optimized instances in AWS?
High-performance processors
Name suitable workloads for compute-optimized instances.
Web servers, App servers, Gaming servers, Batch processing
What is the primary focus of memory-optimized instances in AWS?
Fast performance for large datasets
Describe the role of memory in computing.
Temporary storage for CPU instructions
When to consider using memory-optimized instances?
High-memory needs, real-time processing
What is the key feature of accelerated computing instances in AWS?
Hardware accelerators or coprocessors
Name functions performed more efficiently by hardware accelerators.
Floating-point calculations, Graphics processing, Data pattern matching
Provide examples of workloads suitable for accelerated computing instances.
Graphics applications, Game streaming, Application streaming
What workloads are suitable for storage-optimized instances in AWS?
Distributed file systems, Data warehousing, OLTP systems
Define IOPS in computing.
Input/Output Operations Per Second
Why choose storage-optimized instances for applications with high IOPS requirements?
Better performance for I/O-intensive tasks
Which Amazon EC2 instance type is suitable for data warehousing applications?
Storage Optimised
Which Amazon EC2 instance type balances compute, memory, and networking resources?
General Purpose
Which Amazon EC2 instance type is ideal for high-performance databases?
Memory optimized
Which Amazon EC2 instance type offers high-performance processors?
Compute optimized
What is the pricing model for EC2 with no long-term commitments?
On-Demand
How much savings can you get with Savings Plan?
Up to 72%
What discount do Reserved Instances offer versus On-Demand pricing?
Up to 75%
What is the main advantage of Spot Instances pricing?
Up to 90% off
When might Spot Instances be suitable?
Batch workloads
What is the purpose of Dedicated Hosts?
Meeting compliance requirements
Describe the billing flexibility of On-Demand pricing.
Per hour or per second
What does Savings Plan require a commitment to?
Consistent usage in dollars
How much can Spot Instances be discounted?
Up to 90%
What is the main consideration when using Spot Instances?
Tolerance to interruptions
What type of workloads are Dedicated Hosts suitable for?
Meeting compliance requirements
How is On-Demand pricing suitable for getting started with AWS?
No prior contracts needed
What is the key advantage of Reserved Instances for predictable workloads?
Up to 75% discount
What is the primary use case for Spot Instances?
Batch workloads
What commitment is required for Savings Plan?
One or three years
When can AWS reclaim Spot Instances?
At any time (two-minute warning)
What are the the types of billing options for EC2?
On demand, savings plan, reserved instances, spot instances, dedicated hosts