AWS Certified Cloud Practitioner (CLF-C02) / Cloud Technology and Services

Block devices and shared file systems

Lesson 28 of 42. Open to read. No account needed.

Decide How the Application Uses Data

An application may need a disk-like device, temporary working space or shared files accessed by several machines. "We need storage" does not distinguish them.

Block storage exposes blocks to an operating system, which can put a file system on top. File storage exposes files and directories through a protocol. Local instance storage describes where the device lives and how closely its lifetime follows the compute host. Those distinctions affect both application compatibility and recovery.

Compare the Storage Boundaries

Instance store is host-local, EBS is attached block storage, and EFS or a selected FSx file system serves shared files.

The first area places temporary storage with an EC2 host. EBS is a separate attached volume. The file-service areas describe shared access rather than a disk being moved between machines. These are alternatives for different requirements, not four steps every file travels through.

Use EBS for Attached Block Storage

An EBS volume can provide an EC2 system disk or application data storage. The attached instance and volume must be in the same Availability Zone. Supported Multi-Attach configurations exist, so "EBS can only ever attach to one instance" is too absolute. They do not make an ordinary file system safe for arbitrary concurrent writers.

EBS can persist independently of the instance, but termination settings matter. A volume marked for deletion on termination is deleted with that event; a preserved volume can continue incurring charges. Do not replace checking that setting with a slogan that EBS is "always permanent."

EBS snapshots are point-in-time recovery copies from which new volumes can be created. Keeping a volume available is different from keeping a recoverable earlier state.

Treat Instance Store as Replaceable Working Space

Instance-store devices are physically associated with the EC2 host and available only on suitable instance types. They can suit scratch work or caches whose data can be rebuilt.

Data normally survives a reboot, but not stop, hibernation or termination, and underlying disk failure can lose it. Do not teach that every restart erases instance store; reboot and stop/start are different events. Important results must be copied to suitable persistent storage before the temporary instance is no longer needed.

Share Files With the Right Protocol

Amazon EFS provides shared NFS file access for supported clients. It offers Regional and One Zone file-system types; the latter does not provide the same zone-loss resilience. Network access and file permissions still need configuring. EFS is not the native Windows SMB file-service answer.

Amazon FSx is a family of managed file-system offerings. A requirement for Windows file shares and SMB can point to FSx for Windows File Server. Choose based on protocol, operating-system integration and the particular offering's capabilities, not the family name alone. This lesson stays within the approved foundational scope rather than adding specialist file-system workloads.

Work Through a Document Processing Team

A processing job downloads inputs, creates temporary intermediate files and produces completed reports. The team can rebuild the intermediate files, but losing completed reports would be unacceptable.

Temporary working files can use an appropriate instance-store device. Before the worker stops, completed reports need a durable destination. If the worker needs an attached disk for frequent updates, EBS is a candidate, with its retention and snapshot policy checked separately.

Now suppose several Linux workers need the same shared directory. That requirement differs from one worker needing a disk. An NFS file service such as EFS becomes relevant. If the business instead needs existing Windows SMB shares, evaluate the corresponding FSx offering.

The decision follows the interface and lifetime of the data, not the file extension. A PDF can be temporary output, a shared file or an object in S3 at different points in a workflow.

Check Your Understanding

A team stores its only completed reports on instance store and plans to stop the worker overnight. It says the data is safe because a reboot preserved it yesterday. Is that sound reasoning?

Answer and Reasoning

No. Reboot and stop are different lifecycle events. Instance-store data does not persist through a stop. The reports need a suitable durable copy before that event. Renaming the files or choosing a larger instance-store device does not change persistence. A valid recovery plan addresses the data's lifetime, not just available capacity.

References

Service references checked on 25 September 2026. No AWS resources are required for this lesson.

Study this course with an account

Course access adds revision notes, the Exam Cheat Sheet, saved progress, bookmarks and your own notes.

INR 199 plus 18% GST. 90 days of online access. No auto-renewal.

See course access

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy