EC2 Flashcards
Types of EC2
- General Purpose
- Compute Optimized
- Memory Optimized
- Storage Optimized
General Purpose great for what kind of work
Good for web servers or code repositories
Storage Optimized great for what kind of work
Great for storage-intensive tasks that require high, read and write access to large data sets . Use case:
- High-frequency online transaction procession system
- Distributed File systems
Compute Optimized great for what kind of work
great for the compute-intensive task that requires high-performance processors:
Use case :
- High-performance computing
Memory-Optimized great for what kind of work
Fast performance for workloads that process large data sets in memory. Use case :
- high-performance relational/non-relational databases
- Distributed web-scale
What is Security Group
they control how traffic is allowed into or out of our EC2 instances. They are firewalls on EC2 instances
What port is used login to Linux instance
22 - ssh(secure shell)
80 port is used for what?
For accessing an unsecured website
Port 443(HTTPS) is used for accessing what
for accessing secured website
Is Inbound or Outbound traffic authorized by default in the security group
Outbound
EC2 Pricing model
- On-demand
- Reserved
- Spot
- Dedicated Host
For what kind of work is on-demand EC2 plan recommended?
- short term and uninterrupted workloads
Reserved EC2 model is recommended for what kind of work?
For steady-state usage application- like database
For what kind of work is the Spot EC2 plan recommended?
- application that has a flexible start and end time
- like batch jobs, data analysis, Image processing
How do you terminate a spot instance?
First, have to cancel the spot request and then terminate the associated spot instance