Block, file and hybrid storage, lifecycle rules and backup

Storage for machines rather than for objects: one volume per instance, a file system many instances mount at once, an appliance that keeps the local interface while the capacity moves to AWS, and where backups actually sit.

Lesson 8 of 11 in objective 3. Cloud technology and services, part of AWS Certified Cloud Practitioner (CLF-C02).

One volume, one shared file system, or a managed version of the one you already run. Amazon EBS — What it is: A block volume the instance formats; How many machines use it: One instance at a time; Scope: One Availability Zone; Right for: Boot volumes and databases. Amazon EFS — What it is: A managed NFS file system for Linux; How many machines use it: Many, across zones, at the same time; Scope: Regional, and it grows and shrinks by itself; Right for: A directory a whole fleet reads and writes. Amazon FSx — What it is: Managed versions of file systems people already run; How many machines use it: Many; Scope: Depends which file system; Right for: SMB with Active Directory; high-performance computing Amazon EBS Amazon EFS Amazon FSx What it is A block volume the instance formats A managed NFS file system for Linux Managed versions of file systems people already run How many machines use it One instance at a time Many, across zones, at the same time Many Scope One Availability Zone Regional, and it grows and shrinks by itself Depends which file system Right for Boot volumes and databases A directory a whole fleet reads and writes SMB with Active Directory; high-performance computing
One volume, one shared file system, or a managed version of the one you already run.

One machine, or many

The question that sorts these services is how many machines need the same data at the same moment. An EBS volume lives in one Availability Zone and normally attaches to one instance; Multi-Attach exists, but it is limited to certain volume types within one zone and still requires a cluster-aware file system to be safe. So three instances spread across three zones, all writing one uploads directory with ordinary file permissions, is not a volume problem at all.

Amazon EFS is the answer to that shape: a managed NFS file system that many instances mount simultaneously across zones, growing and shrinking as files come and go. Amazon FSx is the same idea for file systems people already depend on — FSx for Windows File Server provides SMB shares with Active Directory integration, which is the right answer to the identical question asked about a Windows fleet, and FSx for Lustre is the high-performance option for computing clusters. If more than one machine must see the same files at once, you want a file system, not a volume.

Keeping the local interface, moving the capacity

AWS Storage Gateway is an appliance that runs IN YOUR BUILDING and is the only service in this objective that does. It presents a familiar interface locally, caches recently used data on local disk so that working with it feels local, and keeps the full dataset in AWS. That combination is what a stem describes when it says editors need local speed, the archive should live in S3, the on-premises array should shrink, and working over the wide-area link has already been tested and rejected.

The near misses are worth naming because each is right for a different question. A nightly script that copies finished work to S3 is a backup, not a storage tier: the local array still has to hold everything. FSx for Lustre is a high-performance file system that links to S3 but runs in AWS, so it puts nothing in the building. AWS Snowball physically moves a large dataset once, when the network is the constraint; it is a migration device, not an ongoing path.

Storage Gateway keeps the interface people already use and moves the bulk to AWS. File Gateway — Presents locally: NFS or SMB shares; Data lands in: S3, one object per file; Replaces: A file server. Volume Gateway — Presents locally: iSCSI block volumes; Data lands in: AWS, with snapshots; Replaces: A SAN volume. Tape Gateway — Presents locally: A virtual tape library; Data lands in: S3 and its archive classes; Replaces: A tape robot, with the backup software unchanged File Gateway Volume Gateway Tape Gateway Presents locally NFS or SMB shares iSCSI block volumes A virtual tape library Data lands in S3, one object per file AWS, with snapshots S3 and its archive classes Replaces A file server A SAN volume A tape robot, with the backup software unchanged
Storage Gateway keeps the interface people already use and moves the bulk to AWS.

Backups: what takes them, and where they stay

EBS snapshots are the backup mechanism for a volume: incremental after the first, stored durably by AWS, and the standard way to move a volume between Availability Zones. The property that decides recovery questions is that a snapshot is stored IN THE REGION where it was taken, so an event that removes the Region removes the volumes and their snapshots together. Copying the snapshot to a second Region is a separate, deliberate action, and a recovery plan that does not name it is a plan to lose the backups with the primary. Encrypting the volume does not help; encryption protects confidentiality, not existence.

AWS Backup is the service for the auditor's version of this question. It centralises backup plans, schedules, retention and vaults across the AWS services it supports — EBS volumes, RDS databases, DynamoDB tables, EFS file systems and more — applies them by tag or by resource, and reports on whether the policy was actually followed. Three things are easy to confuse: AWS Backup manages backups OF resources by policy, an S3 lifecycle rule manages objects INSIDE one bucket, and a snapshot is the mechanism for one volume. A question naming several different services and one policy is AWS Backup every time.

Worth carrying in

Amazon EBS
Block volume, one Availability Zone, normally one instance. Snapshot it to back it up.
Amazon EFS
Managed NFS for Linux. Mounted by many instances across zones; capacity is elastic.
Amazon FSx for Windows File Server
SMB shares with Active Directory integration, for Windows fleets.
Amazon FSx for Lustre
High-performance file system in AWS, linkable to an S3 bucket.
AWS Storage Gateway
On-premises appliance: local file, volume or tape interface, data stored in AWS, hot data cached locally.
EBS snapshot
Incremental point-in-time copy, stored in the Region it was taken in. Copy it to move it.
AWS Backup
One place for plans, schedules, retention and compliance reporting across many services.
AWS Snowball
Physical device for moving a large dataset once, when the network is the constraint.

What the exam does with this

Objective
3. Cloud technology and services
Share of the exam
34% (the whole objective)
Questions in this lesson
4
Signed for by a person
0

Partly checked. None of the 4 questions here has been read against the cited source by a person. 4 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.

Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.

Questions in this lesson

Drill this lesson

A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.

Practise Block, file and hybrid storage, lifecycle rules and backup

The rest of objective 3