{"id":13966,"date":"2021-09-28T04:34:44","date_gmt":"2021-09-28T04:34:44","guid":{"rendered":"http:\/\/firstwireappdv.wpengine.com\/?p=13966"},"modified":"2023-06-12T09:44:17","modified_gmt":"2023-06-12T09:44:17","slug":"how-to-setup-magento-on-aws-amazon-web-services","status":"publish","type":"post","link":"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/","title":{"rendered":"How To Setup Magento On AWS (Amazon Web Services)"},"content":{"rendered":"<header class=\"article-header\">\n<h2 class=\"title\">How To Setup Magento On AWS (Amazon Web Services)<\/h2>\n<\/header>\n<p class=\"description\">AWS is one of the most reliable and scalable hosting services on cloud. If you have huge traffic and face special challenges during high traffic events like festivals, holidays, sales etc then you should consider migrating to AWS.Following are the steps to setup Magento on AWS.<\/p>\n<h3>1- Steps For Setup Instance On AWS Console<\/h3>\n<p>1. Go to Amazon and setup an account. Now, navigate to AWS Management console.<\/p>\n<p>2. Select EC2. Don\u2019t worry if you can\u2019t see it. Search it in Find Services and you will get it. Click on it.<\/p>\n<p>3. Click on Launch Instance. Select a machine with default operating system (OS), such as Linux, Ubuntu, or Windows etc.<\/p>\n<p>4. Select the Ubuntu server. Most developers tend to use Linux operating system to carry out their tasks, therefore I prefer Ubuntu. If you are a Windows user, and you want to select a Windows operating system, you are more welcome to do so. The configuration is almost identical.<\/p>\n<p>According to the official Magento 2 system requirements you need at least 2G of RAM. However, I consider and advise to have 4GB RAM. Just to be on safe side, if you want to debug or execute a block of code, you probably won\u2019t want to exhaust your RAM . Therefore, you must:<\/p>\n<p>Select Type t2 medium<\/p>\n<p>5. Click on Configure Instance Details. You can configure your machine (i.e. instance). Since, there is nothing much to do, proceed ahead with add storage.<\/p>\n<p>Now, the system will ask you to add storage. By default, the storage size is enough, but if you want to increase, then just increase the size.<\/p>\n<p>Once you complete the process, it time to click on Add Tags.<br \/>\nFor now, we don\u2019t need any tags, therefore, click on configure security group button. This is important.<\/p>\n<p>6. Now, you can add rules about which people from across the globe will access your server. Do they have to follow a protocol to reach to a server? For now, I am making my server accessible to all traffic. Later, we can put security rules. Navigate to Type and select All traffic. In the source, click anywhere.<\/p>\n<p>7. Click review and launch. Then you will have the opportunity to review your configuration again. Click Launch.<\/p>\n<p>8. You might be wondering what is a key pair? In simple words, its a key which lets you connect to your server machine securely. It consists of a public key that AWS stores, and a private key file that you store. Together, they allow you to connect to your instance securely. For Windows AMIs, you must use the private key file to obtain the login password for your instance. For Linux AMIs, the private key file allows you to login to your instance with active SSH.<\/p>\n<p>Download the key pair and keep it secure, as without it, you won\u2019t be able to access your server. Now click on launch instance.<\/p>\n<p>A new screen will open up.<\/p>\n<p>9. Click View Instance. In status check, you can see that it\u2019s initializing<br \/>\nIgnore the old server. You might not see the name of your server. Now, navigate to the empty space and you will notice a pencil write icon. Click on it and name your server. You must wait for a while and then refresh the screen. Check your system status<\/p>\n<p>Now, you must connect to your server. Before, you do that make sure you have git installed, because we will use it to connect to our server. Now, select your new server<\/p>\n<p>10. Click Connect.<\/p>\n<p>Now that you know about how to connect to your new server, we will opt the easy way. Remember the key pair you downloaded earlier? Navigate to that folder. Assuming, you have git installed, right click in empty space and select git bash here option. Now copy the line, I underline just below the example which starts with ssh -I&#8230;..<\/p>\n<p>Press Enter. You will get a question: Are you sure you want to connect? Enter yes. Congrats, now you are on your server. But we must fulfill the requirement to make Magento work. Therefore, it is time to set up a PHP environment. Next, we will run a few commands on git to install the prerequisite tools.<\/p>\n<h3>2- How To Install Magento On AWS (Amazon Web Services) Server Ubuntu Through Putty Or Git Bash Console<\/h3>\n<p>1. ls -al (This will show all the directories on the server)<\/p>\n<p>2. sudo su (This will direct you to the home\/ubuntu directory. It means that you have logged in as a root user)<\/p>\n<p>3. apt-get update (This will update your server with the latest tools)<\/p>\n<p>4. sudo apt-get install apache2 php libapache2-mod-php mysql-server php-mysql php-dom php-simplexml php-curl php-intl php-xsl php-mbstring php-zip php-xml composer<\/p>\n<p>(This code will install Apache (a web server software), PHP (latest version, currently its 7.2) along with necessary extra tools required for Magento, and MySQL server which will serve as a database)<\/p>\n<p>Press Y if asked do you want to continue? Once the installation is complete, you must create a database.<\/p>\n<p>5. Now, install PHP gd extension<\/p>\n<p>apt-get install php7.2-gd (can vary with PHP version)<\/p>\n<p>6. Install PHP mcrypt extension<\/p>\n<p>apt-get install php7.2-mcrypt (can vary with PHP version)<\/p>\n<p>7. sudo a2enmod rewrite<\/p>\n<p>8. Now Restart the Apache:<\/p>\n<p>systemctl restart apache2<\/p>\n<p>9. And then navigate<\/p>\n<p>cd \/etc\/apache2\/<\/p>\n<p>10. sudo nano apache2.conf<\/p>\n<p>Press ctrl+w and search indexes<br \/>\nReplace \u2018None\u2019 word with \u2018all\u2019<br \/>\nPress ctrl+x, press y and hit Enter<\/p>\n<p>11. Again Restart the Apache services<\/p>\n<p>systemctl restart apache2.service<\/p>\n<p>12. Now go to the public root directory and clone Magento 2 from Github<\/p>\n<p>cd \/var\/www\/html<br \/>\ngit clone&nbsp;<a href=\"https:\/\/github.com\/Magento\/Magento2.git\">https:\/\/github.com\/Magento\/Magento2.git<\/a><br \/>\ncd Magento2<\/p>\n<p>13. Now just install composer<\/p>\n<p>composer install<br \/>\n(If you come across an error)<\/p>\n<p>14. To resolve it, run these commands:<br \/>\napt-get install php7.2-bcmath<br \/>\ncomposer install<\/p>\n<p>15. Now if the composer is still not getting installed , run<\/p>\n<p>sudo apt-get install php-soap<br \/>\ncomposer install<\/p>\n<p>16. Now you have to change the permissions of the folder so that Magento setup can installed required files: chmod -R 755 \/var\/www\/html\/Magento2\/<br \/>\nchmod -R 777 \/var\/www\/html\/Magento2\/var\/<br \/>\nchmod -R 777 \/var\/www\/html\/Magento2\/pub\/<br \/>\nchmod -R 777 \/var\/www\/html\/Magento2\/app\/etc<br \/>\nchmod -R 777 \/var\/www\/html\/Magento2\/generated<\/p>\n<p>17. sudo service apache2 restart<\/p>\n<p>18. Setup Database mysql -u root -p<br \/>\nIt will ask you a password. By default it\u2019s none, so just press Enter. Now you are in MySQL terminal<br \/>\nshow databases;<br \/>\ncreate database magento;<br \/>\nshow databases;<br \/>\nexit;<\/p>\n<p>19. Copy and paste it your browser like xx.xxx.xxx.xx\/Magento2\/setup<\/p>\n<p>20. To install phpmyadmin<br \/>\n1. sudo apt update<br \/>\n2. sudo apt install phpmyadmin php-mbstring php-gettext<br \/>\n3. The installation process adds the phpMyAdmin Apache configuration file into the \/etc\/apache2\/conf-enabled\/ directory, where it is read automatically. The only thing you need to do is explicitly enable the mbstring PHP extension, which you can do by typing:<br \/>\nsudo phpenmod mbstring<br \/>\nsudo systemctl restart apache2<\/p>\n<p>21. Configuring Password Access for the MySQL Root Account<br \/>\nsudo mysql<br \/>\nSELECT user,authentication_string,plugin,host FROM mysql.user;<br \/>\nCREATE USER &#8216;james&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;james@999&#8217;;<br \/>\nGRANT ALL PRIVILEGES ON *.* TO &#8216;james&#8217;@&#8217;localhost&#8217; WITH GRANT OPTION;<\/p>\n<p>22. Upgrade phpmyadmin to latest version<\/p>\n<h4>Back Up PhpMyAdmin<\/h4>\n<p>1. You should back up your current phpMyAdmin folder by renaming it.<br \/>\nsudo mv \/usr\/share\/phpmyadmin\/ \/usr\/share\/phpmyadmin.bak<\/p>\n<p>2.Create a new phpMyAdmin folder<br \/>\nsudo mkdir \/usr\/share\/phpmyadmin\/<\/p>\n<p>3. Change to directory<br \/>\ncd \/usr\/share\/phpmyadmin\/<\/p>\n<p>Download and Extract phpMyAdmin<\/p>\n<p>1. sudo wget&nbsp;<a href=\"https:\/\/files.phpmyadmin.net\/phpMyAdmin\/4.9.0.1\/phpMyAdmin-4.9.0.1-all-languages.tar.g?\">https:\/\/files.phpmyadmin.net\/phpMyAdmin\/4.9.0.1\/phpMyAdmin-4.9.0.1-all-languages.tar.g?<\/a><\/p>\n<p>2. extract<br \/>\nsudo tar xzf phpMyAdmin-4.9.0.1-all-languages.tar.gz<br \/>\nls<\/p>\n<p>3. You should see a new folder phpMyAdmin-4.9.0.1-all-languages<br \/>\nWe want to move the contents of this folder to \/usr\/share\/phpmyadmin<br \/>\nsudo mv phpMyAdmin-4.9.0.1-all-languages\/* \/usr\/share\/phpmyadmin<\/p>\n<p>4. You can now log back into phpMyAdmin and check the current version. You may also see two errors.<\/p>\n<h4>Edit Vendor_config.Php<\/h4>\n<p>1. If you are seeing an error The $cfg[\u2018TempDir\u2019] (.\/tmp\/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.<br \/>\nOpen vendor_config.php<br \/>\nsudo nano \/usr\/share\/phpmyadmin\/libraries\/vendor_config.php<\/p>\n<p>2. Press CTRL + W and search for TEMP_DIR<br \/>\nChange line to<br \/>\ndefine(&#8216;TEMP_DIR&#8217;, &#8216;\/var\/lib\/phpmyadmin\/tmp\/&#8217;);<br \/>\n( \/usr\/share\/phpmyadmin\/libraries\/vendor_config.php )<\/p>\n<p>3. Press CTRL + W and search for CONFIG_DIR<br \/>\nChange line to<br \/>\ndefine(&#8216;CONFIG_DIR&#8217;, &#8216;\/etc\/phpmyadmin\/&#8217;);<br \/>\n(\/usr\/share\/phpmyadmin\/libraries\/vendor_config.php)<br \/>\nsave file and exit. (Press CTRL + X, press Y and then press ENTER) Now log back in to phpMyAdmin and ensure the errors are gone.<\/p>\n<h4>CleanUp<\/h4>\n<p>You can now delete the tar.gz file and the empty folder.<\/p>\n<p>1. sudo rm \/usr\/share\/phpmyadmin\/phpMyAdmin-4.9.0.1-all-languages.tar.gz<\/p>\n<p>2. sudo rm -rf \/usr\/share\/phpmyadmin\/phpMyAdmin-4.9.0.1-all-languages<\/p>\n<p>3. And if you\u2019re certain your new phpMyAdmin install is working correctly you can delete the backup folder.<\/p>\n<p>sudo rm -rf \/usr\/share\/phpmyadmin.bak<\/p>\n<p>If after installing PHPMYADMIN it says not found then :<\/p>\n<p>1. sudo ln -s \/etc\/phpmyadmin\/apache.conf \/etc\/apache2\/conf-available\/phpmyadmin.conf<\/p>\n<p>2. sudo a2enconf phpmyadmin<\/p>\n<p>3. sudo service apache2 reload<\/p>\n<p>If after installing PHPMYADMIN it says not found then :<\/p>\n<p>sudo ln -s \/etc\/phpmyadmin\/apache.conf \/etc\/apache2\/conf-available\/phpmyadmin.conf<br \/>\nsudo a2enconf phpmyadmin<br \/>\nsudo service apache2 reload<\/p>\n<hr>\n<h4>Install SMTP Extension :<\/h4>\n<p>1.1 Install<br \/>\ncomposer require mageplaza\/module-core<br \/>\nphp bin\/magento setup:upgrade<br \/>\nphp bin\/magento setup:static-content:deploy<\/p>\n<p>1.2 Upgrade<br \/>\ncomposer update mageplaza\/module-core<br \/>\nphp bin\/magento setup:upgrade<br \/>\nphp bin\/magento setup:static-content:deploy<\/p>\n<p>Run compile if your store in Product mode:<br \/>\nphp bin\/magento setup:di:compile<\/p>\n<p>SMTP<br \/>\ncomposer require mageplaza\/module-smtp<br \/>\nphp bin\/magento setup:upgrade<br \/>\nphp bin\/magento setup:static-content:deploy<\/p>\n<hr>\n<h3>To Install SMTP , POSTFIX<\/h3>\n<p>1. sudo nano \/etc\/hostname<br \/>\nmail<\/p>\n<p>2. sudo nano \/etc\/hosts<br \/>\n127.0.0.1 localhost<br \/>\n127.0.1.1 mail.example.com mail<br \/>\n198.51.100.3 mail.example.com mail<\/p>\n<hr>\n<p>FQDN : mail.example.com<br \/>\nHostname : mail<\/p>\n<p>3. sudo apt-get update<\/p>\n<p>4. sudo apt-get install mailutils<\/p>\n<p>5. sudo nano \/etc\/postfix\/main.cf<\/p>\n<p>6. sudo service postfix restart<\/p>\n<p>7. sudo nano \/etc\/postfix\/main.cf<br \/>\nmyhostname = mail.example.com<br \/>\nrelayhost = [smtp.gmail.com]:587<\/p>\n<p># enable SASL authentication smtp_sasl_auth_enable = yes # disallow methods that allow anonymous authentication. smtp_sasl_security_options = noanonymous # where to find sasl_passwd smtp_sasl_password_maps = hash:\/etc\/postfix\/sasl\/sasl_passwd # Enable STARTTLS encryption smtp_use_tls = yes # where to find CA certificates smtp_tls_CAfile = \/etc\/ssl\/certs\/ca-certificates.crt<\/p>\n<p>8. sudo nano \/etc\/postfix\/sasl\/sasl_passwd<br \/>\n[smtp.gmail.com]:587 no-reply@naturalmel.com:no@999no@999<\/p>\n<p>9. sudo postmap \/etc\/postfix\/sasl\/sasl_passwd<br \/>\nor<br \/>\nsudo postmap hash:\/etc\/postfix\/sasl\/sasl_passwd<\/p>\n<p>10. sudo chown root:root \/etc\/postfix\/sasl\/sasl_passwd \/etc\/postfix\/sasl\/sasl_passwd.db<br \/>\nsudo chmod 0600 \/etc\/postfix\/sasl\/sasl_passwd \/etc\/postfix\/sasl\/sasl_passwd.db<\/p>\n<p>11. sudo postconf -e &#8216;smtp_tls_CAfile = \/etc\/ssl\/certs\/ca-certificates.crt&#8217;<br \/>\nor<br \/>\nsudo postconf -e &#8216;smtp_tls_CAfile = \/etc\/ssl\/certs\/ca-bundle.crt&#8217;<\/p>\n<p>12. sudo postfix stop<br \/>\nsudo postfix start<br \/>\nsudo postfix reload<br \/>\nsudo service postfix restart<\/p>\n<p>13. To check mail log :<br \/>\nsudo nano \/var\/log\/mail.log<\/p>\n<p>14. To check postfix is working :<br \/>\necho &#8220;This email confirms that Postfix is working for now&#8221; | mail -s &#8220;Testing Posfix&#8221; vinod@bicsl.com<\/p>\n<h4>Useful Commands<\/h4>\n<p>1. To delete files or folder<br \/>\nrm -r file_name\/folder_name<\/p>\n<hr>\n<p>2. To view folders inside any directory<br \/>\nls<\/p>\n<hr>\n<p>3. To provide rights on all files under Magento2 Directory<br \/>\ncd \/var\/www<br \/>\nsudo chmod -R 777 html*<\/p>\n<hr>\n<p>4. To uninstall or delete extensions in html<br \/>\ncd \/var\/www\/html<br \/>\nphp bin\/magento module:status<br \/>\nphp bin\/magento module:disable Cminds_Marketplace &#8211;clear-static-content<br \/>\nphp bin\/magento module:disable Cminds_Supplierfrontendproductuploader &#8211;clear-static-content<br \/>\nphp bin\/magento setup:upgrade<br \/>\ncd app\/code\/Cminds\/<br \/>\nrm -rf Marketplace<br \/>\nrm -rf Supplierfrontendproductuploader<\/p>\n<hr>\n<p>5. To clear Magento Cache<br \/>\ncd \/var\/www\/html<br \/>\nphp bin\/magento cache:clean<br \/>\nTo reindex Magento<br \/>\ncd \/var\/www\/html<br \/>\nphp bin\/magento indexer:reindex<\/p>\n<hr>\n<p>6. To know the path in server of php.ini file and to view php.ini file<br \/>\nphp &#8211;ini<br \/>\nsudo nano \/etc\/php\/7.2\/cli\/php.ini<\/p>\n<hr>\n<p>7. To zip or unzip file<br \/>\nsudo apt-get install zip unzip<br \/>\nsudo unzip photos.zip<br \/>\nsudo zip -r Magento2-30-05-2019.zip(new_file_name) Magento2(original_file_name)<\/p>\n<hr>\n<p>8. To install multivendor market place extension :<br \/>\ncd \/var\/www\/html\/app\/code\/Cminds<br \/>\nphp bin\/magento module:enable Cminds_Supplierfrontendproductuploader<br \/>\nphp bin\/magento module:enable Cminds_Marketplace<br \/>\nphp bin\/magento setup:upgrade<br \/>\nrm -rf var\/di<br \/>\nrm -rf var\/generation<br \/>\nphp bin\/magento setup:di:compile<br \/>\nphp bin\/magento setup:static-content:deploy -f<\/p>\n<hr>\n<p>9. To restart apache service :<br \/>\ncd \/<br \/>\nsudo service apache2 restart<\/p>\n<hr>\n<p>10. to save and install cron job :<br \/>\ncd \/var\/www\/html<br \/>\ncrontab -u ubuntu -e<br \/>\n(paste this content in file)<br \/>\n* * * * * \/usr\/bin\/php \/var\/www\/html\/bin\/magento cron:run | grep -v &#8220;Ran jobs by schedule&#8221; &gt;&gt;<br \/>\n\/var\/www\/html\/var\/log\/magento.cron.log<br \/>\n* * * * * \/usr\/bin\/php \/var\/www\/html\/update\/cron.php &gt;&gt; \/var\/www\/html\/var\/log\/update.cron.log<br \/>\n* * * * * \/usr\/bin\/php \/var\/www\/html\/bin\/magento setup:cron:run &gt;&gt; \/var\/www\/html\/var\/log\/setup.cron.log<br \/>\nls -al \/var\/www\/html\/var\/.setup_cronjob_status<br \/>\ncd \/var\/www\/html<br \/>\nphp bin\/magento cron:install<\/p>\n<hr>\n<p>11. to make directory or folder_name<br \/>\nmkdir folder_name<\/p>\n<hr>\n<p>13. Status of All Ports :<br \/>\nsudo ufw status<br \/>\nsudo ufw enable<br \/>\nsudo ufw disable<br \/>\nsudo ufw allow 25\/tcp<br \/>\nsudo ufw allow 465\/tcp<br \/>\nsudo ufw allow 587\/tcp<br \/>\nsudo ufw delete allow 25\/tcp<br \/>\nsudo ufw delete allow 465\/tcp<br \/>\nsudo ufw delete allow 587\/tcp<br \/>\nsudo ufw allow 25<br \/>\nsudo ufw allow 143<br \/>\nsudo ufw allow 993<br \/>\nsudo ufw allow 110<br \/>\nsudo ufw allow 995<br \/>\nTo check ports listening :<br \/>\nnetstat -l<\/p>\n<p>This article first appeared on our E-Commerce business site at&nbsp;<a href=\"https:\/\/commercecodes.com\/how-to-setup-magento-on-aws\">CommerceCodes.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How To Setup Magento On AWS (Amazon Web Services) AWS is one of the most reliable and scalable hosting services on cloud. If you have huge traffic and face special challenges during high traffic events like festivals, holidays, sales etc then you should consider migrating to AWS.Following are the steps to setup Magento on AWS. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":14527,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[82],"tags":[],"class_list":["post-13966","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Setup Magento On AWS (Amazon Web Services) - FirstWire Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Setup Magento On AWS (Amazon Web Services) - FirstWire Blog\" \/>\n<meta property=\"og:description\" content=\"How To Setup Magento On AWS (Amazon Web Services) AWS is one of the most reliable and scalable hosting services on cloud. If you have huge traffic and face special challenges during high traffic events like festivals, holidays, sales etc then you should consider migrating to AWS.Following are the steps to setup Magento on AWS. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/\" \/>\n<meta property=\"og:site_name\" content=\"FirstWire Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-28T04:34:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-12T09:44:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/newsites.consultbi.com\/blog\/wp-content\/uploads\/2021\/09\/magento_aws.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"FirstWire\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"FirstWire\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/\",\"url\":\"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/\",\"name\":\"How To Setup Magento On AWS (Amazon Web Services) - FirstWire Blog\",\"isPartOf\":{\"@id\":\"https:\/\/newsites.consultbi.com\/blog\/#website\"},\"datePublished\":\"2021-09-28T04:34:44+00:00\",\"dateModified\":\"2023-06-12T09:44:17+00:00\",\"author\":{\"@id\":\"https:\/\/newsites.consultbi.com\/blog\/#\/schema\/person\/d6be7e1dc8111e86f4ee46e8fe982e47\"},\"breadcrumb\":{\"@id\":\"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/newsites.consultbi.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Setup Magento On AWS (Amazon Web Services)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/newsites.consultbi.com\/blog\/#website\",\"url\":\"https:\/\/newsites.consultbi.com\/blog\/\",\"name\":\"FirstWire Blog\",\"description\":\"FirstWire Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/newsites.consultbi.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/newsites.consultbi.com\/blog\/#\/schema\/person\/d6be7e1dc8111e86f4ee46e8fe982e47\",\"name\":\"FirstWire\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/newsites.consultbi.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e8000d85304af65e093c7c24b5df1376ca6b0f8834ac01f35ae79c4620f7b910?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e8000d85304af65e093c7c24b5df1376ca6b0f8834ac01f35ae79c4620f7b910?s=96&d=mm&r=g\",\"caption\":\"FirstWire\"},\"sameAs\":[\"https:\/\/firstwireapp.com\/\"],\"url\":\"https:\/\/newsites.consultbi.com\/blog\/author\/firstwirebldev\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Setup Magento On AWS (Amazon Web Services) - FirstWire Blog","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:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/","og_locale":"en_US","og_type":"article","og_title":"How To Setup Magento On AWS (Amazon Web Services) - FirstWire Blog","og_description":"How To Setup Magento On AWS (Amazon Web Services) AWS is one of the most reliable and scalable hosting services on cloud. If you have huge traffic and face special challenges during high traffic events like festivals, holidays, sales etc then you should consider migrating to AWS.Following are the steps to setup Magento on AWS. [&hellip;]","og_url":"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/","og_site_name":"FirstWire Blog","article_published_time":"2021-09-28T04:34:44+00:00","article_modified_time":"2023-06-12T09:44:17+00:00","og_image":[{"width":960,"height":720,"url":"https:\/\/newsites.consultbi.com\/blog\/wp-content\/uploads\/2021\/09\/magento_aws.webp","type":"image\/webp"}],"author":"FirstWire","twitter_card":"summary_large_image","twitter_misc":{"Written by":"FirstWire","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/","url":"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/","name":"How To Setup Magento On AWS (Amazon Web Services) - FirstWire Blog","isPartOf":{"@id":"https:\/\/newsites.consultbi.com\/blog\/#website"},"datePublished":"2021-09-28T04:34:44+00:00","dateModified":"2023-06-12T09:44:17+00:00","author":{"@id":"https:\/\/newsites.consultbi.com\/blog\/#\/schema\/person\/d6be7e1dc8111e86f4ee46e8fe982e47"},"breadcrumb":{"@id":"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/newsites.consultbi.com\/blog\/how-to-setup-magento-on-aws-amazon-web-services\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/newsites.consultbi.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Setup Magento On AWS (Amazon Web Services)"}]},{"@type":"WebSite","@id":"https:\/\/newsites.consultbi.com\/blog\/#website","url":"https:\/\/newsites.consultbi.com\/blog\/","name":"FirstWire Blog","description":"FirstWire Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/newsites.consultbi.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/newsites.consultbi.com\/blog\/#\/schema\/person\/d6be7e1dc8111e86f4ee46e8fe982e47","name":"FirstWire","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/newsites.consultbi.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e8000d85304af65e093c7c24b5df1376ca6b0f8834ac01f35ae79c4620f7b910?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e8000d85304af65e093c7c24b5df1376ca6b0f8834ac01f35ae79c4620f7b910?s=96&d=mm&r=g","caption":"FirstWire"},"sameAs":["https:\/\/firstwireapp.com\/"],"url":"https:\/\/newsites.consultbi.com\/blog\/author\/firstwirebldev\/"}]}},"_links":{"self":[{"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/posts\/13966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/comments?post=13966"}],"version-history":[{"count":1,"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/posts\/13966\/revisions"}],"predecessor-version":[{"id":14528,"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/posts\/13966\/revisions\/14528"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/media\/14527"}],"wp:attachment":[{"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/media?parent=13966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/categories?post=13966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newsites.consultbi.com\/blog\/wp-json\/wp\/v2\/tags?post=13966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}