SlideShare a Scribd company logo
1 of 30
Download to read offline
A GUIDE TO
CLOUD STORAGE
Matej Čapkovič
Agenda
1. Overview of all types of cloud storage
2. Performance comparison
3. Usage in Kubernetes
1. Storage Types
● Object storage
● Block storage
● File storage
● Managed databases and others
Object Storage
● Good for web content, archives, big data analytics, backups, etc.
● Almost unlimited capacity
● High availability
● Immutable files, versioning
● Accessible via REST api, libraries, tooling
● Access management, metadata, encryption
● Web serving (+upload)
● Cheaper options for infrequent access
● Pay for size and operations
Block Storage
● Used as persistent disks in virtual machines (or kubernetes)
● Usually network-attached to single VM
● Ideal for databases
● Can be zonal, regional or local
● HDD or SSD
● Consistent I/O performance and low-latency
● Encryption
● Snapshots
● Pay for size, not for operations
File Storage
● Network storage
● Attached via NFS, SMB…
● ReadWriteMany - accessible from multiple machines
● Lower performance compared to block storage
● Can be really slow in some scenarios
● In some clouds also regional for higher availability
● Good for migrating legacy systems to the cloud
● Pricing varies, more expensive than block storage
Managed databases
● Cloud providers can manage many types of DBs for you
○ key-value
○ document
○ relational
○ graph, queues, time-series...
● Higher costs
● Zero maintenance
● Vendor databases with awesome scalability and high availability
● Popular open-source databases in HA setup
2. Performance Comparison
Object Storage
Price for standard storage (EU, single region, per GB, per month):
● Google Cloud Storage: $0.020, $0.023 or $0.026 (depending on region)
● AWS S3: $0.023
● Azure Blob: $0.0196 or $0.022 (depending on region)
Price for egress traffic (per GB, >10+ TB* / <10TB)
● Google: $0.08 / $0.11
● AWS: $0.085 / $0.09
● Azure: $0.083 / $0.087
* can be even cheaper for larger amounts
Price
Reliability
Durability (can you lose the data?):
● AWS: 99.999999999%
● Google: 99.999999999%
● Azure: 99.999999999%
Availability SLA (can you read the data?):
● AWS: 99.9%
● Google: 99.9%*
● Azure: 99.9%
* 99.95% for multi-regional
Performance
http://blog.zachbjornson.com/2015/12/29/cloud-storage-performance.html
Differences?
● Incompatible protocols
● S3 has no multi-region buckets, you need to pay for multiple buckets and
synchronization traffic
Verdict: Basically no difference between
providers. I wouldn’t focus on
object storage differentiation if
I’m about to pick the best
provider.
Block Storage
Price
● Amazon Elastic Block Store (EBS): 3 types, HDD, SSD and faster SSD, NVMe
● Azure block storage (called Managed Disks): standard on HDD or 2 levels of SSD and ultra SSD
● Google Persistent Disks (PDs): standard, SSD option or local SSD
Prices (EU, per GB / month in USD):
AWS Azure GCP
HDD $0.0475 ~ $0.054 $0.04 (2) $0.040 ~ $0.052
SSD $0.1311 (1) $0.1379 $0.170 ~ $0.221
SSD (low perf.) $0.1045 ~ $0.119 $0.075 (2)
Local / Ultra / NVMe $0.1559 (3) $0.080 ~ $0.096
1) +$0.0684 per iops/month 2) +$0.0005 per 10,000 ops 3) +0,0644 per iops/month + $1,3 per MB/s/month
Performance - Google Persistent Disk
Linear performance increase with disk size:
Standard: iops: 0.75/1.5 read/write IOPS/GB
throughput: 0.12 MB/s per GB
SSD: iops: 30 IOPS/GB
throughput: 0.48 MB/s per GB
NVMe: iops: 453.3/240 read/write IOPS/GB
throughput: 1.77/0.94 MB/s per GB
Performance - Amazon Elastic Block Store
General Purpose SSD (gp2) Volumes:
3 IOPS* per GiB of volume size, 0.75 MB/s* per GB
Provisioned IOPS SSD (io1) Volumes:
Configurable IOPS / throughput
Throughput Optimized HDD (st1) Volumes:
Throughput 0,04 MB/s* per GB
Cold HDD (sc1) Volumes:
Throughput 0,012 MB/s* per GB
* burst credits can increase performance
Performance - Azure Managed Disks
Non-linear performance increase:
IOPS / GB 4 GB 8 16 32 64 128 256 512 1024 2048
Premium SSD 120 120 120 120 240 500 1100 2300 5000 7500
Standard SSD 120 120 120 120 240 500 500 500 500 500
Standard HDD 500 500 500 500 500 500 500 500 500 500
Ultra 1200 2400 4800 9600 19200 38400 76800 160000
Premium SSD 1TB: 5 IOPS per GB, 0.2 MB/s per GB
Standard SSD 1TB: 0.5 IOPS per GB, 0.6 MB/s per GB
Standard HDD 1TB: 0.5 IOPS per GB, 0.6 MB/s per GB
Ultra 512GB: 312 IOPS per GB, 4 MB/s per GB
Findings
● All providers offer similar products
● Some cloud providers monetize throughput, this could be expensive for
high IO disks
● Google has probably the best performance for price
● VM size can be limiting factor for storage performance
File storage
Pricing
GCP Filestore:
● Premium: $0.33/GB, Standard: $0.22/GB
Amazon Elastic File System (Amazon EFS):
● Standard: $0.30/GB, Infrequent: $0.025/GB, Infrequent Access: $0.01/GB
● Provisioned Throughput: $6 MB/s/Month
Azure Files:
● Premium: $0.288/GB, Standard: $0.06/GB
* pricing can vary in different zones
Findings
● Amazon and Google utilizes NFS protocol, Azure SMB
● Google Filestores:
○ Only single zone
○ Storage limit is 63.9TB (similar to single persistent disk)
○ Minimum storage size 1TB or 2.5TB for premium
○ Don't confuse Filestore with Firestore
● Amazon iops scale with capacity, google is static
● Amazon performance:
○ access time being about ~3ms
○ large files work well, but if you have many smaller files it's killer
● Probably not good for databases
Managed databases
PostgreSQL, MySQL, and SQL Server
● Fully managed
● No OS and software
maintenance
● High availability, failover
● Backups
● Security updates
● Vertical scalability
● More expensive than VMs
● Limited or no horizontal scalability
● No full control
● No performance tuning
Redis
● Fully managed
● No OS and software maintenance
● HA setup
● Monitoring
● AWS also supports memcached
● Higher price
Cloud native NoSQL / SQL databases
● Massively scalable
● Low and predictable latency
● Integrations with cloud services
● Backend storage for other databases
● Used by many big companies
● Minimal instance can be expensive
Kubernetes
It works out of the box
1. Create storage class
2. Create persistent volume claim
3. Your storage will be automatically provisioned
Examples
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-volume
spec:
storageClassName: faster
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 30Gi
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: faster
provisioner: kubernetes.io/gce-pd
parameters:
type: pd-ssd
Questions?

More Related Content

What's hot

Deep Dive - Maximising EC2 & EBS Performance
Deep Dive - Maximising EC2 & EBS PerformanceDeep Dive - Maximising EC2 & EBS Performance
Deep Dive - Maximising EC2 & EBS PerformanceAmazon Web Services
 
Maximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk PerformanceMaximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk PerformanceAmazon Web Services
 
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
MongoDB and Amazon Web Services: Storage Options for MongoDB DeploymentsMongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
MongoDB and Amazon Web Services: Storage Options for MongoDB DeploymentsMongoDB
 
Maximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk PerformanceMaximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk PerformanceAmazon Web Services
 
Presentation database on flash
Presentation   database on flashPresentation   database on flash
Presentation database on flashxKinAnx
 
Azure Storage Performance
Azure Storage PerformanceAzure Storage Performance
Azure Storage PerformanceAnton Boyko
 
Maximizing Amazon EC2 and Amazon EBS performance
Maximizing Amazon EC2 and Amazon EBS performanceMaximizing Amazon EC2 and Amazon EBS performance
Maximizing Amazon EC2 and Amazon EBS performanceAmazon Web Services
 
Global Azure BootCamp 2019 - Verona - Azure Cloud Shell
Global Azure BootCamp 2019 - Verona - Azure Cloud ShellGlobal Azure BootCamp 2019 - Verona - Azure Cloud Shell
Global Azure BootCamp 2019 - Verona - Azure Cloud ShellMarco Obinu
 
Fine tuning Hybrid Mobile App
Fine tuning Hybrid Mobile AppFine tuning Hybrid Mobile App
Fine tuning Hybrid Mobile AppAllan Tan
 
Reducing latency on the web with the Azure CDN - DevSum - SWAG
Reducing latency on the web with the Azure CDN - DevSum - SWAGReducing latency on the web with the Azure CDN - DevSum - SWAG
Reducing latency on the web with the Azure CDN - DevSum - SWAGMaarten Balliauw
 
Reducing latency on the web with the Azure CDN- TechDays NL 2014
Reducing latency on the web with the Azure CDN- TechDays NL 2014Reducing latency on the web with the Azure CDN- TechDays NL 2014
Reducing latency on the web with the Azure CDN- TechDays NL 2014Maarten Balliauw
 
Explore the Cosmos (DB) with .NET Core 2.0
Explore the Cosmos (DB) with .NET Core 2.0Explore the Cosmos (DB) with .NET Core 2.0
Explore the Cosmos (DB) with .NET Core 2.0Jeremy Likness
 
List of samsung harddrive with specification
List of samsung harddrive with specificationList of samsung harddrive with specification
List of samsung harddrive with specificationlee shin
 
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...Amazon Web Services
 
Localstorage > Cookies
Localstorage > CookiesLocalstorage > Cookies
Localstorage > CookiesShane Riley
 
Topic buying a computer dnt
Topic buying a computer dntTopic buying a computer dnt
Topic buying a computer dntdongnhutien
 
Windows Azure Blob Storage
Windows Azure Blob StorageWindows Azure Blob Storage
Windows Azure Blob Storageylew15
 
Running MongoDB 3.0 on AWS
Running MongoDB 3.0 on AWSRunning MongoDB 3.0 on AWS
Running MongoDB 3.0 on AWSMongoDB
 
Happy Browser, Happy User! WordSesh 2019
Happy Browser, Happy User! WordSesh 2019Happy Browser, Happy User! WordSesh 2019
Happy Browser, Happy User! WordSesh 2019Katie Sylor-Miller
 
家庭醫藥箱(上)
家庭醫藥箱(上)家庭醫藥箱(上)
家庭醫藥箱(上)honan4108
 

What's hot (20)

Deep Dive - Maximising EC2 & EBS Performance
Deep Dive - Maximising EC2 & EBS PerformanceDeep Dive - Maximising EC2 & EBS Performance
Deep Dive - Maximising EC2 & EBS Performance
 
Maximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk PerformanceMaximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk Performance
 
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
MongoDB and Amazon Web Services: Storage Options for MongoDB DeploymentsMongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
 
Maximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk PerformanceMaximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk Performance
 
Presentation database on flash
Presentation   database on flashPresentation   database on flash
Presentation database on flash
 
Azure Storage Performance
Azure Storage PerformanceAzure Storage Performance
Azure Storage Performance
 
Maximizing Amazon EC2 and Amazon EBS performance
Maximizing Amazon EC2 and Amazon EBS performanceMaximizing Amazon EC2 and Amazon EBS performance
Maximizing Amazon EC2 and Amazon EBS performance
 
Global Azure BootCamp 2019 - Verona - Azure Cloud Shell
Global Azure BootCamp 2019 - Verona - Azure Cloud ShellGlobal Azure BootCamp 2019 - Verona - Azure Cloud Shell
Global Azure BootCamp 2019 - Verona - Azure Cloud Shell
 
Fine tuning Hybrid Mobile App
Fine tuning Hybrid Mobile AppFine tuning Hybrid Mobile App
Fine tuning Hybrid Mobile App
 
Reducing latency on the web with the Azure CDN - DevSum - SWAG
Reducing latency on the web with the Azure CDN - DevSum - SWAGReducing latency on the web with the Azure CDN - DevSum - SWAG
Reducing latency on the web with the Azure CDN - DevSum - SWAG
 
Reducing latency on the web with the Azure CDN- TechDays NL 2014
Reducing latency on the web with the Azure CDN- TechDays NL 2014Reducing latency on the web with the Azure CDN- TechDays NL 2014
Reducing latency on the web with the Azure CDN- TechDays NL 2014
 
Explore the Cosmos (DB) with .NET Core 2.0
Explore the Cosmos (DB) with .NET Core 2.0Explore the Cosmos (DB) with .NET Core 2.0
Explore the Cosmos (DB) with .NET Core 2.0
 
List of samsung harddrive with specification
List of samsung harddrive with specificationList of samsung harddrive with specification
List of samsung harddrive with specification
 
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
 
Localstorage > Cookies
Localstorage > CookiesLocalstorage > Cookies
Localstorage > Cookies
 
Topic buying a computer dnt
Topic buying a computer dntTopic buying a computer dnt
Topic buying a computer dnt
 
Windows Azure Blob Storage
Windows Azure Blob StorageWindows Azure Blob Storage
Windows Azure Blob Storage
 
Running MongoDB 3.0 on AWS
Running MongoDB 3.0 on AWSRunning MongoDB 3.0 on AWS
Running MongoDB 3.0 on AWS
 
Happy Browser, Happy User! WordSesh 2019
Happy Browser, Happy User! WordSesh 2019Happy Browser, Happy User! WordSesh 2019
Happy Browser, Happy User! WordSesh 2019
 
家庭醫藥箱(上)
家庭醫藥箱(上)家庭醫藥箱(上)
家庭醫藥箱(上)
 

Similar to Cloud storage

Azure Disks Overview - Azure Disks Overview -Azure Disks Overview
Azure Disks Overview - Azure Disks Overview -Azure Disks OverviewAzure Disks Overview - Azure Disks Overview -Azure Disks Overview
Azure Disks Overview - Azure Disks Overview -Azure Disks Overviewssuser6d7b1f3
 
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)Amazon Web Services
 
AWS vs Azure vs Google Cloud Storage Deep Dive
AWS vs Azure vs Google Cloud Storage Deep DiveAWS vs Azure vs Google Cloud Storage Deep Dive
AWS vs Azure vs Google Cloud Storage Deep DiveRightScale
 
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)Amazon Web Services
 
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)Amazon Web Services
 
MongoDB Days UK: Run MongoDB on Google Cloud Platform
MongoDB Days UK: Run MongoDB on Google Cloud PlatformMongoDB Days UK: Run MongoDB on Google Cloud Platform
MongoDB Days UK: Run MongoDB on Google Cloud PlatformMongoDB
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)Amazon Web Services
 
AWS Webcast - Cost and Performance Optimization in Amazon RDS
AWS Webcast - Cost and Performance Optimization in Amazon RDSAWS Webcast - Cost and Performance Optimization in Amazon RDS
AWS Webcast - Cost and Performance Optimization in Amazon RDSAmazon Web Services
 
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceDeep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceAmazon Web Services
 
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceDeep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceAmazon Web Services
 
Deep Dive: Maximizing EC2 and EBS Performance
Deep Dive: Maximizing EC2 and EBS PerformanceDeep Dive: Maximizing EC2 and EBS Performance
Deep Dive: Maximizing EC2 and EBS PerformanceAmazon Web Services
 
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법Amazon Web Services Korea
 
9 Ways to Reduce Cloud Storage Costs
9 Ways to Reduce Cloud Storage Costs9 Ways to Reduce Cloud Storage Costs
9 Ways to Reduce Cloud Storage CostsRightScale
 
Hybrid collaborative tiered storage with alluxio
Hybrid collaborative tiered storage with alluxioHybrid collaborative tiered storage with alluxio
Hybrid collaborative tiered storage with alluxioThai Bui
 
Cloud Storage Comparison: AWS vs Azure vs Google vs IBM
Cloud Storage Comparison: AWS vs Azure vs Google vs IBMCloud Storage Comparison: AWS vs Azure vs Google vs IBM
Cloud Storage Comparison: AWS vs Azure vs Google vs IBMRightScale
 
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...Amazon Web Services
 
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...Amazon Web Services
 

Similar to Cloud storage (20)

Shootout at the AWS Corral
Shootout at the AWS CorralShootout at the AWS Corral
Shootout at the AWS Corral
 
Azure Disks Overview - Azure Disks Overview -Azure Disks Overview
Azure Disks Overview - Azure Disks Overview -Azure Disks OverviewAzure Disks Overview - Azure Disks Overview -Azure Disks Overview
Azure Disks Overview - Azure Disks Overview -Azure Disks Overview
 
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
 
AWS vs Azure vs Google Cloud Storage Deep Dive
AWS vs Azure vs Google Cloud Storage Deep DiveAWS vs Azure vs Google Cloud Storage Deep Dive
AWS vs Azure vs Google Cloud Storage Deep Dive
 
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
 
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
 
MongoDB Days UK: Run MongoDB on Google Cloud Platform
MongoDB Days UK: Run MongoDB on Google Cloud PlatformMongoDB Days UK: Run MongoDB on Google Cloud Platform
MongoDB Days UK: Run MongoDB on Google Cloud Platform
 
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
AWS re:Invent 2016: Deep Dive on Amazon Elastic Block Store (STG301)
 
AWS Webcast - Cost and Performance Optimization in Amazon RDS
AWS Webcast - Cost and Performance Optimization in Amazon RDSAWS Webcast - Cost and Performance Optimization in Amazon RDS
AWS Webcast - Cost and Performance Optimization in Amazon RDS
 
(STG402) Amazon EBS Deep Dive
(STG402) Amazon EBS Deep Dive(STG402) Amazon EBS Deep Dive
(STG402) Amazon EBS Deep Dive
 
Shootout at the PAAS Corral
Shootout at the PAAS CorralShootout at the PAAS Corral
Shootout at the PAAS Corral
 
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceDeep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
 
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store PerformanceDeep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
Deep Dive: Maximizing Amazon EC2 and Amazon Elastic Block Store Performance
 
Deep Dive: Maximizing EC2 and EBS Performance
Deep Dive: Maximizing EC2 and EBS PerformanceDeep Dive: Maximizing EC2 and EBS Performance
Deep Dive: Maximizing EC2 and EBS Performance
 
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
 
9 Ways to Reduce Cloud Storage Costs
9 Ways to Reduce Cloud Storage Costs9 Ways to Reduce Cloud Storage Costs
9 Ways to Reduce Cloud Storage Costs
 
Hybrid collaborative tiered storage with alluxio
Hybrid collaborative tiered storage with alluxioHybrid collaborative tiered storage with alluxio
Hybrid collaborative tiered storage with alluxio
 
Cloud Storage Comparison: AWS vs Azure vs Google vs IBM
Cloud Storage Comparison: AWS vs Azure vs Google vs IBMCloud Storage Comparison: AWS vs Azure vs Google vs IBM
Cloud Storage Comparison: AWS vs Azure vs Google vs IBM
 
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
 
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...
 

More from Juraj Hantak

Kubernetes day 2_jozef_halgas_pf
Kubernetes day 2_jozef_halgas_pfKubernetes day 2_jozef_halgas_pf
Kubernetes day 2_jozef_halgas_pfJuraj Hantak
 
Kubernetes day 2 @ zse energia
Kubernetes day 2 @ zse energiaKubernetes day 2 @ zse energia
Kubernetes day 2 @ zse energiaJuraj Hantak
 
Dev ops culture_final
Dev ops culture_finalDev ops culture_final
Dev ops culture_finalJuraj Hantak
 
Integracia security do ci cd pipelines
Integracia security do ci cd pipelinesIntegracia security do ci cd pipelines
Integracia security do ci cd pipelinesJuraj Hantak
 
Secrets management vault cncf meetup
Secrets management vault cncf meetupSecrets management vault cncf meetup
Secrets management vault cncf meetupJuraj Hantak
 
Introductiontohelmcharts2021
Introductiontohelmcharts2021Introductiontohelmcharts2021
Introductiontohelmcharts2021Juraj Hantak
 
Intro to creating kubernetes operators
Intro to creating kubernetes operators Intro to creating kubernetes operators
Intro to creating kubernetes operators Juraj Hantak
 
19. stretnutie komunity kubernetes
19. stretnutie komunity kubernetes19. stretnutie komunity kubernetes
19. stretnutie komunity kubernetesJuraj Hantak
 
16. Cncf meetup-docker
16. Cncf meetup-docker16. Cncf meetup-docker
16. Cncf meetup-dockerJuraj Hantak
 
16. meetup sietovy model v kubernetes
16. meetup sietovy model v kubernetes16. meetup sietovy model v kubernetes
16. meetup sietovy model v kubernetesJuraj Hantak
 
Terraform a gitlab ci
Terraform a gitlab ciTerraform a gitlab ci
Terraform a gitlab ciJuraj Hantak
 
Monitoring with prometheus at scale
Monitoring with prometheus at scaleMonitoring with prometheus at scale
Monitoring with prometheus at scaleJuraj Hantak
 
Kubernetes monitoring using prometheus stack
Kubernetes monitoring using prometheus stackKubernetes monitoring using prometheus stack
Kubernetes monitoring using prometheus stackJuraj Hantak
 
12.cncfsk meetup observability and analysis
12.cncfsk meetup observability and analysis12.cncfsk meetup observability and analysis
12.cncfsk meetup observability and analysisJuraj Hantak
 

More from Juraj Hantak (20)

Kubernetes day 2_jozef_halgas_pf
Kubernetes day 2_jozef_halgas_pfKubernetes day 2_jozef_halgas_pf
Kubernetes day 2_jozef_halgas_pf
 
Kubernetes day 2 @ zse energia
Kubernetes day 2 @ zse energiaKubernetes day 2 @ zse energia
Kubernetes day 2 @ zse energia
 
Dev ops culture_final
Dev ops culture_finalDev ops culture_final
Dev ops culture_final
 
Promise of DevOps
Promise of DevOpsPromise of DevOps
Promise of DevOps
 
23 meetup rancher
23 meetup rancher23 meetup rancher
23 meetup rancher
 
Integracia security do ci cd pipelines
Integracia security do ci cd pipelinesIntegracia security do ci cd pipelines
Integracia security do ci cd pipelines
 
CNCF opa
CNCF opaCNCF opa
CNCF opa
 
Secrets management vault cncf meetup
Secrets management vault cncf meetupSecrets management vault cncf meetup
Secrets management vault cncf meetup
 
Introductiontohelmcharts2021
Introductiontohelmcharts2021Introductiontohelmcharts2021
Introductiontohelmcharts2021
 
Intro to creating kubernetes operators
Intro to creating kubernetes operators Intro to creating kubernetes operators
Intro to creating kubernetes operators
 
19. stretnutie komunity kubernetes
19. stretnutie komunity kubernetes19. stretnutie komunity kubernetes
19. stretnutie komunity kubernetes
 
16. Cncf meetup-docker
16. Cncf meetup-docker16. Cncf meetup-docker
16. Cncf meetup-docker
 
16. meetup sietovy model v kubernetes
16. meetup sietovy model v kubernetes16. meetup sietovy model v kubernetes
16. meetup sietovy model v kubernetes
 
16.meetup uvod
16.meetup uvod16.meetup uvod
16.meetup uvod
 
14. meetup
14. meetup14. meetup
14. meetup
 
Terraform a gitlab ci
Terraform a gitlab ciTerraform a gitlab ci
Terraform a gitlab ci
 
Monitoring with prometheus at scale
Monitoring with prometheus at scaleMonitoring with prometheus at scale
Monitoring with prometheus at scale
 
Kubernetes monitoring using prometheus stack
Kubernetes monitoring using prometheus stackKubernetes monitoring using prometheus stack
Kubernetes monitoring using prometheus stack
 
12.cncfsk meetup observability and analysis
12.cncfsk meetup observability and analysis12.cncfsk meetup observability and analysis
12.cncfsk meetup observability and analysis
 
Grafana 7.0
Grafana 7.0Grafana 7.0
Grafana 7.0
 

Recently uploaded

定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一Fs
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleanscorenetworkseo
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxeditsforyah
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一Fs
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
Intellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxIntellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxBipin Adhikari
 

Recently uploaded (20)

定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New OrleansElevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleans
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
Intellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptxIntellectual property rightsand its types.pptx
Intellectual property rightsand its types.pptx
 

Cloud storage

  • 1. A GUIDE TO CLOUD STORAGE Matej Čapkovič
  • 2. Agenda 1. Overview of all types of cloud storage 2. Performance comparison 3. Usage in Kubernetes
  • 3. 1. Storage Types ● Object storage ● Block storage ● File storage ● Managed databases and others
  • 4. Object Storage ● Good for web content, archives, big data analytics, backups, etc. ● Almost unlimited capacity ● High availability ● Immutable files, versioning ● Accessible via REST api, libraries, tooling ● Access management, metadata, encryption ● Web serving (+upload) ● Cheaper options for infrequent access ● Pay for size and operations
  • 5. Block Storage ● Used as persistent disks in virtual machines (or kubernetes) ● Usually network-attached to single VM ● Ideal for databases ● Can be zonal, regional or local ● HDD or SSD ● Consistent I/O performance and low-latency ● Encryption ● Snapshots ● Pay for size, not for operations
  • 6. File Storage ● Network storage ● Attached via NFS, SMB… ● ReadWriteMany - accessible from multiple machines ● Lower performance compared to block storage ● Can be really slow in some scenarios ● In some clouds also regional for higher availability ● Good for migrating legacy systems to the cloud ● Pricing varies, more expensive than block storage
  • 7. Managed databases ● Cloud providers can manage many types of DBs for you ○ key-value ○ document ○ relational ○ graph, queues, time-series... ● Higher costs ● Zero maintenance ● Vendor databases with awesome scalability and high availability ● Popular open-source databases in HA setup
  • 10. Price for standard storage (EU, single region, per GB, per month): ● Google Cloud Storage: $0.020, $0.023 or $0.026 (depending on region) ● AWS S3: $0.023 ● Azure Blob: $0.0196 or $0.022 (depending on region) Price for egress traffic (per GB, >10+ TB* / <10TB) ● Google: $0.08 / $0.11 ● AWS: $0.085 / $0.09 ● Azure: $0.083 / $0.087 * can be even cheaper for larger amounts Price
  • 11. Reliability Durability (can you lose the data?): ● AWS: 99.999999999% ● Google: 99.999999999% ● Azure: 99.999999999% Availability SLA (can you read the data?): ● AWS: 99.9% ● Google: 99.9%* ● Azure: 99.9% * 99.95% for multi-regional
  • 13. Differences? ● Incompatible protocols ● S3 has no multi-region buckets, you need to pay for multiple buckets and synchronization traffic Verdict: Basically no difference between providers. I wouldn’t focus on object storage differentiation if I’m about to pick the best provider.
  • 15. Price ● Amazon Elastic Block Store (EBS): 3 types, HDD, SSD and faster SSD, NVMe ● Azure block storage (called Managed Disks): standard on HDD or 2 levels of SSD and ultra SSD ● Google Persistent Disks (PDs): standard, SSD option or local SSD Prices (EU, per GB / month in USD): AWS Azure GCP HDD $0.0475 ~ $0.054 $0.04 (2) $0.040 ~ $0.052 SSD $0.1311 (1) $0.1379 $0.170 ~ $0.221 SSD (low perf.) $0.1045 ~ $0.119 $0.075 (2) Local / Ultra / NVMe $0.1559 (3) $0.080 ~ $0.096 1) +$0.0684 per iops/month 2) +$0.0005 per 10,000 ops 3) +0,0644 per iops/month + $1,3 per MB/s/month
  • 16. Performance - Google Persistent Disk Linear performance increase with disk size: Standard: iops: 0.75/1.5 read/write IOPS/GB throughput: 0.12 MB/s per GB SSD: iops: 30 IOPS/GB throughput: 0.48 MB/s per GB NVMe: iops: 453.3/240 read/write IOPS/GB throughput: 1.77/0.94 MB/s per GB
  • 17. Performance - Amazon Elastic Block Store General Purpose SSD (gp2) Volumes: 3 IOPS* per GiB of volume size, 0.75 MB/s* per GB Provisioned IOPS SSD (io1) Volumes: Configurable IOPS / throughput Throughput Optimized HDD (st1) Volumes: Throughput 0,04 MB/s* per GB Cold HDD (sc1) Volumes: Throughput 0,012 MB/s* per GB * burst credits can increase performance
  • 18. Performance - Azure Managed Disks Non-linear performance increase: IOPS / GB 4 GB 8 16 32 64 128 256 512 1024 2048 Premium SSD 120 120 120 120 240 500 1100 2300 5000 7500 Standard SSD 120 120 120 120 240 500 500 500 500 500 Standard HDD 500 500 500 500 500 500 500 500 500 500 Ultra 1200 2400 4800 9600 19200 38400 76800 160000 Premium SSD 1TB: 5 IOPS per GB, 0.2 MB/s per GB Standard SSD 1TB: 0.5 IOPS per GB, 0.6 MB/s per GB Standard HDD 1TB: 0.5 IOPS per GB, 0.6 MB/s per GB Ultra 512GB: 312 IOPS per GB, 4 MB/s per GB
  • 19. Findings ● All providers offer similar products ● Some cloud providers monetize throughput, this could be expensive for high IO disks ● Google has probably the best performance for price ● VM size can be limiting factor for storage performance
  • 21. Pricing GCP Filestore: ● Premium: $0.33/GB, Standard: $0.22/GB Amazon Elastic File System (Amazon EFS): ● Standard: $0.30/GB, Infrequent: $0.025/GB, Infrequent Access: $0.01/GB ● Provisioned Throughput: $6 MB/s/Month Azure Files: ● Premium: $0.288/GB, Standard: $0.06/GB * pricing can vary in different zones
  • 22. Findings ● Amazon and Google utilizes NFS protocol, Azure SMB ● Google Filestores: ○ Only single zone ○ Storage limit is 63.9TB (similar to single persistent disk) ○ Minimum storage size 1TB or 2.5TB for premium ○ Don't confuse Filestore with Firestore ● Amazon iops scale with capacity, google is static ● Amazon performance: ○ access time being about ~3ms ○ large files work well, but if you have many smaller files it's killer ● Probably not good for databases
  • 24. PostgreSQL, MySQL, and SQL Server ● Fully managed ● No OS and software maintenance ● High availability, failover ● Backups ● Security updates ● Vertical scalability ● More expensive than VMs ● Limited or no horizontal scalability ● No full control ● No performance tuning
  • 25. Redis ● Fully managed ● No OS and software maintenance ● HA setup ● Monitoring ● AWS also supports memcached ● Higher price
  • 26. Cloud native NoSQL / SQL databases ● Massively scalable ● Low and predictable latency ● Integrations with cloud services ● Backend storage for other databases ● Used by many big companies ● Minimal instance can be expensive
  • 28. It works out of the box 1. Create storage class 2. Create persistent volume claim 3. Your storage will be automatically provisioned
  • 29. Examples apiVersion: v1 kind: PersistentVolumeClaim metadata: name: my-volume spec: storageClassName: faster accessModes: - ReadWriteOnce resources: requests: storage: 30Gi apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: faster provisioner: kubernetes.io/gce-pd parameters: type: pd-ssd