{"id":1495,"date":"2024-12-09T14:58:36","date_gmt":"2024-12-09T06:58:36","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=1495"},"modified":"2024-12-12T11:39:36","modified_gmt":"2024-12-12T03:39:36","slug":"aws-cost-optimization-a-key-strategy","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/ja\/aws\u30b3\u30b9\u30c8\u6700\u9069\u5316\u306f\u91cd\u8981\u306a\u6226\u7565\/","title":{"rendered":"AWS \u30b3\u30b9\u30c8\u6700\u9069\u5316: \u4e3b\u8981\u6226\u7565"},"content":{"rendered":"<p>\u30af\u30e9\u30a6\u30c9 \u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u74b0\u5883\u3067\u306f\u3001\u30b3\u30b9\u30c8\u7ba1\u7406\u306f\u3059\u3079\u3066\u306e\u7d44\u7e54\u304c\u6ce8\u610f\u3092\u6255\u3046\u5fc5\u8981\u304c\u3042\u308b\u91cd\u8981\u306a\u5074\u9762\u3067\u3059\u3002 AWS \u306f\u8c4a\u5bcc\u306a\u30c4\u30fc\u30eb\u3068\u67d4\u8edf\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u8a08\u753b\u3068\u6700\u9069\u5316\u304c\u306a\u3051\u308c\u3070\u3001\u7c21\u5358\u306b\u30b3\u30b9\u30c8\u306e\u8d85\u904e\u3084\u30ea\u30bd\u30fc\u30b9\u306e\u7121\u99c4\u9063\u3044\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30bf\u30b0 \u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30bd\u30fc\u30b9\u3092\u8ffd\u8de1\u3057\u3001\u4e88\u7b97\u30a2\u30e9\u30fc\u30c8\u3092\u8a2d\u5b9a\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306b\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u30b3\u30fc\u30c9\u3068\u3057\u3066\u63a1\u7528\u3057 (IaC)\u3001\u6700\u5c0f\u6a29\u9650\u30a2\u30af\u30bb\u30b9\u306a\u3069\u306e\u30dd\u30ea\u30b7\u30fc\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7d44\u7e54\u306f\u30b3\u30b9\u30c8\u3092\u3088\u308a\u52b9\u679c\u7684\u306b\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001AWS Lambda \u3092\u4f7f\u7528\u3057\u3066\u672a\u4f7f\u7528\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u81ea\u52d5\u7684\u306b\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u3057\u3001\u4e88\u671f\u3057\u306a\u3044\u6599\u91d1\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306b\u306f\u30b5\u30dd\u30fc\u30c8\u30c1\u30fc\u30e0\u306b\u901f\u3084\u304b\u306b\u9023\u7d61\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30b9\u30c8\u69cb\u9020\u3092\u3055\u3089\u306b\u6700\u9069\u5316\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u3092\u52b9\u7387\u7684\u306b\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001AWS \u30b3\u30b9\u30c8\u6700\u9069\u5316\u306e\u305f\u3081\u306e\u4e3b\u8981\u306a\u6226\u7565\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3><\/h3>\n<h3><\/h3>\n<h3><strong>1) AWS \u30ea\u30bd\u30fc\u30b9\u30b0\u30eb\u30fc\u30d7\u3068\u30bf\u30b0\u30a8\u30c7\u30a3\u30bf<\/strong><\/h3>\n<p>\u30bf\u30b0 \u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30bd\u30fc\u30b9\u3092\u8ffd\u8de1\u3057\u3001\u6599\u91d1\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>2) AWS\u8acb\u6c42\u66f8\u306b\u4e88\u7b97\u3092\u8a2d\u5b9a\u3059\u308b<\/strong><\/h3>\n<p>\u4e88\u7b97\u3092\u4f5c\u6210\u3057\u3001\u652f\u51fa\u304c\u3057\u304d\u3044\u5024\u306b\u9054\u3057\u305f\u3068\u304d\u306b\u30a2\u30e9\u30fc\u30c8\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<br \/>\n\u4e88\u7b97\u30ec\u30dd\u30fc\u30c8\u3092\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3057\u3066\u3001\u30b3\u30b9\u30c8\u3092\u7a4d\u6975\u7684\u306b\u7ba1\u7406\u3057\u307e\u3059\u3002<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-1528\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-100-\u7f8e\u5143\u949e\u7968-Flatlay-\u5132\u84c4-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-scaled.jpg\" alt=\"\" width=\"2560\" height=\"1707\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-100-\u7f8e\u5143\u949e\u7968-Flatlay-\u5132\u84c4-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-scaled.jpg 2560w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-100-\u7f8e\u5143\u949e\u7968-Flatlay-\u5132\u84c4-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-300x200.jpg 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-100-\u7f8e\u5143\u949e\u7968-Flatlay-\u5132\u84c4-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-1024x683.jpg 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-100-\u7f8e\u5143\u949e\u7968-Flatlay-\u5132\u84c4-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-768x512.jpg 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-100-\u7f8e\u5143\u949e\u7968-Flatlay-\u5132\u84c4-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-1536x1024.jpg 1536w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-100-\u7f8e\u5143\u949e\u7968-Flatlay-\u5132\u84c4-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-2048x1365.jpg 2048w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/p>\n<h3><\/h3>\n<h3><\/h3>\n<p>&nbsp;<\/p>\n<h3><strong>3) \u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30af\u30bb\u30b9\/UI\u3092\u6e1b\u3089\u3057\u3001IaC\u3092\u4f7f\u7528\u3059\u308b<\/strong><\/h3>\n<p>\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u3092\u81ea\u52d5\u5316\u3059\u308b\u306b\u306f\u3001Terraform \u307e\u305f\u306f\u540c\u69d8\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>4) \u6700\u5c0f\u6a29\u9650\u30a2\u30af\u30bb\u30b9\u3092\u9069\u7528\u3059\u308b<\/strong><\/h3>\n<p>\u4e0d\u8981\u306a\u30ea\u30bd\u30fc\u30b9\u306e\u4f7f\u7528\u3092\u9632\u3050\u305f\u3081\u306b\u3001\u5fc5\u8981\u306a\u30ed\u30fc\u30eb\u306b\u6a29\u9650\u3092\u5236\u9650\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-1529 size-large\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\uff03\u5ba4\u5185-3C\u7528\u54c1-\u4e0a\u7db2-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-scaled-e1733727352284-1024x865.jpg\" alt=\"\" width=\"1024\" height=\"865\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\uff03\u5ba4\u5185-3C\u7528\u54c1-\u4e0a\u7db2-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-scaled-e1733727352284-1024x865.jpg 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\uff03\u5ba4\u5185-3C\u7528\u54c1-\u4e0a\u7db2-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-scaled-e1733727352284-300x253.jpg 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\uff03\u5ba4\u5185-3C\u7528\u54c1-\u4e0a\u7db2-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-scaled-e1733727352284-768x649.jpg 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\uff03\u5ba4\u5185-3C\u7528\u54c1-\u4e0a\u7db2-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-scaled-e1733727352284-1536x1298.jpg 1536w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-\uff03\u5ba4\u5185-3C\u7528\u54c1-\u4e0a\u7db2-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-scaled-e1733727352284.jpg 1677w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h3><\/h3>\n<p>&nbsp;<\/p>\n<h3><strong>5) AWS Lambda\u306b\u3088\u308b\u81ea\u52d5\u5316<\/strong><\/h3>\n<p>Cron \u30b8\u30e7\u30d6\u3001AWS CLI\u3001\u307e\u305f\u306f CloudWatch \u30a4\u30d9\u30f3\u30c8\u306b\u3088\u3063\u3066\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b Lambda \u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\n\u7279\u5b9a\u306e\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u30a2\u30a4\u30c9\u30eb\u72b6\u614b\u307e\u305f\u306f\u672a\u4f7f\u7528\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u8b58\u5225\u3059\u308b Python \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u30a2\u30a4\u30c9\u30eb\u72b6\u614b\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3059\u308b\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u901a\u77e5\u3059\u308b<\/strong>: SNS (Simple Notification Service) \u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30a4\u30c9\u30eb\u72b6\u614b\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u95a2\u3059\u308b\u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30e9\u30fc\u30c8\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30af\u30ea\u30fc\u30cb\u30f3\u30b0<\/strong>: API \u3092\u4f7f\u7528\u3057\u3066\u30a2\u30a4\u30c9\u30eb\u72b6\u614b\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u81ea\u52d5\u7684\u306b\u524a\u9664\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>6)<strong>\u4e88\u671f\u3057\u306a\u3044\u6599\u91d1\u306b\u3064\u3044\u3066\u306fAWS\u30b5\u30dd\u30fc\u30c8\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044<\/strong><\/h3>\n<p>\u4e88\u671f\u3057\u306a\u3044\u6599\u91d1\u306e\u514d\u9664\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b\u306b\u306f\u3001AWS \u30b5\u30dd\u30fc\u30c8\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3064\u307e\u308a\u3001AWS \u30b3\u30b9\u30c8\u306e\u6700\u9069\u5316\u306b\u306f\u3001\u6280\u8853\u30ec\u30d9\u30eb\u3067\u306e\u81ea\u52d5\u5316\u3068\u6a29\u9650\u7ba1\u7406\u3060\u3051\u3067\u306a\u304f\u3001\u8ca1\u52d9\u30ec\u30d9\u30eb\u3067\u306e\u30d7\u30ed\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u76e3\u8996\u3068\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3082\u542b\u3081\u305f\u5305\u62ec\u7684\u306a\u6226\u7565\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u91cd\u8981\u306a\u6226\u7565\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u4f01\u696d\u306f\u4e0d\u5fc5\u8981\u306a\u7d4c\u8cbb\u3092\u56de\u907f\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30d3\u30b8\u30cd\u30b9\u30cb\u30fc\u30ba\u3092\u78ba\u4fdd\u3057\u306a\u304c\u3089\u30ea\u30bd\u30fc\u30b9\u306e\u4f7f\u7528\u7387\u3092\u6700\u5927\u5316\u3057\u3001\u30b3\u30b9\u30c8\u52b9\u7387\u306e\u9ad8\u3044\u30af\u30e9\u30a6\u30c9\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u904b\u7528\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u30af\u30e9\u30a6\u30c9 \u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u74b0\u5883\u3067\u306f\u3001\u30b3\u30b9\u30c8\u7ba1\u7406\u306f\u3059\u3079\u3066\u306e\u7d44\u7e54\u304c\u6ce8\u610f\u3092\u6255\u3046\u5fc5\u8981\u304c\u3042\u308b\u91cd\u8981\u306a\u5074\u9762\u3067\u3059\u3002 AWS \u306f\u8c4a\u5bcc\u306a\u30c4\u30fc\u30eb\u3068\u67d4\u8edf\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u8a08\u753b\u3068\u6700\u9069\u5316\u304c\u306a\u3051\u308c\u3070\u3001\u7c21\u5358\u306b\u30b3\u30b9\u30c8\u306e\u8d85\u904e\u3084\u30ea\u30bd\u30fc\u30b9\u306e\u7121\u99c4\u9063\u3044\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30bf\u30b0 \u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30bd\u30fc\u30b9\u3092\u8ffd\u8de1\u3057\u3001\u4e88\u7b97\u30a2\u30e9\u30fc\u30c8\u3092\u8a2d\u5b9a\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306b\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u30b3\u30fc\u30c9\u3068\u3057\u3066\u63a1\u7528\u3057 (IaC)\u3001\u6700\u5c0f\u6a29\u9650\u30a2\u30af\u30bb\u30b9\u306a\u3069\u306e\u30dd\u30ea\u30b7\u30fc\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7d44\u7e54\u306f\u30b3\u30b9\u30c8\u3092\u3088\u308a\u52b9\u679c\u7684\u306b\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001AWS Lambda \u3092\u4f7f\u7528\u3057\u3066\u672a\u4f7f\u7528\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u81ea\u52d5\u7684\u306b\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u3057\u3001\u4e88\u671f\u3057\u306a\u3044\u6599\u91d1\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306b\u306f\u30b5\u30dd\u30fc\u30c8\u30c1\u30fc\u30e0\u306b\u901f\u3084\u304b\u306b\u9023\u7d61\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30b9\u30c8\u69cb\u9020\u3092\u3055\u3089\u306b\u6700\u9069\u5316\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u3092\u52b9\u7387\u7684\u306b\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>","protected":false},"author":1,"featured_media":1496,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-1495","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\/1495","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=1495"}],"version-history":[{"count":0,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/posts\/1495\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media\/1496"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/media?parent=1495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/categories?post=1495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/ja\/wp-json\/wp\/v2\/tags?post=1495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}