Visit our Location
250 Main Street, New York
Give us a Call
+ (12) 123 - 556 - 7890
Send us a Message
Opening Hours
Mon - Friday: 8AM - 5PM

How To Install Magento On AWS

How To Install Magento On AWS

Amazon Web Services (AWS) provide a highly reliable, flexible and secure cloud computing products for millions of active customers. Being an ecommerce giant itself, Amazon understands the importance of providing the best infrastructure for ecommerce platforms.

Magento is one of the most robust ecommerce solutions that help you build your ecommerce store from scratch. With Magento, you get the widely-used ecommerce software which that can help you in quickly growing your revenue. However, having the perfect software is not the sole solution! You need to have the most optimized hosting platform with the best infrastructure to host your Magento store. Here step by guide to install magento on AWS.

Step 1. Prepare an AWS Account

1. If you don’t already have an AWS account, create one at by following the on-screen instructions. Part of the sign-up process involves receiving a phone call and entering a PIN using the phone keypad.

2. Use the region selector in the navigation bar to choose the AWS Region where you want to deploy the Magento cluster on AWS. For more information, see Regions and Availability Zones. Regions are dispersed and located in separate geographic areas. Each Region includes at least two Availability Zones that are isolated from one another but connected through low-latency links.

3. Create a key pair in your preferred region. To do this, in the navigation pane of the Amazon EC2 console, choose Key Pairs, Create Key Pair, type a name, and then choose Create.
create key pair

Amazon EC2 uses public-key cryptography to encrypt and decrypt login information. To be able to log into your instances, you must create a key pair. On Linux, we use the key pair to authenticate SSH login.

4. If necessary, request a service limit increase for the EC2 instance types that you intend to deploy. To do this, in the AWS Support Center, choose Create Case, Service Limit Increase, EC2 instances, and then complete the fields in the limit increase form.

The default limit for the number of instances depends on the instance type you choose and currently ranges from 2 to 20 (see the Amazon EC2 FAQ page). If you have existing deployments that also use this instance type, or if you plan to exceed the default with this reference deployment, you will need to request a limit increase. It might take a few days for the new service limit to become effective.

Step 2. Download the Magento Software

Before you launch the Quick Start, you must download the Magento Open Source software with or without sample data into an S3 bucket. When you launch the Quick Start, you specify the full path to the downloaded files as input to the main AWS CloudFormation template, and the Quick Start automatically installs Magento for you.

1. Download the Magento Open Source version 2.1.9 full release from the Magento Download Releases, Patches and Tools page. Choose the .tar.gz format for the download. At the time of publication, the latest full release was Magento-CE-2.1.9_sample_data-2017-09-13-03-57-21.tar.gz.

If you want to set up the sample store, download the Magento Open Source (formerly Community Edition) version 2.1.9 full release with sample data from the Magento Download Releases, Patches and Tools page. Choose the .tar.gz format for the download

3. Create an S3 bucket by following the instructions in the Amazon S3 Getting Started Guide.

4. Add the downloaded files to the S3 bucket by following the instructions in the Amazon S3 Getting Started Guide.

Note the full paths to the downloaded files. After you launch the Quick Start, when you set parameters for the AWS CloudFormation template, you’ll specify these paths.

For example, if your Amazon S3 bucket is named mymagentobucket, you’ll set the MagentoReleaseMedia parameter to:

If you’ve downloaded Magento with sample data to mymagentobucket, you’ll set the MagentoReleaseMedia parameter to:

Step 3. Launch the Quick Start

1. Choose one of the following options to launch the AWS CloudFormation template into your AWS account.

deploy magento

2. Check the region that’s displayed in the upper-right corner of the navigation bar, and change it if necessary. This is where the network infrastructure for Magento will be built.

3. On the Select Template page, keep the default setting for the template URL, and then choose Next.

4. On the Specify Details page, change the stack name if needed. Review the parameters for the template. Provide values for the parameters that require your input. For all other parameters, review the default settings and customize them as necessary. When you finish reviewing and customizing the parameters, choose Next.

5. On the Options page, you can specify tags (key-value pairs) for resources in your stack and set advanced options. When you’re done, choose Next.

6. On the Review page, review and confirm the template settings. Under Capabilities, select the check box to acknowledge that the template will create IAM resources.

7. Choose Create to deploy the stack.

8. Monitor the status of the stack. When the status is CREATE_COMPLETE,

create complete

Step 4. Test Your Magento Deployment

When the AWS CloudFormation template has successfully created the stack, all web server nodes will be running with the software installed in your AWS account. To connect to the Magento stack, use the URL of the Elastic Load Balancing endpoint.

elb endpoint

You can access the Magento Admin Panel by going to the URL endpoint followed by the admin path. You can log in with the user name and password you chose when creating the stack. Make sure to change the user name and password for subsequent logins to help ensure the security of your account.

To connect to the web server instance and validate MySQL, use SSH to connect to the bastion host instance in your VPC.

magento 1 to magento 2

How to Migrate From Magento 1 to Magento 2 : Step-by-Step Guide

magento1 to magento2
Migration to Magento 2 involves four components: data, extensions, themes, and customizations.

Looking to migrate from Magento 1 to Magento 2? Here We guide step by step that how to migrate from magento 1 to magento 2.

Magento 2.0 is the latest version of the leading eCommerce platform Magento, trusted by over 250,000 businesses across the globe. The platform is designed to empower developers with enhanced speed, out-of-the-box performance and unmatched flexibility to create an engaging & unique shopping experience for the customers. With open and flexible architecture built on advanced technologies, it supports online retailers in enhancing business productivity and increasing the rate of conversions.

Why you should move to magento 2. Here are reasons

1. Continuing support for Magento 1 doesn’t mean there will be innovation in Magento1. Therefore, for better support solutions, you must migrate to Magento 2.

2. Magento 2 is world-class commerce system. It provides better visibility into business results, improved site performance, and drive differentiated omnichannel commerce experience.

3. Magento 2 is the future. Every person will benefit from moving to Magento 2.

4. Considering the criticality, it is important to migrate to Magento 2. Most of the e-commerce shops and development agencies have already started with the migration.

Considerations before Migration

Before you migrate from Magento 1 to Magento 2, here are some important aspects to consider:
1. Know your website: Review and analyze what needs to be kept or removed from the newly installed site on Magento 2. Also, ensure if the current site theme, extensions, and code are compatible with the new version or not.

2. Make backups: Before you migrate to M2, make sure you have a full backup of your Magento 1 store and the required database, files, and folders.

3. Clone Magento 1 store: Avoid using the live store for the migration process. Migrate the data from the cloned database of the M1 store.

4. Ensure compatibility: Check if your current extensions, custom code, and themes are compatible with the Magento

Four Stages to Migrate Magento 1 to Magento 2

1. Theme Migration
2. Extension Migration
3. Customizations Migration
4. Data Migration

Theme Migration

There are new technologies and methodologies for delivering enhanced store and shopping experience to owners and users.

However, you can’t directly migrate your Magento 1 theme to Magento 2. Therefore, you have to create a new theme for Magento 2 and make it responsive to the best user experience.

You can either create a custom theme in Magento 2 or just buy and install a Magento 2 theme from Magento Marketplace.

Extension Migration

Extensions provide new features and extend the functionalities of your Magento store. Now, you need to install Magento 2 extension of your choice.

Note: Magento 1 extensions will not work on Magento 2. There are severe compatibility issues while integrating the extensions.


Mostly, the custom code used by Magento 1 store is compatible with Magento 2. There’s a Code Migration Toolkit to help you with the process. Since there is a structural difference in the two platforms, migration may require additional work to ensure the custom code works successfully with the Magento 2 store.

Data Migration

The last thing you need to do is move your Magento 1 data as well as settings to Magento 2. You can use Magento 2 Data Migration Tool for easy migration. With the help of this tool, you can migrate critical data (products, orders, categories, store settings & configurations, etc.) to Magento 2.

database migration

Here’s a step-wise guide to data migration:

4.1. Install Data Migration Tool via Composer
1. Before installing this tool, make sure the version of both – Data Migration tool and Magento 2 are exactly the same. For example, if you are using Magento v2.1.1, you must install Data Migration Tool v2.1.1.

2. Now that you know the version of your Magento 2 store, install the Data Migration Tool.
Note: Update the location of the Data Migration Tool package in the composer.json file in the Magento 2 root directory.

3. Enter your authentication keys

Go to Magento Marketplace > Sign in > Click on My Access Keys

If you already have keys, the public key is your username and the private key is your password. Else, you can create a new key pair. Click on “Create a New Access Key Button”.

4.2. Configure Data Migration Tool
After completing the installation, you will find the following directories to contain mapping and configuration files for the Data Migration Tool:

This contains configuration and scripts for migrating from Magento 1 Community Edition to Magento 2 Enterprise Edition.
Note: Before migrating any data and settings, create a config.xml file in the relevant directory.

config database


source : has Magento 1’s database information
destination : has relevant information of Magento 2
crypt_key : encryption key of Magento 1 which can be found in in tag for /app/etc/local.xml file.
Lastly, save config.xml file.

4.3. Migrate Settings

Use the Data Migration Tool to migrate from Magento 1 to Magento 2. This includes websites, stores, system configurations like tax settings, payment, shipping, etc. You should migrate setting first.

4.4. Migrate Data

To migrate products, orders, wish lists, customers, categories, ratings, etc follow this command:
php bin/magento migration:data –reset After the migration has been done, run a test to ensure proper functioning of Magento 2.

Magento 2

Magento 2 uses CSS preprocessors to let you develop themes. This is very helpful in a long run but it is challenging to make it work. Also just because it supports multiple theme inheritance, they have a very complex logic to gather the proper static files and they create a lot of symlinks. It allows you to install and upgrade core software and extensions quickly and simply with lower upgrade costs and efforts. Magento 2 includes information on versioning policies, so developers can upgrade to new version easier and Marketplace, with its accessibility in both venture and group renditions have ended up being the best stage for medium or substantial organizations to use for eCommerce counseling, index administration, CRO, PPC and SEO prerequisites are a portion of the highlights it tends to utilizing the incorporated tools in most effective way.

Magento 2 uses few advanced techniques to speed up the development and decouple the code as much as possible. The most important one is Dependency Injection. Basically in the constructor of your class you specify which objects you need and Magento 2 will give them to you. This helps a lot when creating unit tests with marketplace made a great deal of merriment around its enlargement from the principal variant.

Magento Features & Support

  • Improvement of Hosting Environment
  • Administrative Improvements
  • Improved Product Creation
  • Improved Data View and Filtering
  • Admin Navigation Improvements
  • Data Safeguards
  • Product Videos
  • Efficient extended compatibility
  • Easy Magento 2 upgrading system
  • Scalable Infrastructure
  • Improved user experience and store management
  • Simplified Checkout Process
  • Performance Improvements
  • Ajax Cart
  • Cache
  • PHP 7
  • Uses a lot of Namespaces and interfaces.
  • New concepts like Repository, UiComponent, Proxy and Plugin to the mix.

The features and specification of this magento 2.x version are more advanced than Magento 1.x. New file structure, optimized performance, improved flexibility, jQuery library and addition of new inbuilt technologies are major highlights of Magento 2. Modifying containers and blocks in Magento 2 is a cheesecake with Visual Design Editor.