EC2 Instance Storage + Storage Classes Flashcards

1
Q

Types of containers in AWS

A
  • Amazon Elastic Container - ECR
  • Amazon Elastic Container Service - ECS
  • Amazon Elastic Kubernetes Service - EKS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

ECR

A

Amazon Elastic Container
Stores, shares, and deploy container software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ECS

A

Amazon Elastic Container Service
- Fully managed and serverless using Fargate
- Run on EC2, Fargate
- Supports Docker and Docker Compose CLI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EKS

A

Amazon Elastic Kubernetes Service
- Fully managed (EKS) open-source system
- Can run on EC2, Fargate, EKS on outposts
- Supports Kubernetes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You need to use Docker to manage your newly deployed container-based application. Which AWS service can help you manage the app?

A

ECS - Amazon Elastic Container Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Fargate

A

It is a pay-as-you-go auto-scaling compute engine.
1. You build your container image
2. Define memory and compute resources
3. Run and manage container resources

It does not share kernels, CPU, memory resources, elastic network interfacing that provide isolation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Fargate vs Lambda

A
  • Lambda run < 15 mins
  • Fargate >15 mins
  • Lambda and Fargate are both serverless
  • Lambda has a ALWAYS free-tier
  • Fargate you pay for the resources you used (vCPUs, memory and storage)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is amazon EBS

A

Elastic Block Store
- It’s directly attached
- Reliable (high availability
and durability)
- Provides persistent block storage volumes
- Ensures data is preserved, even if the instance crashes.
Scalability.
EBS can be expanded on the fly without any downtime.
EBS also has snapshot capabilities.
This means it can take backups
and also use these backups to create new volumes.
EBS use cases are hosting relational or NoSQL databases,
data warehousing and big data analytics,
and also enterprise resource planning
and customer relationship management applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is EFS

A

Elastic File System
EFS is a scalable file storage solution
for EC2 and other AWS services.
Some key features of EFS is it’s fully managed.
This simplifies the complexities of deploying
and maintaining advanced file systems.
It scales automatically.
EFS grows and shrinks automatically
as you add and remove files,
ensuring that you only pay for the storage you use.
EFS also features concurrent access.
It’s designed to be accessed by multiple EC2 instances
from various AWS services simultaneously.
EFS is perfect for applications with growing storage needs,
like content management and web serving.
It’s also suitable for big data analytics applications,
and it’s commonly used in development testing
and staging environments thanks to its scalability
and shared access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Instance Stores

A

temporary block level storage
directly attached to the EC2 instance.
Unlike EBS, the storage is ephemeral,
and it’s ideal for temporary data.
Some key features of instance stores
is its high I/O performance.
The direct attached storage provides a fast I/O operation.
Instance stores are temporary storage.
Data on instance store volumes is lost
if the instance stops, terminates, or crashes.
And instance stores are available at no extra cost.
They come as part of the instance,
meaning you don’t pay additional fees for the storage.
Instance stores are best for temporary storage
of information like caches or buffers.
It’s suitable for workloads that need to write
and discard large amounts of data.
It’s often used in situations where data
is replicated across multiple instances,
like distributed data processing tasks.
Selecting the right storage is important.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Fix this

A

EBS is block level storage
used with EC2 instances, EFS is a file system
scalable across multiple EC2 instances,
and instance store provides temporary
block level storage directly attached to the instance.
Know that only EBS and EFS offer durable storage solutions.
Instance store’s data is ephemeral,
meaning the data doesn’t persist
after the instance stops or terminates.
While all three offer high performance,
EBS is particularly known for its provisioned IOPS,
EFS is scalable file storage,
and instance store for a high I/O operation’s
suitable for temporary data.
Remember that while EBS and EFS have costs
associated with the amount of storage provisioned,
instance store comes at no additional cost,
as it’s included in the instance price.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Storage class - S3 Standard

A
  • Frequently accessed data
  • High throughput performance and low latency
  • Can scale automatically
    to handle your storage needs
  • across multiple devices in multiple facilities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Storage class - S3 Standard-Infrequent Access

A
  • data that’s less frequently accessed,
    but requires rapid access when needed
  • retrieval fee, it’s best for data accessed less frequently,
    but quickly when needed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Storage class - S3 Intelligent-Tiering

A
  • data with unpredictable access patterns,
    it automatically moves data between two access tiers.
  • designed for savings in storage costs
    without performance impact.
    -
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Storage class - One Zone-Infrequent Access

A
  • storing data in just one availability zone
  • Cost-effective, but slightly less durable
    than multiple zone options
  • Secondary backup or data that’s easily reproducible.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Storage class - S3 Glacier Instant Retrieval

A
  • immediate access to your archive data.
    It’s an archive storage class
    that delivers the lowest cost storage for long-lived data
    that is rarely accessed
    and requires retrieval in milliseconds.
16
Q

Storage class - S3 Glacier Flexible Retrieval

A
  • isn’t accessed as much
  • archive data that is accessed
    one to two times per year
  • archive data that does not require immediate access,
    but needs the flexibility to retrieve
    large sets of data at no cost.
17
Q

Storage class - S3 Glacier Deep Archive

A
  • cost-effective for long-term archival,
    it’s designed for customers,
    particularly those in highly regulated industries,
    like healthcare and public sectors,
    that retain data sets for seven to 10 years or longer
    to meet regulatory compliance.
  • This storage class has longer retrieval times.
    Retrieval can take up to 12 hours.
18
Q

Amazon FSX Storage

A
  • Fully managed Windows File System that’s crafted for Windows specific workloads.
  • workloads
    that require native Windows features
    -
19
Q

Elastic Disaster Recovery

A
  • pay only for the servers you are actively replicating to AWS.
20
Q

SSD-backed Volumes

A
  • Solid State Drive
  • Faster
  • More expensive
  • Ideal for high IOPS
21
Q

HDD-backed Volumes

A
  • Hard Disk Drive
  • Slower
  • Less expensive
  • Ideal for throughput tasks (handle high volumes of work efficiently)
22
Q

AWS Storage Gateway

A
  • Bridge between on-premise data and cloud data in S3
  • Hybrid storage service to allow on- premises to seamlessly use the AWS Cloud
  • Use cases: disaster recovery, backup & restore, tiered storage
  • Types of Storage Gateway:
    • File Gateway
    • Volume Gateway
    • Tape Gateway
    • FSx File Gateway
23
Q

AWS Backup

A
  • Creates bkps across multiple AWS services (EC2, EBS, FSx)
  • Encryption and Compliance
  • Centralized Backup Management - simplifies overseeing bkps
  • Automated bkp scheduling
  • Cross-regio & Account Bkp - disaster recovery
24
Q
A