zoukankan      html  css  js  c++  java
  • [SAA + SAP] 27. Cost saving for data transfer out AWS

    • For the data goes into EC2, is Free
    • Transfer data inside same AZ is free
    • Transfer data from one AZ to another through Private IP: cost $0.01
    • Transfer data from one AZ to another through Public Ip / Eöastic IP: cost double
    • Transfer data from one Region to another Region doulbe $0.02

    Summary:

    • Prefer private IP over public IP for saving costs and better network performance
    • Using same AZ for amximum saving (at the cost of high avaiablility)

    • If you need to fetch 100 MB data from DB, and you only need 50 KB query result
      • Transfer 100 MB over network to your Corproate data center is very expensive
      • Better way is deploy EC2 inside Cloud, only transfer 50 KB data to your data center
      • Direct Connect location that are co-located in the same AWS Region result in lower cost for egress network

    • Using CloudFront for better performance and cost saving

    • EC2 in Private subnet transfer data to S3
      • Using NAT Gateway -> Internet Gateway -> Public Internet -> S3: cost lot more than
      • Using VPC Endpoint to S3 Bucket
  • 相关阅读:
    大话设计模式笔记 观察者模式
    nginx限速
    枚举实现的单例模式
    Nginx负载均衡
    插件lombok的介绍安装
    ThreadLocal类
    CopyOnWriteArrayList并发容器
    ConcurrentHashMap实现原理
    elasticsearch配置文件
    sql优化
  • 原文地址:https://www.cnblogs.com/Answer1215/p/15147402.html
Copyright © 2011-2022 走看看