ladderlore
ガイドをリクエスト
  • S3 や IAM などのサービス名を入力してください。

概念 · CLF-C02 の発展

Data transfer cost design

Know which paths cost money, then route traffic to avoid them.

このレッスンはまだ翻訳されていないため、英語で表示しています。

クラウドプラクティショナーで学んだこと

  • Data into AWS is free.
  • Data out to the internet, to another Region or between AZs is charged.
  • CloudFront can lower the cost of delivery.
クラウドプラクティショナーのレッスンを読む
  • Into AWS

    Free
  • Same AZ, private IP

    Free
  • Between AZs

    Per GB each way
  • Between Regions

    Per GB
  • Out to internet

    Per GB, tiered
What each path costs.
  • Gateway endpoints

    S3 and DynamoDB traffic skips the NAT gateway fee.

  • CloudFront

    Free origin fetch, cheaper egress.

  • Same AZ

    Keep chatty tiers together if availability allows.

  • Private IPs

    Public IPs add a charge inside a Region.

Four ways to avoid charges.

概要

Free: data into AWS, and traffic between resources in the same AZ over private IP addresses. Charged: traffic between AZs in a Region (a small per-GB fee in each direction), traffic between Regions, and traffic out to the internet. Internet egress gets cheaper per GB as volume grows, and a small amount each month is free. Traffic between instances over public or Elastic IP addresses is charged even inside one AZ, so use private addresses.

概要

Design rules. Keep chatty tiers in the same AZ when the availability need allows it. Use private IPs. Use a gateway endpoint for S3 and DynamoDB, which is free, instead of a NAT gateway. Use CloudFront for internet delivery: the fetch from an AWS origin to CloudFront is free, and CloudFront egress is usually cheaper than direct egress from EC2 or S3. Compress and cache. Copy across Regions only what you need. Traffic from S3 to EC2 in the same Region is free.

There is a trade-off. Spreading a workload over AZs raises availability and adds cross-AZ fees. Decide per tier what the workload is worth.

覚えること

  • Free: inbound, and private traffic inside one AZ.
  • Cross-AZ: charged in each direction. Cross-Region: charged per GB.
  • Internet out: charged per GB, cheaper at higher volume.
  • Traffic over public or Elastic IPs is charged even inside one AZ. Use private IPs.

覚えること

  • S3 and DynamoDB gateway endpoints are free. A NAT gateway adds a per-GB fee.
  • CloudFront fetches from AWS origins for free, and its egress is usually cheaper.

試験では

  • “Reduce transfer cost between an application and its database” points to the same AZ (if availability allows) and private IPs.
  • “Cut internet egress for global static content” points to CloudFront.
  • “Private subnet reads a lot of S3 through a NAT gateway” points to a gateway VPC endpoint.