{"id":20196,"date":"2025-06-27T11:12:19","date_gmt":"2025-06-27T11:12:19","guid":{"rendered":"https:\/\/cloudkul.com\/blog\/?p=20196"},"modified":"2025-06-27T11:19:21","modified_gmt":"2025-06-27T11:19:21","slug":"krayin-crm-ami-installer-documentation","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/","title":{"rendered":"User Guide for KrayinCRM AMI Installer"},"content":{"rendered":"\n<p><strong>KrayinCRM AMI<\/strong> allows you to quickly deploy a CRM system on an AWS EC2 instance using the built-in KrayinCRM auto-installer script (krayincrm_installer.sh).<\/p>\n\n\n\n<p>Just like our other AMIs such as the <a class=\"\" href=\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/\">Magento AMI Installer<\/a>, it comes pre-packaged with all the necessary components to simplify deployment, including Apache, MySQL, PHP, and SSL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Prerequisites For KrayinCRM AMI Installer<\/strong><\/h2>\n\n\n\n<p>This<strong> <\/strong>AMI comes pre-configured with all required software and the KrayinCRM source code. Before using the installer, ensure the following:<\/p>\n\n\n\n<ul>\n<li>You must launch the EC2 instance using the KrayinCRM AMI.<br><\/li>\n\n\n\n<li>The auto-installer script is located at:<br>\/home\/ubuntu\/krayincrm_installer.sh<br><\/li>\n\n\n\n<li>The system pre-installs and configures Apache, PHP (8.3), MySQL, and all required PHP extensions.<br><\/li>\n\n\n\n<li>The KrayinCRM source code is available under:<br>\/var\/www\/laravel-crm\/<br><\/li>\n\n\n\n<li><strong>DNS Requirement:<\/strong> Your domain should point to the EC2 instance\u2019s public IP using an <strong>A record<\/strong>.<br><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Installation Steps<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Run the Script<\/strong><\/h3>\n\n\n\n<p>Login and run KrayinCRM AMI Installer script<\/p>\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 krayincrm_installer.sh<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/ssh-and-run-command.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"516\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/ssh-and-run-command-1024x516.png\" alt=\"ssh-and-run-command of KrayinCRM AMI script installer\" class=\"wp-image-20200\" \/><\/a><\/figure>\n\n\n\n<p>The system will prompt you to enter the following inputs:<\/p>\n\n\n\n<ul>\n<li><strong>MySQL Credentials<\/strong><strong><br><\/strong>\n<ul>\n<li>Database user (e.g. krayin_user)<br><\/li>\n\n\n\n<li>Database password<br><\/li>\n\n\n\n<li>Database name (e.g. krayin_db)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/enter-database-details.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1023\" height=\"387\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/enter-database-details.png\" alt=\"enter-database-details\" class=\"wp-image-20199\" \/><\/a><\/figure>\n\n\n\n<p>The script will <strong>automatically create the MySQL database and user<\/strong> if they do not already exist.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Domain Validation<\/strong><\/h3>\n\n\n\n<ul>\n<li>Enter your domain (e.g. crm.example.com)<br><\/li>\n\n\n\n<li>The script checks if the domain correctly points to this instance\u2019s <strong>public IP<\/strong><\/li>\n<\/ul>\n\n\n\n<p>If the domain is valid, the installation will continue.<br><br>If not, you\u2019ll be asked to enter a valid domain again.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/put-correct-domain.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1001\" height=\"198\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/put-correct-domain.png\" alt=\"KrayinCRM AMI - put-correct-domain\" class=\"wp-image-20201\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: KrayinCRM Installation<\/strong><\/h3>\n\n\n\n<p>Once <strong>domain validation<\/strong> is successful, the <strong>KrayinCRM AMI Installer<\/strong> proceeds with the automated installation of KrayinCRM.<\/p>\n\n\n\n<ul>\n<li>The <strong>KrayinCRM setup script<\/strong> runs silently in the background.<br><\/li>\n\n\n\n<li>A spinner on the terminal will indicate ongoing progress.<br><\/li>\n\n\n\n<li>The installation typically completes within a few minutes.<\/li>\n<\/ul>\n\n\n\n<p>This automated process ensures a smooth and hands-free setup of your CRM system using the <strong>KrayinCRM AMI<\/strong>.<\/p>\n\n\n\n<p>For comparison, you can also check out our <a class=\"\" href=\"https:\/\/cloudkul.com\/blog\/magento-ami-installer-user-guide\/\">Magento AMI auto-installation workflow<\/a>, which follows a similar approach to streamline deployment.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/installation-progress.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"418\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/installation-progress-1024x418.png\" alt=\"KrayinCRM AMI installation progress screen\" class=\"wp-image-20202\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Apache Virtual Host &amp; SSL Path<\/strong><\/h3>\n\n\n\n<p>As part of the <strong>KrayinCRM AMI<\/strong> installation, Apache VirtualHost configuration files will be automatically created for both HTTP (port 80) and HTTPS (port 443).<\/p>\n\n\n\n<ul>\n<li>Apache will be reloaded to apply the new configurations.<strong><br><\/strong><\/li>\n\n\n\n<li>An <strong>SSL certificate will be issued and installed<\/strong> automatically using <strong>Let\u2019s Encrypt (Certbot)<\/strong>.<strong><br><\/strong><\/li>\n\n\n\n<li>Once completed, your <strong>KrayinCRM instance will be securely accessible over HTTPS<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: <\/strong>Credentials File Location<\/h3>\n\n\n\n<p>At the end of the <strong>KrayinCRM AMI<\/strong> installation, all admin credentials will be saved securely to:<br>\/home\/ubuntu\/krayincrm_admin_credentials_.txt<\/p>\n\n\n\n<p>This file will include:<\/p>\n\n\n\n<ul>\n<li>KrayinCRM Admin Username<\/li>\n\n\n\n<li>KrayinCRM Admin Password<\/li>\n<\/ul>\n\n\n\n<p>Be sure to download or store this file safely, as it contains sensitive login information required to access your CRM.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/Krayin-setup.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"362\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/Krayin-setup-1024x362.png\" alt=\"setup screen of KrayinCRM AMI\" class=\"wp-image-20197\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Example Output<\/strong><\/h2>\n\n\n\n<p>You have successfully installed KrayinCRM.<\/p>\n\n\n\n<p>Next, you can access your CRM at: https:\/\/crm.example.com\/<\/p>\n\n\n\n<p>Admin Login: https:\/\/crm.example.com\/admin\/login<\/p>\n\n\n\n<p>Credentials saved to: \/home\/ubuntu\/krayincrm_admin_credentials_crm.example.com.txt<\/p>\n","protected":false},"excerpt":{"rendered":"<p>KrayinCRM AMI allows you to quickly deploy a CRM system on an AWS EC2 instance <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/\">[&#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>User Guide for KrayinCRM AMI Installer<\/title>\n<meta name=\"description\" content=\"KrayinCRM AMI with PHP 8.3, MySQL 8.0, and HTTPS-ready setup in KrayinCRM AMI Installer on Ubuntu 24.04 for secure cloud deployment.\" \/>\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\/krayin-crm-ami-installer-documentation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"User Guide for KrayinCRM AMI Installer\" \/>\n<meta property=\"og:description\" content=\"KrayinCRM AMI with PHP 8.3, MySQL 8.0, and HTTPS-ready setup in KrayinCRM AMI Installer on Ubuntu 24.04 for secure cloud deployment.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-27T11:12:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-27T11:19:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/ssh-and-run-command-1024x516.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\/krayin-crm-ami-installer-documentation\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/\",\"name\":\"User Guide for KrayinCRM AMI Installer\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2025-06-27T11:12:19+00:00\",\"dateModified\":\"2025-06-27T11:19:21+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/2307285643d6f14b83331c1018eddb25\"},\"description\":\"KrayinCRM AMI with PHP 8.3, MySQL 8.0, and HTTPS-ready setup in KrayinCRM AMI Installer on Ubuntu 24.04 for secure cloud deployment.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"User Guide for KrayinCRM AMI Installer\"}]},{\"@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":"User Guide for KrayinCRM AMI Installer","description":"KrayinCRM AMI with PHP 8.3, MySQL 8.0, and HTTPS-ready setup in KrayinCRM AMI Installer on Ubuntu 24.04 for secure cloud deployment.","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\/krayin-crm-ami-installer-documentation\/","og_locale":"en_US","og_type":"article","og_title":"User Guide for KrayinCRM AMI Installer","og_description":"KrayinCRM AMI with PHP 8.3, MySQL 8.0, and HTTPS-ready setup in KrayinCRM AMI Installer on Ubuntu 24.04 for secure cloud deployment.","og_url":"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/","og_site_name":"Cloudkul","article_published_time":"2025-06-27T11:12:19+00:00","article_modified_time":"2025-06-27T11:19:21+00:00","og_image":[{"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2025\/06\/ssh-and-run-command-1024x516.png"}],"author":"Anuj Mishra","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/","url":"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/","name":"User Guide for KrayinCRM AMI Installer","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2025-06-27T11:12:19+00:00","dateModified":"2025-06-27T11:19:21+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/2307285643d6f14b83331c1018eddb25"},"description":"KrayinCRM AMI with PHP 8.3, MySQL 8.0, and HTTPS-ready setup in KrayinCRM AMI Installer on Ubuntu 24.04 for secure cloud deployment.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/krayin-crm-ami-installer-documentation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"User Guide for KrayinCRM AMI Installer"}]},{"@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\/20196"}],"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=20196"}],"version-history":[{"count":13,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/20196\/revisions"}],"predecessor-version":[{"id":20216,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/20196\/revisions\/20216"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=20196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=20196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=20196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}