{"width":"100%","author_url":"https://blog.hatena.ne.jp/mst-it/","author_name":"mst-it","blog_url":"https://mitomito.hatenablog.jp/","provider_url":"https://hatena.blog","categories":["AWS"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/mst-it/20250302/20250302041452.jpg","title":" [AWS] AMI\u3092\u4f5c\u6210\u3059\u308bCLI\u30b3\u30de\u30f3\u30c9","url":"https://mitomito.hatenablog.jp/entry/2025/03/02/090000","published":"2025-03-02 09:00:00","blog_title":"mito\u2019s blog","description":"AMI\u4f5c\u6210\u30d5\u30ed\u30fc 1\uff0eS3\u306b\u4f5c\u6210\u3057\u305f\u3044AMI\u306e\u5143\u3068\u306a\u308bbin\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304d\u307e\u3059\u3002 2\uff0eCLoudShell\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 aws ec2 create-restore-image-task --object-key XXX.bin --bucket \u30d0\u30b1\u30c3\u30c8\u540d --name AMI\u540d 3\uff0eAMI\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002 \u30ed\u30b0 ~ $ aws ec2 create-restore-image-task --object-key ami_test.bin --bucket mito-xxx --name ami-test { \"ImageId\": \"ami-xxxxxxxxxxxxxxx\"\u2026","provider_name":"Hatena Blog","height":"190","version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmitomito.hatenablog.jp%2Fentry%2F2025%2F03%2F02%2F090000\" title=\" [AWS] AMI\u3092\u4f5c\u6210\u3059\u308bCLI\u30b3\u30de\u30f3\u30c9 - mito\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}