I am trying to import my virtual box to EC2. Here is my command and the error I got.
COMMAND:
ec2-import-instance ubuntu1-disk1.vmdk -f VMDK -t t2.micro -a x86_64 -b testcansu -o myAccessKey -O myAccessKey -W mySecretKey -w mySecretKey --region eu-west-1 -p Linux
ERROR:
OpenJDK 64-Bit Server VM warning: Insufficient space for shared memory file:
/tmp/hsperfdata_cansu/8982
Try using the -Djava.io.tmpdir= option to select an alternate temp location.
Requesting volume size: 8 GB
TaskType IMPORTINSTANCE TaskId import-i-fh228pai ExpirationTime 2015-08-19T15:34:46Z Status active StatusMessage Pending InstanceID i-ffcbdb52
DISKIMAGE DiskImageFormat VMDK DiskImageSize 2104388096 VolumeSize 8 AvailabilityZone eu-west-1b ApproximateBytesConverted 0 Status active StatusMessage Pending : Downloaded 0
Creating new manifest at testcansu/274041d9-45d5-4288-a53e-ce8c58c78656/ubuntu1-disk1.vmdkmanifest.xml
Uploading the manifest file
Uploading 2104388096 bytes across 201 parts
0% |--------------------------------------------------| 100%
||
Done
Average speed was 0.000 MBps
ERROR: Failed to upload complete file, please retry the upload.
What can I do to fix this?