{"id":11297,"date":"2015-10-07T23:41:01","date_gmt":"2015-10-07T19:41:01","guid":{"rendered":"http:\/\/www.msp360.com\/blog\/?p=11297"},"modified":"2025-11-19T15:46:21","modified_gmt":"2025-11-19T11:46:21","slug":"how-to-configure-vmimport-role","status":"publish","type":"post","link":"https:\/\/www.msp360.com\/resources\/blog\/how-to-configure-vmimport-role\/","title":{"rendered":"How to Setup VMimport Role"},"content":{"rendered":"<p>In this post, we provide a step-by-step instruction on how to configure <a href=\"https:\/\/aws.amazon.com\/ec2\/vm-import\/\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon VMimport Role<\/a> in order to import virtual machine images from your existing environment to Amazon <a href=\"https:\/\/www.msp360.com\/resources\/blog\/ec2-instance-types\/\">EC2 instances<\/a>. <!--more--><\/p>\n<h2>How to Configure VMimport Role<\/h2>\n<p>1. Go to\u00a0<strong>Amazon Web Services,<\/strong>\u00a0log in<strong>\u00a0<\/strong>using your Amazon\u00a0credentials and click on <strong>IAM<\/strong>, under <em>Security, Identity &amp; Compliance<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21231 size-large\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.26.11-1024x928.png\" alt=\"\" width=\"625\" height=\"566\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.26.11-1024x928.png 1024w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.26.11-300x272.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.26.11-768x696.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.26.11-624x565.png 624w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.26.11.png 1210w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/p>\n<div class=\"call-to-action\">\n<div class=\"call-to-action__left\">\n<div class=\"call-to-action__tag\">FREE WHITEPAPER<\/div>\n<div class=\"call-to-action__title\">Mastering AWS IAM for Amazon S3<\/div>\n<div class=\"call-to-action__text\">Learn how to effectively manage the security of your Amazon S3 account to protect your and your clients' data<\/div>\n<!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper hs-cta-deferred\" id=\"hs-cta-wrapper-9120adb3-1267-4129-ad5a-d8f06b87d969\" data-portal=\"5442029\" data-id=\"9120adb3-1267-4129-ad5a-d8f06b87d969\"><span class=\"hs-cta-node hs-cta-9120adb3-1267-4129-ad5a-d8f06b87d969\" id=\"hs-cta-9120adb3-1267-4129-ad5a-d8f06b87d969\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/5442029\/9120adb3-1267-4129-ad5a-d8f06b87d969\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-9120adb3-1267-4129-ad5a-d8f06b87d969\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/5442029\/9120adb3-1267-4129-ad5a-d8f06b87d969.png\" alt=\"CTA\"><\/a><\/span><\/span><!-- end HubSpot Call-to-Action Code -->\n<\/div>\n<div class=\"call-to-action__right\"><img decoding=\"async\" style=\"max-width: 171px;\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2019\/07\/Mastering-AWS-IAM-for-Amazon-S3.png\" alt=\"WP icon\" \/><\/div>\n<\/div>\n<p>2. Navigate to\u00a0<strong>Roles<\/strong> on the left-hand sidebar and click <strong>Create Role<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21232 size-large\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.37.24-1024x565.png\" alt=\"\" width=\"625\" height=\"345\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.37.24-1024x565.png 1024w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.37.24-300x166.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.37.24-768x424.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.37.24-624x344.png 624w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.37.24.png 1258w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/p>\n<p>3. Select the type of trusted entity. You need <strong>AWS service<\/strong>. Next, select the service that will use this role (<strong>EC2<\/strong>). Finally, select the required case (<strong>EC2<\/strong>).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21234 size-large\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.43.43-992x1024.png\" alt=\"\" width=\"625\" height=\"645\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.43.43-992x1024.png 992w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.43.43-291x300.png 291w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.43.43-768x793.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.43.43-624x644.png 624w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-15.43.43.png 1786w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/p>\n<p>4. Skip the next step by clicking <strong>Next: Review<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21235 size-large\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.11.38-907x1024.png\" alt=\"\" width=\"625\" height=\"706\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.11.38-907x1024.png 907w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.11.38-266x300.png 266w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.11.38-768x867.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.11.38-624x704.png 624w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.11.38.png 1630w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/>5. Enter the role's name, review the role's information and click <strong>Create Role<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-25295\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Capture-1024x539.png\" alt=\"\" width=\"625\" height=\"329\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Capture-1024x539.png 1024w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Capture-300x158.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Capture-768x404.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Capture-624x328.png 624w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Capture.png 1040w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/p>\n<p>6. Click on your new role to edit policies.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-25296\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/vmimport1.png\" alt=\"\" width=\"427\" height=\"134\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/vmimport1.png 427w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/vmimport1-300x94.png 300w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><\/p>\n<p>7. Under <strong>Permissions<\/strong>, click <strong>Add Inline Policy<\/strong>.<\/p>\n<p>8. Switch to the JSON editor and insert the following policy:<\/p>\n<pre>{\r\n   \"Version\":\"2012-10-17\",\r\n   \"Statement\":[\r\n      {\r\n         \"Effect\":\"Allow\",\r\n         \"Action\":[\r\n            \"s3:ListBucket\",\r\n            \"s3:GetBucketLocation\"\r\n         ],\r\n         \"Resource\":[\r\n            \"arn:aws:s3:::<b>bucket<\/b>\"\r\n         ]\r\n      },\r\n      {\r\n         \"Effect\":\"Allow\",\r\n         \"Action\":[\r\n            \"s3:GetObject\"\r\n         ],\r\n         \"Resource\":[\r\n            \"arn:aws:s3:::<b>bucket<\/b>\/*\"\r\n         ]\r\n      },\r\n      {\r\n         \"Effect\":\"Allow\",\r\n         \"Action\":[\r\n            \"ec2:ModifySnapshotAttribute\",\r\n            \"ec2:CopySnapshot\",\r\n            \"ec2:RegisterImage\",\r\n            \"ec2:Describe*\"\r\n         ],\r\n         \"Resource\":\"*\"\r\n      }\r\n   ]\r\n}<\/pre>\n<p>Ensure that instead of <strong>buckets\u00a0<\/strong>you've specified the name of your S3 bucket that will contain the image. When done, review the newly created policy and click<strong> Create Policy<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21241 size-large\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.38.14-1024x576.png\" alt=\"\" width=\"625\" height=\"352\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.38.14-1024x576.png 1024w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.38.14-300x169.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.38.14-768x432.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.38.14-624x351.png 624w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.38.14.png 1756w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/p>\n<p>9. Expand the <strong>Trust Relationships<\/strong> section and click on <strong>Edit Trust Relationships<\/strong>.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21242 size-full\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.42.58.png\" alt=\"\" width=\"968\" height=\"714\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.42.58.png 968w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.42.58-300x221.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.42.58-768x566.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2015\/10\/Screen-Shot-2018-04-19-at-16.42.58-624x460.png 624w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/>10. Insert the following script in the <strong>Policy Document<\/strong> editor:<\/p>\n<div>\n<div>{<\/div>\n<div>\u00a0 \"Version\": \"2012-10-17\",<\/div>\n<div>\u00a0 \"Statement\": [<\/div>\n<div>\u00a0 \u00a0 {<\/div>\n<div>\u00a0 \u00a0 \u00a0 \"Sid\": \"\",<\/div>\n<div>\u00a0 \u00a0 \u00a0 \"Effect\": \"Allow\",<\/div>\n<div>\u00a0 \u00a0 \u00a0 \"Principal\": {<\/div>\n<div>\u00a0 \u00a0 \u00a0 \u00a0 \"Service\": \"vmie.amazonaws.com\"<\/div>\n<div>\u00a0 \u00a0 \u00a0 },<\/div>\n<div>\u00a0 \u00a0 \u00a0 \"Action\": \"sts:AssumeRole\",<\/div>\n<div>\u00a0 \u00a0 \u00a0 \"Condition\": {<\/div>\n<div>\u00a0 \u00a0 \u00a0 \u00a0 \"StringEquals\": {<\/div>\n<div>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \"sts:ExternalId\": \"vmimport\"<\/div>\n<div>\u00a0 \u00a0 \u00a0 \u00a0 }<\/div>\n<div>\u00a0 \u00a0 \u00a0 }<\/div>\n<div>\u00a0 \u00a0 }<\/div>\n<div>\u00a0 ]<\/div>\n<div>}<\/div>\n<\/div>\n<div><\/div>\n<div>When done, click <strong>Update Trust Policy<\/strong>.<\/div>\n<div>\n<div><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Your VM import role is now entirely and properly configured!<\/p>\n<h3>Further Resources for MSP360<\/h3>\n<p><a href=\"https:\/\/www.msp360.com\/rmm\"><b>RMM<\/b><\/a> <b>Platform:<\/b><span style=\"font-weight: 400;\"> This flagship product provides powerful<\/span><a href=\"https:\/\/www.msp360.com\/rmm\/monitoring-and-alerting\/\"><span style=\"font-weight: 400;\"> monitoring and alerting<\/span><\/a><span style=\"font-weight: 400;\"> and automated<\/span><a href=\"https:\/\/www.msp360.com\/rmm\/patch-management\/\"><span style=\"font-weight: 400;\"> patch management<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"https:\/\/www.msp360.com\/msp-software\/halo-psa-integration\/\"><span style=\"font-weight: 400;\">HALOPSA integration<\/span><\/a><span style=\"font-weight: 400;\">, to ensure endpoints remain secure and operate smoothly.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Start securing your IT environment today with our<\/span><a href=\"https:\/\/www.msp360.com\/backup\/free-backup-software\/\"><span style=\"font-weight: 400;\"> Free Backup Software<\/span><\/a><span style=\"font-weight: 400;\"> or explore the full range of features. We are a<\/span><a href=\"https:\/\/www.msp360.com\/company\/\"><span style=\"font-weight: 400;\"> trusted company<\/span><\/a><span style=\"font-weight: 400;\"> committed to your success.<\/span><\/p>\n<p><a href=\"https:\/\/www.msp360.com\/managed-backup\/\"><b>Managed Backup<\/b><\/a><b>:<\/b><span style=\"font-weight: 400;\"> This service offers<\/span><a href=\"https:\/\/www.msp360.com\/backup\/cloud-backup\/\"><span style=\"font-weight: 400;\"> reliable cloud backup<\/span><\/a><span style=\"font-weight: 400;\"> and image-based protection. A key feature is the dedicated<\/span><a href=\"https:\/\/www.msp360.com\/saas-backup\/\"> <b>SaaS backup<\/b><\/a><span style=\"font-weight: 400;\"> for popular platforms:<\/span><\/p>\n<p><a href=\"https:\/\/www.msp360.com\/saas-backup\/m365\/\"><span style=\"font-weight: 400;\">Microsoft 365<\/span><\/a><span style=\"font-weight: 400;\">, including<\/span><a href=\"https:\/\/www.msp360.com\/saas-backup\/m365\/onedrive-backup\/\"> <b>OneDrive backup<\/b><\/a><b>,<\/b><a href=\"https:\/\/www.msp360.com\/saas-backup\/m365\/outlook-backup\/\"> <span style=\"font-weight: 400;\">Outlook Backup<\/span><\/a><span style=\"font-weight: 400;\"> features, <a href=\"https:\/\/www.msp360.com\/saas-backup\/google-workspace\/.\">Google Workspace<\/a> and the benefits of <a href=\"https:\/\/www.msp360.com\/resources\/blog\/company-management-for-microsoft-365-and-google-workspace\/\">Domain Management.<\/a><\/span><\/p>\n<p>Finally, find videos aimed to guide you through installation <a href=\"https:\/\/www.msp360.com\/resources\/video-tutorials\/msp360-explorer\/\">processes for the cloud storage of your choice<\/a>, with advanced features of MSP360 Explorer, an overview the support for <a href=\"https:\/\/www.msp360.com\/resources\/blog\/using-aws-kms-with-backup\/\">AWS Key Management Service in MSP360 Backup.<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we provide a step-by-step instruction on how to configure Amazon VMimport Role in order to import virtual machine images from your existing environment to Amazon EC2 instances.<\/p>\n","protected":false},"author":2,"featured_media":27427,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[877,894,882],"tags":[],"class_list":["post-11297","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-articles","category-msp360-backup","category-msp360-news"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/11297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/comments?post=11297"}],"version-history":[{"count":6,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/11297\/revisions"}],"predecessor-version":[{"id":61351,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/11297\/revisions\/61351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/media\/27427"}],"wp:attachment":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/media?parent=11297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/categories?post=11297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/tags?post=11297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}