#!/bin/bash VMDK=......./foovar/foovar-disk1.vmdk S3_OWNER_ACCESS_KEY=<KEY> S3_OWNER_SECRET_KEY=<SECRET> S3_BUCKET_NAME=<BUCKET_NAME> REGION=ap-northeast-1 ec2-import-instance \ $VMDK \ -t m3.xlarge \ -f VMDK \ -a x86_64 \ --bucket $S3_BUCKET_NAME \ -o $S3_OWNER_ACCESS_KEY \ -w $S3_OWNER_SECRET_KEY \ --region $REGION \ -p Linux Requesting volume size: 25 GB TaskType IMPORTINSTANCE TaskId import-i-
![VMware fusionからAWS EC2への移動 - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/816185af02ee566d59db08e6c2c47edf04e15da7/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9Vk13YXJlJTIwZnVzaW9uJUUzJTgxJThCJUUzJTgyJTg5QVdTJTIwRUMyJUUzJTgxJUI4JUUzJTgxJUFFJUU3JUE3JUJCJUU1JThCJTk1JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmcz0yMDUyN2JlM2Y1Zjg1YjczZTk2MjI0MzU0M2JmMTc1Yw%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDB1c2hpb19zJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9MzYmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz1hYjQ4YTYyNWY0YzVkZGQ2NGM0MzM4MWY5M2Q2ZDgwNQ%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3Dee391019c6efb48d82684d7790c9febe)