By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
(For AWS Solutions Architect – Associate & Real-World Deployments)
AWS Storage Gateway is a hybrid cloud storage service that connects your on-premises environments to AWS storage (S3, EBS, Glacier). It acts like a "bridge" between your local data center and AWS, letting you: - Extend on-prem storage without buying more hardware.- Back up data to AWS (cheaper than tape libraries).- Cache frequently accessed files in your data center while storing the rest in S3.- Migrate legacy apps to AWS without rewriting them.
Real-World Scenario:You’re a cloud engineer at a hospital. The radiology department has 50TB of medical images stored on a local NAS. They need to keep 6 months of data accessible (for fast retrieval) but archive older scans to reduce costs. Storage Gateway lets them: - Cache recent scans locally (File Gateway).- Archive older scans to S3 Glacier (automatically via lifecycle policies).- Avoid buying more NAS hardware (saving $50K/year).
CacheHitPercent
UploadBufferFree
TapeUsage
✅ AWS account with admin IAM permissions.✅ On-prem VM (VMware, Hyper-V, or EC2) with: - 4 vCPUs, 16GB RAM, 80GB disk.- Network access to AWS (port 443, 80, 2049 for NFS).✅ S3 bucket (for storing files).
prod-file-gateway
my-company-files
192.168.1.0/24
Root squash
bash sudo mkdir /mnt/aws-files sudo mount -t nfs <GATEWAY_IP>:/my-company-files /mnt/aws-files
bash touch /mnt/aws-files/test.txt aws s3 ls s3://my-company-files/ # Should show "test.txt"
archive-old-files
✅ Files written to /mnt/aws-files appear in S3.✅ S3 lifecycle policy moves old files to Glacier.✅ CloudWatch shows CacheHitPercent > 80%.
/mnt/aws-files
CacheHitPercent > 80%
s3:PutObject
s3:GetObject
Allowed clients
Environment=prod
Owner=team-x
prod-file-gateway-01
dev-volume-gateway-cached
CacheHitPercent < 80%
UploadBufferFree < 20%
❌ File Gateway (for file shares, not backups).
"Need low-latency access to a subset of data, but store the rest in AWS?"
❌ Stored Mode (keeps all data local).
"How to reduce S3 costs for old files?"
❌ Delete old files (loses data).
"Which protocol does File Gateway use for Windows?"
"You need to back up 10TB of on-prem data to AWS with minimal cost. The data is rarely accessed but must be retained for 7 years. Which solution?"- ✅ Tape Gateway → Glacier Deep Archive (cheapest long-term storage).- ❌ S3 Standard (expensive for 7 years).- ❌ Volume Gateway (not cost-effective for archives).
You’re migrating a legacy app that writes logs to a local NFS share. The logs are rarely accessed after 30 days but must be kept for 5 years. How do you set this up with Storage Gateway?
app-logs-bucket
Why it works:- File Gateway lets the app write logs as if they’re local.- S3 lifecycle automatically moves old logs to cheaper storage.- Glacier Deep Archive is the cheapest option for 5-year retention.
mount -t nfs <GATEWAY_IP>:/<BUCKET> /mnt/aws
iscsiadm --mode discovery --type sendtargets --portal <GATEWAY_IP>
Storage Gateway is your "hybrid cloud Swiss Army knife." Use it when: - You can’t move apps to the cloud yet (File/Volume Gateway).- You need to replace tape backups (Tape Gateway).- You want to extend on-prem storage without buying hardware.
Next time you see a legacy app struggling with storage, ask: "Could Storage Gateway help?" ?
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.