{"id":1510,"date":"2018-10-08T13:00:03","date_gmt":"2018-10-08T04:00:03","guid":{"rendered":"https:\/\/www.itc109.com\/knowledge\/?p=1510"},"modified":"2021-09-30T08:57:48","modified_gmt":"2021-09-29T23:57:48","slug":"lambda-snapshot-error","status":"publish","type":"post","link":"https:\/\/www.itc109.com\/knowledge\/aws\/lambda-snapshot-error","title":{"rendered":"Lambda \u3067 Snapshot \u53d6\u5f97\u6642\u306b\u30a8\u30e9\u30fc\u306b\u306a\u308b"},"content":{"rendered":"<h4><strong>\u6982\u8981<\/strong><\/h4>\n<p>Lambda \u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u4e00\u90e8\u306e EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u304c\u53d6\u5f97\u3067\u304d\u306a\u3044\u72b6\u614b\u3068\u306a\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<h5><strong>\u78ba\u8a8d\u5185\u5bb9<\/strong><\/h5>\n<hr \/>\n<p><strong>\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u4f5c\u6210\u72b6\u6cc1\u3092\u78ba\u8a8d<\/strong><\/p>\n<p>Lambda \u306e\u5b9f\u884c\u3067\u30ea\u30c8\u30e9\u30a4\u304c\u7d9a\u304d\u30013\u56de\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u304c\u4f5c\u6210\u3055\u308c\u308b\u72b6\u614b\u3067\u3042\u308b\u3002<\/p>\n<p>\u4e16\u4ee3\u7ba1\u7406\u3068\u3057\u3066\u3044\u308b\u65e5\u6570\u4ee5\u4e0a\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u304c\u524a\u9664\u3055\u308c\u306a\u3044\u72b6\u614b\u3067\u3042\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>CloudWatch <\/strong><\/p>\n<p><strong>\u30ed\u30b0\u3092\u78ba\u8a8d<\/strong><\/p>\n<p>An error occurred (InvalidSnapshot.InUse) when calling the DeleteSnapshot operation: The snapshot snap-000000000000000000 is currently in use by ami-00000000000000000<\/p>\n<p>\u8981\u7d04\u3059\u308b\u3068<\/p>\n<p>DeleteSnapshot \u64cd\u4f5c\u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\uff08InvalidSnapshot.InUse\uff09\u3002\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8 snap-000000000000000000 \u306f\u73fe\u5728 ami-00000000000000000 \u306b\u3088\u3063\u3066\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059<\/p>\n<p>&nbsp;<\/p>\n<p><strong>AMI\u3092\u78ba\u8a8d<\/strong><\/p>\n<p>Lambda \u3067\u4f5c\u6210\u3057\u305fEC2 Snapshot\u3092\u5143\u306b AMI \u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u539f\u56e0<\/strong><\/p>\n<p>Lambda \u3067\u4f5c\u6210\u3057\u305f EC2 \u306e Snapshot \u3092\u5143\u306b AMI \u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u70ba\u3001\u524a\u9664\u304c\u8a31\u53ef\u3055\u308c\u305a\u306b\u30a8\u30e9\u30fc\u3068\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u89e3\u6c7a<\/strong><\/p>\n<p>AMI \u306e\u767b\u9332\u3092\u89e3\u9664\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Lambda \u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u4e00\u90e8\u306e EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u304c\u53d6\u5f97\u3067\u304d\u306a\u3044\u72b6\u614b\u3068\u306a\u308b\u3002 &nbsp; \u78ba\u8a8d\u5185\u5bb9 \u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u4f5c\u6210\u72b6\u6cc1\u3092\u78ba\u8a8d Lambda \u306e\u5b9f\u884c\u3067\u30ea\u30c8\u30e9\u30a4\u304c\u7d9a\u304d\u30013\u56de\u306e\u30b9\u30ca\u30c3&#8230;<\/p>\n","protected":false},"author":3,"featured_media":23,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[105,59],"class_list":["post-1510","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws","tag-lambda","tag-snapshot"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.itc109.com\/knowledge\/wp-content\/uploads\/sites\/2\/logo\/logo-aws.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pacZwp-om","_links":{"self":[{"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/posts\/1510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/comments?post=1510"}],"version-history":[{"count":11,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/posts\/1510\/revisions"}],"predecessor-version":[{"id":2518,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/posts\/1510\/revisions\/2518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/media\/23"}],"wp:attachment":[{"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/media?parent=1510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/categories?post=1510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itc109.com\/knowledge\/wp-json\/wp\/v2\/tags?post=1510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}