Skip to content

NimTechnology

Trình bày các công nghệ CLOUD một cách dễ hiểu.

  • Kubernetes & Container
    • Docker
    • Kubernetes
      • Ingress
      • Pod
    • Helm Chart
    • OAuth2 Proxy
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Argo Events
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • DevSecOps
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
      • Azure Cloud
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log, Monitor & Tracing
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

[S3] Try to compare S3 express One Zone with S3 standard.

Posted on September 19, 2024May 16, 2025 By nim No Comments on [S3] Try to compare S3 express One Zone with S3 standard.

S3 chắc chắn sẽ không còn xa lại với mọi người nhưng S3 express One Zone thì chắc chắn là xa lạ

S3 One Zone-IA (also known as Express One Zone) offers 99.999999999% (11 nines) of durability, but it only stores data in a single Availability Zone. This means if that AZ experiences an outage, your data could be temporarily or permanently lost.

S3 Standard: achieved by storing data redundantly across multiple Availability Zones (AZs) within a region. If one AZ goes down, your data will still be available.

S3 Standard replicates data across multiple AZs; S3 One Zone-IA stores it in only one AZ.
Vì thế tiền data transfer của S3 One Zone-IA thấp hơn S3 Standard

Contents

Toggle
  • Compare S3 One Zone-IA to S3 Standard
    • Downloading test case.
      • Download a file via a Pre-signed URL
      • Download a file from S3 using the S3 SDK.
      • S3 SDK and Trunk Size: 5MB
    • Copy a file from S3 standard to S3 One Zone IA.
  • Increase the pod count to test S3 One Zone IA.
  • Issue

Compare S3 One Zone-IA to S3 Standard

Downloading test case.

Download a file via a Pre-signed URL

Bài test này bạn thực hiện tạo URL http để download 1 file trên S3,

Bài test này chúng ta work với file 200MB trên S3

S3 types3 standards3-express-one-zone
File Size200MB
Download TypePre-signed URL
Max Speed95.5 MiB/s142 MiB/s
Min Speed38.8 MiB/s69.3 MiB/s

S3 Express-One-Zone is faster.

S3 Express-One-Zone offers 48.7% faster maximum download speeds and 78.6% faster minimum speeds than S3 Standard for this 200MB file size when using pre-signed URLs.

s3-express-one-zone with Downloading by Pre-signed URL.
s3 standard with Downloading by Pre-signed URL

Download a file from S3 using the S3 SDK.

Ở bài test này chúng ta sẽ download file trược tiếp từ S3 bằng S3 SDK.

S3 types3 standards3-express-one-zone
File Size200MB
Download TypeS3 SDK
Max Speed94.7 MiB/s141 MiB/s
Min Speed77.7 MiB/s134 MiB/s

S3 Express-One-Zone is faster

S3 Express-One-Zone offers 48.9% faster maximum download speeds and 72.5% faster minimum speeds than S3 Standard for this 200MB file size when using the S3 SDK.

Nếu compare chart Download Của S3 SDK và Pre-signed URL bạn sẽ thấy S3 SDK có tộc độ stable hơn.

s3 standard with Downloading by S3 SDK.
s3-express-one-zone with Downloading by S3 SDK

S3 SDK and Trunk Size: 5MB

Ở đây chúng ta cần tìm hiểu 1 khái niệm là trunk file

Imagine an S3 “trunk file” as a large file that’s broken into smaller parts, making it easier to manage, transfer, or store. When dealing with huge files (like big videos or backups), S3 uses this method to make the process faster and more efficient.

S3 types3 standards3-express-one-zone
File Size200MB
Download TypeS3 SDK and Trunk Size: 5MB
Max Speed439 MiB/s467 MiB/s
Min Speed285 MiB/s349 MiB/s

Thus, S3 Express-One-Zone consistently outperforms S3 Standard in both maximum and minimum speed metrics.
S3 Express-One-Zone offers 6.4% faster maximum download speeds and 22.5% faster minimum speeds than S3 Standard for this 200MB file size when using the S3 SDK and Trunk Size: 5MB.

Applying trunk size in the S3 SDK significantly improves download speed.

s3-express-one-zone with Downloading by S3 SDK and trunk_size 5MB
s3 standard with Downloading by S3 SDK and trunk_size 5MB

Copy a file from S3 standard to S3 One Zone IA.

root@LE11-D7891:~# bash measure_s3_speed.sh
copy: s3://artifactory/1GB.txt to s3://demo-s3-express-one-zone--usw2-az1--x-s3/1GB-v3.txt
File copy completed in 33 seconds
Transfer speed: 31.03 MB/s
root@LE11-D7891:~# bash measure_s3_speed.sh
copy: s3://artifactory/1GB.txt to s3://demo-s3-express-one-zone--usw2-az1--x-s3/1GB-v3.txt
File copy completed in 33 seconds
Transfer speed: 31.03 MB/s

Tốc độ copy file from S3 standard to S3 One Zone IA làm nim khá thất vọng: chỉ 31.03 MB/s.

Increase the pod count to test S3 One Zone IA.

S3 typeOne Pod 10 Pods30 Pods
File Size1GB1GB1GB
 
Download Type:
S3 SDK and Trunk Size: 5MB
Max Speed812 MiB/s872 MiB/s802 MiB/s
Min Speed439 MiB/s427 MiB/s370 MiB/s

Bạn có thể thấy là khi tăng số lượng pod và kiểm tra tốc độ download thì bạn sẽ thấy chúng không thay đổi quá nhiều.

Issue

Trong qua trình integrate với S3 express One Zone nếu bạn gặp lỗi với Session:

Couldn't get testing files from s3 An error occurred (AccessDenied) when calling the CreateSession operation: Access Denied

Example bucket policies for directory buckets – Amazon Simple Storage Service

thì bạn cần thêm action là: s3express:CreateSession

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "ReadWriteAccess",
            "Effect": "Allow",
            "Resource": "arn:aws:s3express:us-west-2:account-id:bucket/bucket-base-name--zone-id--x-s3",
            "Principal": {
                "AWS": [
                    "111122223333"
                ]
            },
            "Action": [
                "s3express:CreateSession"
            ]
        }
    ]
}
						
AWS - Amazon Web Service

Post navigation

Previous Post: [RedisInsight] Developer GUI for Redis, by Redis
Next Post: [S3/AWS] How to reduce S3’s cost by the gateway and interface endpoints (PrivateLink)

More Related Articles

[EKS] the exciting and helpful things about EKS AWS - Amazon Web Service
[EKS] Adjusting things to migrate EKS legacy to new versions. AWS - Amazon Web Service
[Bitbucket Pipeline] Design bitbucket-pipeline and eksctl to upgrade EKS cluster AWS - Amazon Web Service
[AWS] Looking into IAM Role and Assume Role in AWS AWS - Amazon Web Service
[RabbitMQ/AWS] Install RabbitMQ on AWS based on Amazon MQ. AWS - Amazon Web Service
[EKS/Pods] Why can not the pod on EKS call http://169.254.169.254/latest/api/token AWS - Amazon Web Service

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tham Gia Group DevOps nhé!
Để Nim có nhiều động lực ra nhiều bài viết.
Để nhận được những thông báo mới nhất.

Recent Posts

  • [Laravel] Laravel Helpful June 26, 2025
  • [VScode] Hướng dẫn điều chỉnh font cho terminal June 20, 2025
  • [WordPress] Hướng dấn gửi mail trên WordPress thông qua gmail. June 15, 2025
  • [Bitbucket] Git Clone/Pull/Push with Bitbucket through API Token. June 12, 2025
  • [Teamcity] How to transfer the value from pipeline A to pipeline B June 9, 2025

Archives

  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Categories

  • BareMetal
    • NextCloud
  • CI/CD
    • Argo Events
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • DevSecOps
    • Golang
    • Jquery & JavaScript
    • Laravel
    • NextJS 14 & ReactJS & Type Script
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • Azure Cloud
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
      • Pod
    • Longhorn – Storage
    • MetalLB
    • OAuth2 Proxy
    • Vault
    • VictoriaMetrics
  • Log, Monitor & Tracing
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Fluent
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2025 NimTechnology.