{"id":19994,"date":"2025-06-16T12:51:01","date_gmt":"2025-06-16T12:51:01","guid":{"rendered":"https:\/\/cloudkul.com\/blog\/?p=19994"},"modified":"2026-04-24T11:10:36","modified_gmt":"2026-04-24T11:10:36","slug":"magento-ami-installer-user-guide","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/","title":{"rendered":"Magento AMI Installer &#8211; User Guide"},"content":{"rendered":"\n<p>This Magento AMI walks you through using the Magento auto-installer script (setup.sh) to deploy a Magento site with Nginx, Varnish, MySQL, PHP and SSL on an AWS EC2 instance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Prerequisites<\/strong> For Magento AMI Installer<\/h3>\n\n\n\n<p>This AMI comes pre-configured with all required software and Magento source code. Before using the installer, ensure the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You launch the EC2 instance using the Magento AMI.<\/li>\n\n\n\n<li>The auto-installer script is available at: \/home\/ubuntu\/setup.sh<\/li>\n\n\n\n<li>The system pre-installs and configures Nginx, MySQL, OpenSearch, Varnish, OpenJDK 17, PHP  and the required PHP extensions.<\/li>\n\n\n\n<li>The system has already placed the Magento source code under:  \/var\/www\/html\/magento2\/<\/li>\n\n\n\n<li><strong>DNS:<\/strong> Your domain must point to the EC2 public IP (A record set)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Installation<\/strong>:<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Run the Script<\/strong><br><\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo bash setup.sh<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1300\" height=\"287\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-24-15-44-50.png\" alt=\"Screenshot-from-2026-04-24-15-44-50\" class=\"wp-image-20859\" style=\"width:820px;height:auto\"\/><\/figure>\n\n\n\n<p>The system will prompt you to enter the following inputs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Database name <\/strong>(e.g. magento_db)<\/li>\n\n\n\n<li><strong>Database user<\/strong> (e.g. magento_user)<\/li>\n\n\n\n<li><strong>Database password<\/strong><\/li>\n\n\n\n<li><strong>Domain name<\/strong><\/li>\n\n\n\n<li><strong>Email address<\/strong><\/li>\n\n\n\n<li><strong>Admin pass<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1243\" height=\"204\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-24-15-56-13.png\" alt=\"Screenshot-from-2026-04-24-15-56-13\" class=\"wp-image-20861\"\/><\/figure>\n\n\n\n<p>Additionally, the script will create the DB and user automatically if they don\u2019t exist.<\/p>\n\n\n\n<p>The script will check if the domain points to this server\u2019s public IP.<\/p>\n\n\n\n<p>If domain matches, installation proceeds.<br>If the domain doesn&#8217;t match, the system will ask you to try again.<\/p>\n\n\n\n<p><strong>Magento Installation<\/strong><\/p>\n\n\n\n<p>Once the domain check passes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Magento setup will run silently in the background.<\/li>\n\n\n\n<li>A <strong>spinner<\/strong> will indicate progress.<\/li>\n\n\n\n<li>It typically takes <strong>few minutes<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1286\" height=\"589\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-24-16-23-00.png\" alt=\"Screenshot-from-2026-04-24-16-23-00\" class=\"wp-image-20863\"\/><\/figure>\n\n\n\n<p>After completing Magento Setup it will install certbot and automatically configure Nginx.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Let&#8217;s Encrypt SSL<\/strong> will be automatically issued using Certbot.<\/li>\n\n\n\n<li>Nginx vhost will be automatically configured for port 443 &amp; 8080.<\/li>\n\n\n\n<li>After that it will fix permissions for magento.<\/li>\n\n\n\n<li>Then your site will be accessible over HTTPS.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Credentials<\/strong><\/h3>\n\n\n\n<p>At the end, the following will be saved at the mentioned directory<\/p>\n\n\n\n<p>&#8212;&#8211;>   \/home\/ubuntu\/magento_details.txt<\/p>\n\n\n\n<p>Contents include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Store URL (e.g. https:\/\/example.com)<\/li>\n\n\n\n<li>Admin URL (e.g. https:\/\/yourdomain.com\/admin_xxxxxx)<\/li>\n\n\n\n<li>Admin Username <\/li>\n\n\n\n<li>Admin Password<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1295\" height=\"176\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-24-16-23-53.png\" alt=\"Screenshot-from-2026-04-24-16-23-53\" class=\"wp-image-20864\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Example Output<\/strong><\/h3>\n\n\n\n<p>Magento 2.4.8-p4 + SSL Installed Successfully!<\/p>\n\n\n\n<p>Store URL: https:\/\/example.com<\/p>\n\n\n\n<p>Admin URL: https:\/\/example.com\/admin_xxxxxx<\/p>\n\n\n\n<p>        &#8212;&#8211;>  The 2-Factor-Authentication for admin is already disabled.<\/p>\n\n\n\n<p>Admin User: admin<\/p>\n\n\n\n<p>Admin Password: PASSWORD<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Magento AMI walks you through using the Magento auto-installer script (setup.sh) to deploy a <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":51,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Magento AMI Installer - User Guide - Cloudkul<\/title>\n<meta name=\"description\" content=\"Magento AMI Installer - User Guide provides auto-installer script to deploy Magento site with Apache, MySQL, and SSL AWS EC2 instance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento AMI Installer - User Guide - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Magento AMI Installer - User Guide provides auto-installer script to deploy Magento site with Apache, MySQL, and SSL AWS EC2 instance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-16T12:51:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-24T11:10:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-24-15-44-50.png\" \/>\n<meta name=\"author\" content=\"Anuj Mishra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/\",\"name\":\"Magento AMI Installer - User Guide - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2025-06-16T12:51:01+00:00\",\"dateModified\":\"2026-04-24T11:10:36+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/2307285643d6f14b83331c1018eddb25\"},\"description\":\"Magento AMI Installer - User Guide provides auto-installer script to deploy Magento site with Apache, MySQL, and SSL AWS EC2 instance.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magento AMI Installer &#8211; User Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/2307285643d6f14b83331c1018eddb25\",\"name\":\"Anuj Mishra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d5ae7a81d61bab1268050e7c5a16bb82?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d5ae7a81d61bab1268050e7c5a16bb82?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Anuj Mishra\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/anuj-mishra5198\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magento AMI Installer - User Guide - Cloudkul","description":"Magento AMI Installer - User Guide provides auto-installer script to deploy Magento site with Apache, MySQL, and SSL AWS EC2 instance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/","og_locale":"en_US","og_type":"article","og_title":"Magento AMI Installer - User Guide - Cloudkul","og_description":"Magento AMI Installer - User Guide provides auto-installer script to deploy Magento site with Apache, MySQL, and SSL AWS EC2 instance.","og_url":"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/","og_site_name":"Cloudkul","article_published_time":"2025-06-16T12:51:01+00:00","article_modified_time":"2026-04-24T11:10:36+00:00","og_image":[{"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2026\/04\/Screenshot-from-2026-04-24-15-44-50.png"}],"author":"Anuj Mishra","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/","url":"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/","name":"Magento AMI Installer - User Guide - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2025-06-16T12:51:01+00:00","dateModified":"2026-04-24T11:10:36+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/2307285643d6f14b83331c1018eddb25"},"description":"Magento AMI Installer - User Guide provides auto-installer script to deploy Magento site with Apache, MySQL, and SSL AWS EC2 instance.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Magento AMI Installer &#8211; User Guide"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/2307285643d6f14b83331c1018eddb25","name":"Anuj Mishra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d5ae7a81d61bab1268050e7c5a16bb82?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5ae7a81d61bab1268050e7c5a16bb82?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Anuj Mishra"},"url":"https:\/\/cloudkul.com\/blog\/author\/anuj-mishra5198\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/19994"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=19994"}],"version-history":[{"count":17,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/19994\/revisions"}],"predecessor-version":[{"id":20870,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/19994\/revisions\/20870"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=19994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=19994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=19994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}