I want to do some testing with an EC2 instance, but to download it to my PC and run it locally on VirtualBox/KVM or the like. Is it possible?
相关问题
- How to generate 12 digit unique number in redshift
- Use awslogs with kubernetes 'natively'
- JQ: Select when attribute value exists in a bash a
- Assume/switch role in aws toolkit for eclipse 2.0
- 'no SavedModel bundles found!' on tensorfl
相关文章
- Right way to deploy Rails + Puma + Postgres app to
- how many objects are returned by aws s3api list-ob
- AWS S3 in rails - how to set the s3_signature_vers
- Passthrough input to output in AWS Step Functions
- I cannot locate production log files on Elastic Be
- ImportError: cannot import name 'joblib' f
- Static IP for Auto Scale in AWS
- Step function exceeding the maximum number of char
Well, you can use VMWare to create an image, work on it and then upload it to EC2. Amazon introduced this feature in Dec 2010. However, this will only be useful to you if you work on Windows Server 2008 SP2. See the Amazon VM Import Page
No, it's not. EC2 instances run on a customised Red Hat Xen layer whose AMIs are tailored specifically to that platform. Those images cannot be used anywhere else.
As of mid 2013, VMware imports to EC2 are not restricted only to windows.
"You can import VMware ESX and VMware Workstation VMDK images, Citrix Xen VHD images and Microsoft Hyper-V VHD images for Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Red Hat Enterprise Linux (RHEL) 5.1-6.5 (using Cloud Access), Centos 5.1-6.5, Ubuntu 12.04, 12.10, 13.04, 13.10, and Debian 6.0.0-6.0.8, 7.0.0-7.2.0. You can export previously imported EC2 instances to VMware ESX VMDK, VMware ESX OVA, Microsoft Hyper-V VHD or Citrix Xen VHD file formats. We plan to support import for additional operating systems, versions and virtualization infrastructure products in the future."
IF you imported the image, you may simply use the EC2 CLI to export the image as an OVA or VMDK. AWS Official Blog entry & EC2 CLI command info
If not, you can follow the instructions here to convert the image to a VMDK. The instructions are for Vagrant, but only part 3 of the instructions are vagrant-specific, so you may simply skip that part to stop with a working VMDK.
See also this ServerFault question.