Technology Flashcards
What are the EC2 pricing options? (5)
- On-Demand
- Spot
- Reserved Instances
- Dedicated Hosts
- Savings Plans
EC2 pricing options: On-Demand
You pay by the hour or by the second without pre-paying
EC2 pricing options: - Spot:
spare capacity is available
EC2 Savings Plans commit to compute usage measured
per hour for a 1- or 3-year term
EC2 On-Demand is best used for applications that are (3)
- Under development
- Have Unpredictable workloads that CAN’T be interrupted
- Workloads will not run longer than a year
EC2 Spot is best used for applications that have (3)
- No concern for start or stop time of App
- Workloads that Can be interrupted
- The Cheapest EC2 Option
With EC2 Reserved Instances you pay for
1-3 years upfront to get max discount; however you pay regardless of usage
With EC2 Dedicate Host you bring your own server-bound
software license from vendors like Microsoft or Oracle
An ideal use case of the EC2 Savings Plan would be if you wanted to
lower your bill across multiple compute services
What are the 4 types of load balancers?
- Classic Load Balancers
- Application Load Balancers
- Gateway Load Balancers
- Network Load Balancers
A Network Load Balancer makes routing decisions at the
transport layer (TCP/SSL).
A Gateway Load Balancer operates at the
the network layer of the OSI Model
Real-world usage of EC2 instances would be to deploy a
database or a web application
Horizontal scaling vs. vertical scaling
Horizontal scaling: adds or replaces instances whereas Vertical scaling,
upgrades an existing instance
What are the benefits of Auto Scaling
- Improves the availability of your applications by auto-increasing capacity as needed.
- Not to be confused it with load balancing
What do you need in order to connect to an EC2 instance from your local machine?
A key pair is needed to access an EC2 instance from your local machine.
Lamda is a serverless compute service that falls into the
Function As A Service (FAAS) category.
In Lambda you can author an application code called
functions, using many popular languages like node.js, Java, Go, PowerShell, Python, and Ruby.
How does Lamda manage growth over time?
on-demand cloud computing that auto-scales to meet your requirements
What is the time out period on a single Lambda function?
Lambda functions have a 15-minute timeout.
EC2 biggest advantage would have to be that it can
scale up or down based on activity which saves on the operational cost of having more hardware on hand than required.
While there are similarities between EC2 and Lambda the difference between the two is
Lambda is event-driven and EC2 would be used for a more customized solution that goes beyond a single event.
Lambda you are only charged for the number of requests made and
their duration.
Lambda always free The free usage tier includes
1 million free requests each month.
S3 Standard Offers (4) main features
-low latency
- high durability (11 9’s) across multiple Availability Zones
- high availability 99.99%
- high throughput
S3 Standard is great for applications that
need frequent access to data.
What are some real-world use cases for S3 Standard? (3)
- Online gaming
- Big data workloads
- SaaS products
With S3 Standard Security you can set security at the
bucket level or individual object level using Access control lists (ACLs)
You can use S3 access logs to
track the access to your buckets and objects
S3 Intelligent Tiering automatically monitors access patterns for objects and
dynamically moves objects that have not been accessed for 30 days from the frequent to the infrequent access tier.
- When an object is accessed again, it’s moved back to the frequent access timer.
With S3 Intelligent Tiering Users only pay a monitoring and automation fee, there’s no
cost for moving data between the two tiers.
S3 Intelligent Tiering 3 No’s Features
- No lifecycle charges
- No retrieval charges
- No minimum storage duration
S3 Intelligent Tiering is for data that has
unknown or changing access patterns
S3 Standard Infrequent Access has the same high throughput performance as S3 Standard (T/F)?
True
The combination of low cost and high performance make S3 Standard-IA ideal for?
- Long-term storage
- Backups
- Dsaster recovery files
S3 Standard Infrequent Access supports SSL for data in
transit and encryption of data at rest
What is the main difference with S3 One Zone Infrequent Access and all the other tiers of S3?
S3 One Zone-IA stores data in a single AZ and costs 20% less than S3 Standard-IA.
Compared to the other S3 Storage Classes which store data in a minimum of 3 AZs
S3 One Zone Infrequent Access is best used for data that is less frequently utilized but requires (2)
rapid access when needed.
also a good choice for storing secondary backup copies
S3 One Zone-IA is ideal for customers who want a lower-cost option for infrequently accessed data but do not require
the availability and resilience of S3 Standard or S3 Standard Infrequent Access
S3 Glacier Instant Retrieval is ideal for archival data that needs immediate access such a
s medical images, or new media
S3 Glacier Instant Retrieval provides data with the same speed, durability, and availability as S3 Standard but
for a fraction of the price
S3 Glacier Flexible is ideal for backup and disaster recovery use cases when
large sets of data need to be retrieved in minutes, without concern for costs
S3 Glacier Flexible Retrieval Features configurable retrieval times, from
from minutes to hours, with free bulk retrievals
S3 Glacier Deep Archive is Ideal for highly-regulated industries that need to retain data for
7-10 years or longer to meet regulatory compliance requirements.
Exp: Financial Services, Healthcare, and Public Sectors —
S3 Glacier Deep Archive retrieval time is within __ hours which makes it the ____ ____ storage class
-12 hours
Lowest costing
Elastic Block Store (EBS) is a storage device (called volume) that can be
attached to (or removed from) your instance EC2 instances