Prerequisites for exporting an instance from Amazon EC2 - VM Import/Export
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Prerequisites for exporting an instance from Amazon EC2

To export a VM from Amazon EC2, first meet the following prerequisites.

  • Install the Amazon CLI. For more information, see the Amazon Command Line Interface User Guide.

    Tip

    In supported Amazon Web Services Regions, you can also use Amazon CloudShell for a browser-based, pre-authenticated shell that launches directly from the Amazon Web Services Management Console.

  • Create an S3 bucket for storing the exported instances or choose an existing bucket. The bucket must be in the Region where you want export your VMs. Additionally, the bucket must belong to the Amazon Web Services account where you are performing the export operation. For more information, see the Amazon Simple Storage Service User Guide.

  • Prepare your S3 bucket by attaching an access control list (ACL) containing the following grants. For more information, see Managing Access with ACLs in the Amazon Simple Storage Service User Guide.

    Important

    You can't export a VM to an Amazon Simple Storage Service (Amazon S3) bucket that uses the bucket owner enforced setting for S3 Object Ownership because ACLs are disabled. For more information, see Configuring ACLs in the Amazon Simple Storage Service User Guide.

    • For Grantee, provide the appropriate Region-specific canonical account ID:

      Africa (Cape Town)

      3f7744aeebaf91dd60ab135eb1cf908700c8d2bc9133e61261e6c582be6e33ee

      Asia Pacific (Hong Kong)

      97ee7ab57cc9b5034f31e107741a968e595c0d7a19ec23330eae8d045a46edfb

      Asia Pacific (Hyderabad)

      77ab5ec9eac9ade710b7defed37fe0640f93c5eb76ea65a64da49930965f18ca

      Asia Pacific (Jakarta)

      de34aaa6b2875fa3d5086459cb4e03147cf1a9f7d03d82f02bedb991ff3d1df5

      Asia Pacific (Melbourne)

      8b8ea36ab97c280aa8558c57a380353ac7712f01f82c21598afbb17e188b9ad5

      Asia Pacific (Osaka)

      40f22ffd22d6db3b71544ed6cd00c8952d8b0a63a87d58d5b074ec60397db8c9

      Canada West (Calgary)

      78e12f8d798f89502177975c4ccdac686c583765cea2bf06e9b34224e2953c83

      Europe (Milan)

      04636d9a349e458b0c1cbf1421858b9788b4ec28b066148d4907bb15c52b5b9c

      Europe (Spain)

      6e81c4c52a37a7f59e103625162ed97bcd0e646593adb107d21310d093151518

      Europe (Zurich)

      5d9fcea77b2fb3df05fc15c893f212ae1d02adb4b24c13e18586db728a48da67

      Israel (Tel Aviv)

      328a78de7561501444823ebeb59152eca7cb58fee2fe2e4223c2cdd9f93ae931

      Middle East (Bahrain)

      aa763f2cf70006650562c62a09433f04353db3cba6ba6aeb3550fdc8065d3d9f

      Middle East (UAE)

      7d3018832562b7b6c126f5832211fae90bd3eee3ed3afde192d990690267e475

      China (Beijing) and China (Ningxia)

      834bafd86b15b6ca71074df0fd1f93d234b9d5e848a2cb31f880c149003ce36f

      Amazon GovCloud (US)

      af913ca13efe7a94b88392711f6cfc8aa07c9d1454d4f190a624b126733a5602

      All other Regions

      c4d8eabf8db69dbe46bfe0e517100c554f01200b104d59cd408e777ba442a322

    • For each Grantee, provide the following permissions:

      • READ_ACP (In the Amazon S3 console, Bucket ACL should have the Read permission)

      • WRITE (In the Amazon S3 console, Objects should have the Write permission)