<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anjith Paul on Medium]]></title>
        <description><![CDATA[Stories by Anjith Paul on Medium]]></description>
        <link>https://medium.com/@anjithpaul?source=rss-3220365fa649------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sF-l1EAp3K3_SJjdANoCRA.jpeg</url>
            <title>Stories by Anjith Paul on Medium</title>
            <link>https://medium.com/@anjithpaul?source=rss-3220365fa649------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:42:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anjithpaul/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Choose the Right AWS Storage Service]]></title>
            <link>https://medium.com/@anjithpaul/how-to-choose-the-right-aws-storage-service-a4643be2a62c?source=rss-3220365fa649------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4643be2a62c</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-solutions-architect]]></category>
            <category><![CDATA[s3]]></category>
            <category><![CDATA[aws-storage-service]]></category>
            <category><![CDATA[s3-glacier]]></category>
            <dc:creator><![CDATA[Anjith Paul]]></dc:creator>
            <pubDate>Sun, 26 May 2024 14:07:38 GMT</pubDate>
            <atom:updated>2024-05-26T14:07:38.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ltk0hwMdyzLIf29D" /><figcaption>Photo by <a href="https://unsplash.com/@artwall_hd?utm_source=medium&amp;utm_medium=referral">Art Wall - Kittenprint</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>AWS offers different kinds of storage services to meet various needs. This article briefly discusses the storage services offered by AWS and when to use each service.</p><h3>Storage Types</h3><p>Before getting into the specific services, let’s take a look at storage types. There are mainly 3 types of storage:</p><h4>Block Storage</h4><p>In block storage, all data is organized into fixed-size chunks called blocks. Block storage allows direct access to specific data blocks, enabling block storage to have fast read/write speeds. The operating system will format the block storage with a file system like Ext4 or NTFS to abstract away the complications of managing blocks and allow data to be organized under directories and files. Block storage can also be used as a boot-able volume.</p><p><strong><em>E.g:</em></strong><em> Local SSD</em></p><h4>File Storage</h4><p>File storage natively comes with a file structure. To enable this type of storage, it leverages file metadata to keep track of the file in the hierarchy. While this does add slight performance overhead, it offers other advantages like file level access control and easy sharing of files with multiple devices concurrently.</p><p><strong><em>E.g:</em></strong><em> File servers</em></p><h4>Object Storage</h4><p>Object storage has no directory structure. All objects are stored at the same level. Each object is a self-contained repository with data, metadata, and a Unique ID that an application uses to locate and access it. Due to this flat hierarchy, Object storage is very scalable. Objects are accessed via REST API. Object storage is ideal for unstructured data.</p><p>AWS Storage services also mainly come under one of the three types of aforementioned storage.</p><h3>Amazon EBS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*8jA17IUSir3-lBkL8tUUQw.png" /></figure><p>Amazon EBS or Elastic Block Storage is a Block storage service available in AWS, designed to work with Amazon EC2 instances.</p><h4>When to use it</h4><ul><li>If you need <strong>Data persistence</strong>: Data in the instance store attached to EC2 is temporary. If you need the data to persist, it is recommended to use EBS, or any other storage service with data persistence.</li></ul><p><strong><em>E.g:</em></strong><em> For a business critical application that generates some files which should persist even if the EC2 instance stops or fails.</em></p><ul><li>If you need <strong>Fast read/write speed</strong>: EBS is a high-performance block storage that is faster than similar storage services like EFS and S3</li></ul><p><strong><em>E.g:</em></strong><em> If you’re running a fast paced multiplayer game server on EC2.</em></p><ul><li>If you need to use it as <strong>Boot volume</strong>: EBS being a block storage, can work as a boot-able volume.</li></ul><h4>When not to use it</h4><ul><li>If you don’t need data persistence, just use the instance store attached to EC2.</li></ul><p><strong><em>E.g:</em></strong><em> If you’re using the EC2 instance as a Jenkins worker node, there could be a lot of temporary data generated as part of the workflow. You wouldn’t need this data later. So it makes more sense to use the instance store in EC2 than to use a dedicated EBS volume.</em></p><ul><li>If you need to store large amounts of unstructured data, S3 would be a better option.</li></ul><p><strong><em>E.g:</em></strong><em> if you want to store large amount of media files</em></p><ul><li>If you need to share the storage with instances/servers beyond one availability zone, use EFS or S3. (You could workaround this if you create a snapshot of your EBS volume and copy it to other AWS AZs and automate this process. But it’s not recommended)</li></ul><h3>Amazon EFS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*t_F15e7MKZLs2Ga4jj46Ig.png" /></figure><p>Amazon EFS or Elastic File Storage is a managed file storage service available in AWS.</p><h4>Storage Classes</h4><ul><li><strong>EFS Standard</strong><br>- Frequent access</li><li><strong>EFS Infrequent Access (IA)</strong><br>- Cost optimized class for data accessed only few times in a quarter</li><li><strong>EFS Archive</strong><br>- Cost optimized class for data accessed only few times in a year</li></ul><h4>When to use it</h4><ul><li>If you need <strong>Data persistence</strong>: Data in the instance store attached to EC2 is temporary. If you need the data to persist, it is recommended to use EFS, or any other storage service with data persistence.</li></ul><p><strong><em>E.g:</em></strong><em> For a business critical application that generates some files which should persist even if the EC2 instance stops or fails.</em></p><ul><li>If you want <strong>automatic scaling</strong>: You don’t need to provision or manage the scaling of EFS. EFS will automatically scale as you add or remove files.</li></ul><p><strong><em>E.g:</em></strong><em> A web application that allows users to upload and share files, collaborate on documents, and store project-related data. The application experiences fluctuating storage needs due to varying user activity, file uploads, and data growth over time.</em></p><ul><li>If you want to <strong>share the storage with multiple servers</strong>: EFS being a file storage system, allows it to be mounted to multiple EC2 instances or even on-premises servers.</li><li>If your EC2 is running <strong>Linux or MacOS AMI</strong>: EFS does not support Windows EC2 instances.</li><li>If you need <strong>multi-AZ support</strong>: EFS can store data redundantly across multiple Availability Zones in a region.</li></ul><h4>When not to use it</h4><ul><li>If you need the lowest latency, use EBS.</li></ul><p><strong><em>E.g:</em></strong><em> if you’re running a fast paced multiplayer game server on EC2.</em></p><ul><li>If you have windows workload, use Amazon FSx windows file server or EBS instead.</li><li>If you want a Boot-able volume, use EBS.</li></ul><h3>Amazon FSx</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*-B9VAkSBw3qPkJ4vX2dF_Q.png" /></figure><p>Amazon FSx is a fully managed file storage similar to EFS, except this service supports windows and other file systems.</p><h4>FSx file systems:</h4><ul><li><strong>Windows File server</strong><br>- For windows workload.</li><li><strong>Lustre</strong><br>- For High throughput compute-intensive workloads like machine learning.</li><li><strong>NetApp ONTAP</strong><br>- A general purpose file system.</li><li><strong>OpenZFS</strong><br>- Low Latency Open Source file system.</li></ul><h4>When to use</h4><ul><li>When you need file storage <strong>like EFS</strong>, but for non-Linux workloads like <strong>windows.</strong></li><li>If you need to work with / migrate <strong>on-premises data.</strong></li></ul><h4>When not to use</h4><ul><li>If you need more control on the windows file server, build a custom solution, as FSx is a fully managed service.</li></ul><p><strong><em>E.g:</em></strong><em> a custom industrial control system application on Windows with unique storage needs.</em></p><ul><li>If you just need basic file sharing and are okay with Linux, then use EFS.</li></ul><h3>Amazon S3</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*JiRGkxbhmk9gjLTIRR-MOA.png" /></figure><p>Amazon Simple Storage Service (S3) is an object storage service. S3 stores all objects at the same level.</p><h4>Storage Classes</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*NBgmlrwVDEMEIgY-SJHEcg.png" /></figure><h4>S3 Outposts</h4><ul><li>Object storage on-premises.</li><li>To keep data close to on-premises applications.</li></ul><h4>Bucket Types</h4><ul><li><strong>General purpose bucket</strong><br>- Used in S3 storage classes except Express One Zone<br>- Flat structure. All objects stored at the same level. Instead of a directory hierarchy structure, S3 uses prefixes separated by “/” for objects to mimic a directory structure. This helps in organizing and managing objects similar to a directory structure.</li><li><strong>Directory Buckets</strong><br>- Uses S3 Express One Zone storage class.<br>- Data is organized hierarchically into directories.</li></ul><h4>When to use</h4><ul><li>If there could be a <strong>large amount of data</strong> and the storage should <strong>scale</strong> accordingly. E.g: to use as a data lake.</li><li>If the data should have <strong>high availability</strong>. S3 comes with 99.999999999 % availability</li><li>If you need a <strong>cheap</strong> storage option.</li><li>If you need to <strong>host a static website</strong>.</li><li>If you want to use as an origin for <strong>CDN</strong></li><li>If you want to <strong>access the storage from anywhere</strong>, even outside the AWS account</li></ul><h4>When not to use</h4><ul><li>If you want a normal file structure and mount it, use EFS or EBS.</li></ul><p><strong><em>E.g:</em></strong><em> when there are various development tools, code libraries, and project files that need to be persistent and accessible even after instance restarts.</em></p><ul><li>If you want lowest possible latency, use EBS, or even file storage like EFS and FSx would be better than S3.</li></ul><p><strong><em>E.g:</em></strong><em> Scientific research related application doing simulation requiring high-performance computing.</em></p><ul><li>If you need proper data warehousing, use Redshift.</li><li>If you have a relational database, store it in RDS.</li></ul><h3>AWS Storage Gateway</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*RnPMxuZDdfLC0ExLCBc6Lw.png" /></figure><p>AWS Storage gateway service enables on-premises applications to access cloud storage via familiar protocols like SMB or NFS, just like how they access local storage.</p><h4>Types of storage gateway</h4><ul><li>S3 File Gateway (slightly slower than directly calling s3, but can use caching to get faster)</li><li>FSx File Gateway</li><li>Tape Gateway</li><li>Volume Gateway</li></ul><h4>When to use it</h4><ul><li>If your <strong>on-premises application</strong> needs to take advantage of <strong>cloud storage</strong> features like scalability.</li><li>If your on-premises application needs to use <strong>AWS Data analysis/process</strong> services, you can use gateway to send the data.</li></ul><h4>When not to use</h4><ul><li>If your application is not on-premises</li><li>If you need cloud storage, but don’t need to use it like local storage via SMB or NFS protocols, then you can modify the application to directly call S3 APIs instead of gateway.</li></ul><p><strong><em>E.g:</em></strong><em> Financial application that needs to store the tax invoices in the cloud</em></p><ul><li>If you have a high performance low latency workload, the storage gateway might not work well.</li></ul><p><strong><em>E.g:</em></strong><em> Real-time video editing application</em></p><ul><li>If you just want to send some data from on-premises to cloud storage, and doesn’t require application to mount it like local storage, then you can use<br>- AWS Datasync for High speed data transfer<br>- AWS Snow family for very large dataset</li></ul><h3>AWS Backup</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*jx3RBLapJavURJln-wPXMA.png" /></figure><p>AWS Backup is a service that allows centrally managing data backups across multiple AWS services. This service comes handy especially for any disaster recovery scenarios</p><h4>When to use</h4><ul><li>If you want to <strong>centrally manage data backup</strong> across multiple services</li><li>If you want to <strong>Automate</strong> backups</li><li>If you want cross-region or even <strong>cross-account</strong> backup</li></ul><h4>When not to use</h4><ul><li>If you need to backup only one AWS service, use native backup of that service</li></ul><p><strong><em>E.g:</em></strong><em> If EBS is the only data storage service, use EBS snapshots.</em></p><ul><li>If you need long term archiving, S3 Glacier would be a better option.</li></ul><p><strong><em>E.g:</em></strong><em> Storing tax invoices.</em></p><ul><li>If you need more granular control over backup</li></ul><p><strong><em>E.g:</em></strong><em> RDS point-in-time recovery has more granular control over which data to recover.</em></p><h3>In Summary</h3><h4>EBS</h4><ul><li>If you want the lowest latency possible and doesn’t require sharing with multiple servers beyond AZ, use EBS.</li></ul><h4>EFS</h4><ul><li>If you want a highly scalable Linux File storage system that can be shared between instances across multiple AZs, use EFS.</li></ul><h4>FSx</h4><ul><li>If you want a highly scalable file storage for your windows or high performance (e.g:machine learning) workloads, use FSx</li></ul><h4>S3</h4><ul><li>If you want very highly scalable storage, that is accessible from anywhere, and is cheap, and you’re okay with it being a object store (no file system), use S3</li></ul><h4>Storage Gateway</h4><ul><li>If you want to use cloud storage with your on-premises application, use Storage gateway</li></ul><h4>AWS Backup</h4><ul><li>If you want to centrally manage backups across multiple storage services, use AWS Backup.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4643be2a62c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>