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

[AWS] Look into Data Transfer on AWS

Posted on May 30, 2023 By nim No Comments on [AWS] Look into Data Transfer on AWS

Contents

Toggle
  • 1) Types Of Data Transfer (DT)
    • Internet
    • Between AWS Regions
    • Between Availability Zones within AWS Region (inter-AZ/Regional):
    • CloudFront
    • Direct Connect
  • 2) Data Transfer Usage type in Cost Explorer.
    • 2.1) Data Transfer (Internet) in Cost Explorer.
    • 2.2) Data Transfer (Between AWS Regions) in Cost Explorer
    • 2.3) Data Transfer (Regional/Inter-AZ) in Cost Explorer
    • 2.4) Data Transfer: CloudFront
  • 3) AWS Cost Management
  • 4) Optimization Tips and Recommendations
    • 4.1) Data Transfer Optimization: AWS Regions
    • 4.2) Data Transfer Optimization: CloudFront
  • 5) Useful Tools and Resources for Further Deep Dive

1) Types Of Data Transfer (DT)

Internet

Data Transfer cost Out to the Internet depends on the AWS region
Up to 100 Gb of DT Out per month is free (under Free Tier)
Data Transfer cost In from the Internet is free

Between AWS Regions

Data Transfer out to another AWS region depends on the originating AWS region
Data Transfer In from another AWS region is free

Between Availability Zones within AWS Region (inter-AZ/Regional):

You pay for both In and Out charges between AZS
Within one AZ data transfer is free when using private IPs
Data transferred between EC2, S3, RDS, Redshift, ElastiCache or Elastic Network Interfaces in the same AZ is free

CloudFront

Up to 1 Tb of DT Out per month is free (Free Tier)
DT from CloudFront edge location to the origin (backend resource) is charged
DT from the origin to edge location is free

Direct Connect

DT from AWS Region to AWS Direct Connect location is charged and depends on the region and location DT in from AWS Direct Connect location to AWS Region is free

2) Data Transfer Usage type in Cost Explorer.

2.1) Data Transfer (Internet) in Cost Explorer.

Internet
– DT out to the Internet: Usage Type LIKE DataTransfer-Out-Bytes
– DT in from the Internet: Usage Type LIKE DataTransfer-In-Bytes

2.2) Data Transfer (Between AWS Regions) in Cost Explorer

Between AWS Regions:
– DT out to another AWS region: Usage Type LIKE AWS-Out-Bytes
– DT In from another AWS region: Usage Type LIKE AWS-In-Bytes

2.3) Data Transfer (Regional/Inter-AZ) in Cost Explorer

Between Availability Zones within AWS Region (inter-AZ/Regional):
– DT In and Out AZ: Usage Type LIKE DataTransfer-Regional-Bytes
– Includes traffic within same AZ using public IP, and Inter-AZ VPC Peering
– Traffic over VPC Peering inside same AZ is Free

2.4) Data Transfer: CloudFront

Internet:
– DT out to the Internet: Usage Type LIKE DataTransfer-Out-Bytes
– DT In from the Internet: Usage Type LIKE DataTransfer-In-Bytes

From CloudFront edge location to the origin (backend resource):
– Usage Type LIKE DataTransfer-Out-Bytes

Origin-CloudFront Data Transfer In and Out:
DT Out: Usage Type LIKE CloudFront-Out-Bytes
DT In: Usage Type LIKE CloudFront-In-Bytes

3) AWS Cost Management

Đầu tiên bạn phải có permission để access vào AWS Cost Managment.

Nếu bạn click vào Preferences được thì bạn đã có phép.

Bạn nhập từ DataTranfer và tìm hiểu các thông tin về datatransfer.

4) Optimization Tips and Recommendations

4.1) Data Transfer Optimization: AWS Regions

  • Use private IPs & VPC Endpoints when possible
  • Place NAT GW in the same AZ with the backend instances where possible (Knowledge Center)
  • Review cross-AZ load balancing traffic (see ELB FAQ for cross-AZ charges info) ·
  • Review cross-region data usage (especially between EC2 and S3)

4.2) Data Transfer Optimization: CloudFront

Large DT Out Example: You have 10 TB of S3 storage in US East (N.Virginia) region which you need to copy to a destination that will generate Internet traffic. Reference: https://calculator.aws/

S3 & ELB Optimization:
– Limit unused ELBS across AZS
– Disable ELBs with no healthy or no backend instances
– S3: Compress data to reduce data transfer size
– Use CloudFront for large DT Out use cases

5) Useful Tools and Resources for Further Deep Dive

Cost Allocation Tags
– Help grouping resources into categories and monitoring charges related to those groups in Cost Explorer and other tools https://docs.aws.amazon.com/awsaccountbilling/ latest/aboutv2/cost-alloc-tags.html

Cloud Intelligence Dashboards
– Get detailed insights of your cost and usage across multiple services, accounts and dimensions (based on your Cost and Usage Report), including Data Transfer https://wellarchitectedlabs.com/cost/200_labs/200_cloud_intelligence/

AWS - Amazon Web Service

Post navigation

Previous Post: [Ddosify] How to test the application performance with Ddosify.
Next Post: [IP/EKS] Add new subnets into the eks on AWS

More Related Articles

[Assume Role/KMS] Using Assume Role to make the other AWS Account access all KMS that/this AWS Account. AWS - Amazon Web Service
[Aws] Access S3 or bucket from other account AWS AWS - Amazon Web Service
[Terraform] Error: Error acquiring the state lock AWS - Amazon Web Service
How to aws cli authenticate with AWS AWS - Amazon Web Service
[Kubernetes] volume node affinity conflict AWS - Amazon Web Service
[Terraform] – Terraform Beginner – Lesson 2: Working with Terraform. 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.