{"id":3142,"date":"2025-05-27T17:27:26","date_gmt":"2025-05-27T09:27:26","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=3142"},"modified":"2025-05-27T17:27:26","modified_gmt":"2025-05-27T09:27:26","slug":"aws-api-gateway-pricing-cost-and-optimization-suggestions","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/ja\/aws-api-gateway\u306e\u4fa1\u683c\u3001\u30b3\u30b9\u30c8\u3001\u6700\u9069\u5316\u306e\u63d0\u6848\/","title":{"rendered":"AWS API Gateway \u306e\u6599\u91d1: \u30b3\u30b9\u30c8\u3068\u6700\u9069\u5316\u306e\u63a8\u5968\u4e8b\u9805"},"content":{"rendered":"<p>\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u3068\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u666e\u53ca\u306b\u3088\u308a\u3001Amazon API Gateway \u306f\u4f01\u696d\u304c API \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u4e2d\u6838\u30b5\u30fc\u30d3\u30b9\u306b\u306a\u308a\u307e\u3057\u305f\u3002 REST\u3001HTTP\u3001WebSocket API \u30bf\u30a4\u30d7\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3001\u958b\u767a\u8005\u304c API \u3092\u52b9\u7387\u7684\u306b\u69cb\u7bc9\u3001\u5b89\u5168\u306b\u516c\u958b\u3001\u76e3\u8996\u3001\u7ba1\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5b9f\u969b\u306b\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u4fa1\u683c\u30e2\u30c7\u30eb\u3092\u9069\u5207\u306b\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u3001\u30af\u30e9\u30a6\u30c9 \u30b3\u30b9\u30c8\u3092\u5236\u5fa1\u3057\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u6700\u9069\u5316\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u9375\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>3\u3064\u306eAPI\u30bf\u30a4\u30d7\u3068\u305d\u306e\u4fa1\u683c\u8a2d\u5b9a\u30ed\u30b8\u30c3\u30af<\/h4>\n<h5><strong>1. HTTP API<\/strong>\uff1a<\/h5>\n<p>\u6700\u826f\u306e\u4fa1\u683c\u3067\u3001\u307b\u3068\u3093\u3069\u306e\u6a19\u6e96\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u6700\u521d\u306e3\u51043000\u4e07\u30ea\u30af\u30a8\u30b9\u30c8\u306f100\u4e07\u4ef6\u3054\u3068\u306b\u8a08\u7b97\u3055\u308c\u307e\u3059 <strong>$1.00<\/strong> \u6599\u91d1\u3001\u8d85\u904e\u5206\u306f <strong>$0.90<\/strong>\u3002\u6bce\u65e5\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3068\u540c\u6642\u5b9f\u884c\u6027\u306e\u9ad8\u3044\u30b7\u30ca\u30ea\u30aa\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h5><strong>2. REST API<\/strong>\uff1a<\/h5>\n<p>\u5305\u62ec\u7684\u306a\u6a5f\u80fd\u3092\u5099\u3048\u3066\u304a\u308a\u3001API \u30ad\u30fc\u306e\u691c\u8a3c\u3001\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u7ba1\u7406\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5236\u5fa1\u3092\u5fc5\u8981\u3068\u3059\u308b\u8907\u96d1\u306a\u30b7\u30ca\u30ea\u30aa\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u6700\u521d\u306e3\u51043000\u4e07\u30ea\u30af\u30a8\u30b9\u30c8\u3042\u305f\u308a100\u4e07 <strong>$3.50<\/strong>\u3001\u8d85\u904e <strong>$2.80<\/strong>\u3002\u30ad\u30e3\u30c3\u30b7\u30e5\u3084\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30b9\u30c6\u30fc\u30b8\u7ba1\u7406\u306a\u3069\u306e\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<h5><strong>3. WebSocket API<\/strong>\uff1a<\/h5>\n<p>\u30aa\u30f3\u30e9\u30a4\u30f3 \u30c1\u30e3\u30c3\u30c8\u3084\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0 \u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\u6570\uff08100\u4e07\u4ef6\u3042\u305f\u308a\uff09 <strong>$1.00<\/strong>\uff09\u304a\u3088\u3073\u63a5\u7d9a\u6642\u9593\uff08\u767e\u4e07\u5206\uff09 <strong>$0.25<\/strong>\uff09 \u8acb\u6c42\u3059\u308b\u3002<\/p>\n<h4><\/h4>\n<h4>\u30b3\u30b9\u30c8\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u4e3b\u306a\u8981\u56e0<\/h4>\n<ul>\n<li><strong>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u901a\u8a71\u6599<\/strong>: Lambda\u3001ECS\u3001EC2\u306a\u3069\u3092\u9023\u643a\u3059\u308b\u5834\u5408\u306f\u3001\u5bfe\u5fdc\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u6599\u91d1\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30c7\u30fc\u30bf\u8ee2\u9001\u6599\u91d1<\/strong>: API \u304c\u30e6\u30fc\u30b6\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u8fd4\u3059\u5834\u5408\u3001\u8ffd\u52a0\u306e\u5e2f\u57df\u5e45\u6599\u91d1\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong>: REST API \u30ad\u30e3\u30c3\u30b7\u30e5 \u30b5\u30fc\u30d3\u30b9\u306f\u3001GB\/\u6642\u9593\u5358\u4f4d\u3067\u8ab2\u91d1\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>\u5730\u57df\u5dee<\/strong>: \u5730\u57df\u306b\u3088\u3063\u3066\u4fa1\u683c\u304c\u82e5\u5e72\u7570\u306a\u308a\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306e\u5206\u5e03\u306b\u57fa\u3065\u3044\u3066\u5730\u57df\u5c55\u958b\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4><\/h4>\n<h4>\u30b3\u30b9\u30c8\u524a\u6e1b\u3068\u52b9\u7387\u5411\u4e0a\u306e\u305f\u3081\u306e\u5b9f\u8df5\u7684\u306a\u63d0\u6848<\/h4>\n<ul>\n<li>\u512a\u5148\u5ea6 <strong>HTTP API<\/strong> \u4ee3\u66ff REST API\u3002<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u8ca0\u8377\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u69cb\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u91cd\u8907\u3084\u8aa4\u3063\u305f\u547c\u3073\u51fa\u3057\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001API \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9069\u5207\u306b\u8a2d\u8a08\u3057\u307e\u3059\u3002<\/li>\n<li>AWS WAF\u3001\u96fb\u6d41\u5236\u9650\u3001\u305d\u306e\u4ed6\u306e\u30e1\u30ab\u30cb\u30ba\u30e0\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u60aa\u610f\u306e\u3042\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u3088\u308b\u30b3\u30b9\u30c8\u5897\u52a0\u3092\u9632\u304e\u307e\u3059\u3002<\/li>\n<li>\u4f7f\u7528\u72b6\u6cc1\u306e\u76e3\u8996\u3068\u30b3\u30b9\u30c8\u306e\u6700\u9069\u5316\u306b\u306f\u3001\u5f15\u304d\u7d9a\u304d CloudWatch \u3068 Cost Explorer \u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<h4><\/h4>\n<h4>\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30b5\u30fc\u30d3\u30b9\u3067API\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u306e\u4fa1\u5024\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3057\u307e\u3059<\/h4>\n<p>AWS \u516c\u5f0f\u8a8d\u5b9a\u4ee3\u7406\u5e97\u3068\u3057\u3066\u3001\u5f53\u793e\u306f\u4f01\u696d\u306b\u4ee5\u4e0b\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3055\u308c\u305f API \u30b2\u30fc\u30c8\u30a6\u30a7\u30a4 \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u547c\u3073\u51fa\u3057\u30d1\u30b9\u306e\u6700\u9069\u5316\u306e\u63d0\u6848<\/li>\n<li>\u30b3\u30b9\u30c8\u4e88\u6e2c\u3068\u7ba1\u7406\u6226\u7565\u5206\u6790\u30ec\u30dd\u30fc\u30c8<\/li>\n<li>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u69cb\u6210\uff08IAM\u3001WAF\u3001Authorizer\uff09\u3068\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306e\u30b5\u30dd\u30fc\u30c8<\/li>\n<li>\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u69cb\u7bc9\u304a\u3088\u3073\u7d71\u5408\u30b5\u30fc\u30d3\u30b9<\/li>\n<\/ul>\n<p>\u30b7\u30b9\u30c6\u30e0\u306e\u5b89\u5b9a\u6027\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u78ba\u4fdd\u3057\u306a\u304c\u3089\u3001API \u30b3\u30b9\u30c8\u3092\u6b63\u78ba\u306b\u5236\u5fa1\u3057\u3001\u30af\u30e9\u30a6\u30c9\u904b\u7528\u4fdd\u5b88\u306e\u76ee\u6a19\u3067\u3042\u308b\u300c\u30b3\u30b9\u30c8\u524a\u6e1b\u3068\u52b9\u7387\u5316\u300d\u3092\u771f\u306b\u5b9f\u73fe\u3067\u304d\u308b\u3088\u3046\u304a\u5ba2\u69d8\u3092\u652f\u63f4\u3057\u307e\u3059\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u3068\u30b5\u30fc\u30d0\u30fc\u30ec\u30b9\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u666e\u53ca\u306b\u3088\u308a\u3001Amazon API Gateway \u306f\u4f01\u696d\u304c API \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u4e2d\u6838\u30b5\u30fc\u30d3\u30b9\u306b\u306a\u308a\u307e\u3057\u305f\u3002 REST\u3001HTTP\u3001WebSocket API \u30bf\u30a4\u30d7\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3001\u958b\u767a\u8005\u304c API \u3092\u52b9\u7387\u7684\u306b\u69cb\u7bc9\u3001\u5b89\u5168\u306b\u516c\u958b\u3001\u76e3\u8996\u3001\u7ba1\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u5b9f\u969b\u306b\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u4fa1\u683c\u30e2\u30c7\u30eb\u3092\u9069\u5207\u306b\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u3001\u30af\u30e9\u30a6\u30c9 \u30b3\u30b9\u30c8\u3092\u5236\u5fa1\u3057\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u6700\u9069\u5316\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u9375\u3068\u306a\u308a\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":3143,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-3142","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-sharing"],"_links":{"self":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/3142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/comments?post=3142"}],"version-history":[{"count":0,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/3142\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media\/3143"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media?parent=3142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/categories?post=3142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/tags?post=3142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}