Data storage in the cloud: make sure you know what, why, where and how

Data storage in the cloud: make sure you know what, why, where and how

Data storage in the cloud | Cloud Encyclopedia ORBIT
Source: Image by rawpixel.com on Freepik

 

Cloud services provide businesses with a number of benefits, including increased flexibility, scalability and easy access to data anywhere, anytime. In this article, we’ll look at the importance of storing data in the cloud, how to do it right, and why businesses should consider Azure and AWS tools.

Filip Kamenář

 

In today’s digital era, storing data in the cloud is an increasingly popular choice for businesses and individuals. The days of storing personal data on various flash drives (which could be lost at the first opportunity) are long gone.

We are all familiar with and overwhelmingly use personal cloud storage such as Apple’s iCloud, Microsoft’s OneDrive or Google Drive. It’s easy, secure, and we get used to the availability of our data on all devices very quickly.

And it’s no different with enterprise solutions.

 

What does cloud storage mean?

Cloud storage means that a company moves its data and information from physical storage such as hard drives, server farms or data centres to the virtual space of a cloud provider.

This involves transferring the data and storing it on a remote server to which the company securely connects via the internet, VPN or private data line. As a result, companies do not have to make costly investments in their own hardware and infrastructure, which brings several benefits.
The servers of cloud service providers are located in data centres around the world, ensuring redundancy and good data availability. The data centre network is very dense, so a company can choose the geographically closest data centre to achieve low latency.

Data is accessed through APIs, web browser applications or dedicated applications.

Why store data in the cloud?

One of the main advantages of storing corporate data in the cloud is scalability and flexibility. Cloud providers such as AWS and Azure offer different service levels, so companies can adjust the size and performance of their data storage according to their current needs. This allows companies to react quickly to changes and maintain the right storage capacity without unnecessary costs.

Data in the cloud is also always secured with encryption and other measures to minimize the risk of data loss or leakage. Cloud providers offer ready-to-use solutions for regular data backups, so that data is protected even in the event of a  disaster or equipment failure (see the article Backup in the cloud: why, when, what and, most importantly, how?).

With much cloud storage, you only pay for the data actually stored, not for the storage capacity provided (there are exceptions to this, which we’ll explain later). This eliminates the need to make complicated calculations in advance about how much data you will need to store and to specify the storage parameters accordingly.
Let’s take a look at four scenarios that our customers often encounter and how they can be addressed in on-premise and cloud environments.

1. Over-dimensioned storage capacity

Has on-premise storage turned out to be oversized? Then you’re paying unnecessarily for capacity you don’t need and could have spent the money in other ways.

  • Solution in the cloud: In the cloud, this situation doesn’t arise because you don’t pay for unused capacity. You only pay for the data you actually store.

2. Lack of storage capacity

Hundreds of megabytes became gigabytes? Have you found that on-premise storage capacity is insufficient and you need to expand your storage? This can cause complications in the budget, as hardware investments are often planned well in advance. There may also be a technology complication where for some reason expansion is not possible.

  • Solution in the cloud: The cloud handles this situation for you, as you do not pre-order capacity. From the customer’s perspective, cloud storage capacity is virtually "unlimited" and it’s up to you how much data you store.

3. Unused storage

The implementation of the application for which you built the datastore has been cancelled, and the hardware resources for the datastore are unused? You may be able to use the capacity for another application, but often the storage is left empty, and the financial investment goes to waste.

  • Solution in the cloud: If the same situation occurs in the cloud, just delete the unnecessary data. At the same moment, you would stop paying for the storage. In the event that you need to keep the data in the cloud for future project recovery, you can use a data service suitable for archiving and thus significantly reduce costs.

4. Problem with backing up and restoring data

Enterprise customers in on-premise environments often face the challenge of data backup and recovery. Traditional backup methods can be challenging and unreliable, increasing the risk of data loss. Additionally, when data volumes increase, it can be difficult to keep up with backup needs.

  • Solution in the cloud: Cloud providers offer automatic and regular data backups, which reduces the risk of data loss and makes data recovery easier. For corporate customers, this means higher reliability and a lower administrative burden because the providers take care of everything themselves.

 

Where to store data in the cloud or choosing the right service

We’ve explained what cloud storage is, but where do we go with it now? Which services to choose? In order to decide, we first need to be clear about the data we want to store and then choose the most appropriate service for the use case.

First, we’ll introduce a few use case scenarios and then choose the right service from AWS or Azure. If we make the wrong choice, the entire data storage solution may be unnecessarily expensive and may also not meet the speed or functionality requirements.

Guide to choosing the right data storage service

  • Need to replace a  shared network drive that the whole office uses -> Amazon FSx or Azure Files
  • Back up regularly to data tapes -> Amazon Tape Gateway and Amazon S3
  • Need fast block storage that you connect to a virtual server -> Amazon EBS or Azure managed disks
  • Need storage that can be accessed by multiple virtual servers simultaneously -> Amazon EFS or Azure Files
  • Want to store static data from your web application -> Amazon S3 or Azure Blob storage
  • Need to archive data for years -> Amazon S3 Glacier or Azure Archive Blob storage
  • Need object storage accessible from the cloud and on-premise -> Amazon S3 and Storage Gateway or Azure StorSimple
  • Want to replace a  locally hosted Windows server file share -> Amazon FSx for Windows File Server or Azure Files
  • Need shared storage with sub-millisecond response time -> Amazon FSx for Lustre or Azure NetApp Files

 

Data storage in Azure, AWS | Cloud Encyclopedia ORBIT
Source: https://www.linkedin.com/pulse/storage-service-comparison-aws-vs-azure-gcp-richard-lenan-zhao/)

 

How do I store data in the cloud? A sample of typical cases

Each cloud storage has different characteristics and is therefore suitable for different purposes. A poorly designed solution could be unnecessarily expensive or fail to meet the required performance.

1. Migration on-premises fileshare to the cloud

Your company has a traditional fileshare where office workers store, share and manage their documents. However, with the increase in mobility and remote working, accessing these files is becoming restrictive and impractical. So you’d like to bring this infrastructure to the cloud, with the promise of easy and secure access to files from anywhere.

  • Solution in the cloud: For this scenario, it’s ideal to choose a cloud service like Azure Files or Amazon FSx. Both offer File Storage as a Service, which means you don’t have to manage the infrastructure yourself but rely on the cloud platform of your choice.
  • The optimal solution is to connect your corporate network to a cloud provider. The end user will not know the difference in their work (whether the corporate fileshare is in the cloud or on-premise) because the folder mapping is done in the same way. User authentication is possible using a federated corporate identity such as Active Directory.

 

2. Migration of an application with data storage on a local disk array

Your application hosted in an on-premise environment uses traditional local hard disk-based storage. Your existing solution is nearing the end of its life, which means increased maintenance and HW refresh costs. In particular, the recovery of HW, especially disks, is costly and requires additional human resources.

In the next few years, the application is expected to be expanded, so the amount of stored data will increase. However, in the current situation it is not possible to say what the future storage capacity needed will be.

  • Solution in the cloud: You can use Amazon EBS or Azure Managed disks for application storage. The advantage is the ability to continuously adjust the capacity of individual volumes, so you can assign only as much capacity to the application as will actually be used.
    In the event of future growth, you can increase the storage capacity as needed, or simply reduce the capacity if the amount of stored data decreases.

 

3. Data backup and disaster recovery

Your company has critical data stored on local servers. Unfortunately, in the past you have suffered a disaster and lost some of your data. You would like to ensure regular and reliable data backup and quick recovery in case of a crisis situation.

  • Solution in the cloud: Cloud platforms such as Azure and AWS provide a wide range of services for data backup and recovery. Typical examples are Azure Backup and AWS Backup, which allow you to set different backup policies.
    If a  disaster occurs, you can restore your data from the cloud, minimizing downtime for your company. The storage for these backups can be Amazon S3 block storage or Azure Blob storage offering different classes of data storage – from short-term to long-term archiving.

 

4. On-premise storage expansion combined with hybrid cloud storage

Your on-premise data storage is running out of capacity and needs to be increased. However, this was not foreseen in the IT budget and there are not enough funds for storage expansion. However, it is also not possible to wait until the next investment period.

  • Solution in the cloud: Existing on-premise can be maintained and capacity can be expanded using hybrid storage. In the case of AWS, the Storage Gateway service is suitable, in the case of Azure, the File Sync service.
    In an on-premise environment, you deploy a virtual gateway that is able to provide local infrastructure with access to cloud storage. This will allow you to expand your enterprise storage capacity without unnecessary infrastructure costs. And as usual, you’ll only pay for the data you store in the cloud.

 

Selected AWS and Azure cloud storage services and their purpose

Block storage

In a cloud environment, we understand object stores as environments where data is stored as objects that contain the data itself along with metadata and a unique identifier. These types of repositories offer a cost-effective solution for storing unstructured data, enabling data backup, web hosting, large dataset analysis, content distribution, application data storage, and easy file sharing.

AWS – Amazon S3 (Simple Storage Service)

Amazon S3 is a  scalable and resilient service for data storage and automatic replication between AWS availability zones. Amazon expresses resiliency in 11 nines, which means that data will remain stored with a 99.999999999% probability. S3 provides a simple web-based interface for storing and managing files in "buckets". Alternatively, S3 can also be operated from on-premise as network storage using the Storage Gateway service.

Azure – Blob storage

In Blob storage data is stored as objects known as "blobs". The service supports the storage and management of vast amounts of unstructured data, and individual blobs can be up to hundreds of terabytes in size. Blob storage is highly resilient, with the ability to create multiple redundant copies of data stored in different locations (see the article High availability of services in the cloud – how to do it?) even in the event of a hardware failure in one location. The Blob offers several different classes for data storage (hot, cool, cold, archive), allowing cost optimization by moving less frequently accessed data to a lower cost class.

 

Storage for long-term data archiving

AWS – Amazon S3 Glacier

S3 Glacier is an S3 storage class optimized for long-term data retention and archiving at low cost. Data is stored in the form of "archives" and is available for recovery when needed. S3 Glacier offers different levels of availability and data recovery options depending on requirements and costs.

 

AWS – Amazon S3 Glacier | Cloud Encyclopedia ORBIT
Source: https://catalog.us-east-1.prod.workshops.aws/workshops/f238037c-8f0b-446e-9c15-ebcc4908901a/en-US/002-services/002-storage/003-s3)

 

Azure – Blob storage archive

Similar to S3 Glacier, Blob storage offers a class of storage suitable for long-term data retention and archiving. In this case, it is the "archive" class, which is designed to store data for 180 days or more.

 

File systems or fileshare

AWS – Amazon FSx

Amazon FSx is a  service providing fully managed file systems for a variety of uses. FSx offers fast and fully managed file sharing in the cloud. It provides compatibility with file systems such as Windows File Server and Lustre. FSx integrates with other AWS services, making it easy to use. It can also be easily connected to specific user stations as well as local shared storage.

AWS – Amazon EFS

Amazon EFS (Elastic File System) is a managed file system providing shared file storage for multiple instances and containers simultaneously. EFS is easily scalable and highly available. It is suitable for applications that require shared access to data.

Azure – Files

The fully managed Files service allows users to store and access files using SMB and NFS protocols. It supports features such as snapshots for point-in-time recovery, access control via Active Directory or Azure Active Directory, and integration with Azure Backup for data protection and backup. It eliminates the need to manage file servers and provides a flexible and reliable way to store and access files in the cloud.

Azure – NetApp Files

NetApp Files is a  service built using NetApp technologies. It is suitable for file sharing, especially when the application requires high-performance computing (HPC), reliability and low latency. NetApp Files are often used when hosting SAP HANA in the cloud.

 

Virtual server disks

AWS – Amazon EBS

Amazon EBS (Elastic Block Storage) is a service that provides block storage for virtual servers in the cloud. EBS allows you to store and connect data disks to virtual servers. It provides high availability, resiliency and backup capabilities. EBS is ideal for demanding applications that require fast and reliable block storage.

Azure – Managed disks

Managed Disks simplifies the management of virtual machine disks. It allows you to create, manage, and scale disk resources without having to manually manage the underlying storage infrastructure. Disk Management offers three types of disks, each designed for different performance and cost requirements. Key benefits include features such as automatic replication for high availability, data backup, and integration with Azure virtual machines.

 

Hybrid storage

AWS – Storage Gateway

AWS Storage Gateway is a  service that allows you to integrate on-premise storage with the AWS cloud. It provides tools to create a connection between your existing storage device and AWS storage. There are three types of gateways: File Gateway (allows you to access file data in the cloud as network storage), Volume Gateway (provides block storage that can be used as a virtual disk for your applications), and Tape Gateway (allows you to archive data to virtual tapes).

Azure – File Sync

Azure File Sync synchronizes on-premise file storage (fileshare) with Azure Files in the cloud. It offers a comprehensive and centralized way to manage and access files across multiple locations and provides a hybrid cloud solution for file sharing.

 

Azure – File Sync | Cloud Encyclopedia ORBIT
Source: https://www.windowserver.it/2021/07/azure-file-sync-v13/)

 

Bulk move large amounts of data from on-premise to the cloud

You’ve identified the data you’re going to move to the cloud, you’ve selected the appropriate service to use, and all that’s left to figure out is how to actually move the data to the cloud. Again, you have several options. However, it depends on how large the data is, because we choose a different method for data of a few gigabytes than for a data array of tens of terabytes.

AWS – Snowcone, Snowball, Snowmobile

AWS Snowcone is a  physical device used to move large amounts of data to the AWS cloud. The Snowball is delivered to businesses where it is then connected to a local network, enabling easy and fast data movement. Once the Snowcon is full, it is returned to AWS where the data is automatically imported into the cloud. Snowcon’s capacity is 8 TB. A larger alternative is the Snowball, with a capacity of 80 TB, and for the most demanding uses, there is the Snowmobile, which is a truck with data storage that can hold up to 100 PB of data.

 

AWS – Snowcone, Snowball, Snowmobile | Cloud Encyclopedia ORBIT
Source: https://www.geeksforgeeks.org/what-is-snow-family-in-aws/)

Azure – Data Box

I Data Box is a  physical device that is used to move data to the cloud, here to Azure. The device is delivered to a company that uploads its data to it and then sends it back to Azure, where the data is then uploaded to the cloud. The Disk variant has a capacity of 40 TB, the Box 100 TB and the Box Heavy up to 1 PB.
There is also a Data Box Gateway variant, which is a virtual appliance that can be used to move data from on-premises to Azure.

Already know how to store data in the cloud?

Storing data in the cloud allows companies to manage and use their data more efficiently, increase information availability and security, and reduce IT infrastructure costs. Each of the cloud storage services described in this article is suitable for a different use case. It is therefore important to consider your specific data storage requirements and choose the right service accordingly. If you are hesitant about your decision, we will be happy to help you with your selection. 

About the Author
Filip Kamenář

Cloud Consultant & Architect | LinkedIn

Filip is a cloud architect and consultant specializing in public cloud, especially AWS. It primarily deals with the design of cloud native solutions, IaaC and subsequent automation of the entire deployment process.

Technical knowledge: Cloud Architecture and cloud native applications design, Networking, DevOps, IaaC

Encyklopedie cloudu

Icon
Encyklopedie cloudu
Zavřít

Cloud encyclopedia

Icon
Cloud encyclopedia
Close
Loading...