Magento2 on AWS – Everything You Should Know About

September 28, 2019 / Nirav Shah

Here we are explaining all the steps you will need to take to host magento2 on AWS

<!– Begin Table of Contents –>

<script>
var allHeadings;
document.addEventListener(“DOMContentLoaded”, function(event) {
allHeadings = Array.prototype.slice.call(document.querySelectorAll(‘h1, h2, h3, h4, h5, h6’));
});
function jumpTo(title,tag){
allHeadings.forEach(function (singleHeading){
if((singleHeading.localName.toLowerCase().replace(/\u00a0/g, ‘ ‘) == tag.toLowerCase().replace(/\u00a0/g, ‘ ‘) ) && (singleHeading.innerText.toLowerCase().replace(/\u00a0/g, ‘ ‘) == title.toLowerCase().replace(/\u00a0/g, ‘ ‘) )){
singleHeading.scrollIntoView({behavior: ‘smooth’, block: ‘center’});
}
})
}
</script>

<div class=”topic-table-of-contents-container topic-table-of-contents-align-full-width” style=”position: relative; “>
<div class=”topic-table-of-contents” style=”background-color: rgb(240, 244, 248);
position:relative;
margin-bottom: 40px;
padding: 1.5rem;
border-radius:4px;
display: inline-block;
text-align: left;
width: auto; display:block;”>

<div class=”topic-table-of-contents-label” style=”color:rgb(16, 42, 67) !important; font-weight: bold;
font-size:1rem;
margin-bottom: 1rem;” >
TABLE OF CONTENTS
</div>

<div class=”topic-table-of-contents-line topic-table-of-contents-type-heading topic-table-of-contents-tag-h1″ style=””>
<p onClick=”jumpTo(‘Magento2 on AWS – Everything You Should Know About
Magento2 on AWS – Everything You Should Know About’,’H1′)” style=”color:rgb(16, 42, 67) !important; font-weight: normal;
cursor: pointer;
line-height:normal;
margin-bottom: 1rem !important;
font-size: 1rem;”>
<span style=”color:inherit;
border-bottom: 1px solid rgba(0,0,0,0.1);
line-height: 1.5rem;”>Magento2 on AWS – Everything You Should Know About</span>
</p>
</div>
<div class=”topic-table-of-contents-line topic-table-of-contents-type-heading topic-table-of-contents-tag-h2″ style=”margin-left: 1rem;”>
<p onClick=”jumpTo(‘Steps To Install Magento 2 On AWS EC2′,’H2’)” style=”color:rgb(16, 42, 67) !important; font-weight: normal;
cursor: pointer;
line-height:normal;
margin-bottom: 1rem !important;
font-size: 1rem;”>
<span style=”color:inherit;
border-bottom: 1px solid rgba(0,0,0,0.1);
line-height: 1.5rem;”>Steps To Install Magento 2 On AWS EC2</span>
</p>
</div>
<div class=”topic-table-of-contents-line topic-table-of-contents-type-heading topic-table-of-contents-tag-h3″ style=”margin-left: 2rem;”>
<p onClick=”jumpTo(‘Step 1 : How to create a aws account and launch ec2 instance’,’H3′)” style=”color:rgb(16, 42, 67) !important; font-weight: normal;
cursor: pointer;
line-height:normal;
margin-bottom: 1rem !important;
font-size: 1rem;”>
<span style=”color:inherit;
border-bottom: 1px solid rgba(0,0,0,0.1);
line-height: 1.5rem;”>Step 1 : How to create a aws account and launch ec2 instance</span>
</p>
</div>
<div class=”topic-table-of-contents-line topic-table-of-contents-type-heading topic-table-of-contents-tag-h3″ style=”margin-left: 2rem;”>
<p onClick=”jumpTo(‘Step 2 : Create Your account in the Magento2 Account’,’H3′)” style=”color:rgb(16, 42, 67) !important; font-weight: normal;
cursor: pointer;
line-height:normal;
margin-bottom: 1rem !important;
font-size: 1rem;”>
<span style=”color:inherit;
border-bottom: 1px solid rgba(0,0,0,0.1);
line-height: 1.5rem;”>Step 2 : Create Your account in the Magento2 Account</span>
</p>
</div>
<div class=”topic-table-of-contents-line topic-table-of-contents-type-heading topic-table-of-contents-tag-h3″ style=”margin-left: 2rem;”>
<p onClick=”jumpTo(‘Step 3 : How to install magento2 in the ubuntu instance using aws’,’H3′)” style=”color:rgb(16, 42, 67) !important; font-weight: normal;
cursor: pointer;
line-height:normal;
margin-bottom: 1rem !important;
font-size: 1rem;”>
<span style=”color:inherit;
border-bottom: 1px solid rgba(0,0,0,0.1);
line-height: 1.5rem;”>Step 3 : How to install magento2 in the ubuntu instance using aws</span>
</p>
</div>
<div class=”topic-table-of-contents-line topic-table-of-contents-type-heading topic-table-of-contents-tag-h2″ style=”margin-left: 1rem;”>
<p onClick=”jumpTo(‘Talk to AWS Certified Consultant’,’H2′)” style=”color:rgb(16, 42, 67) !important; font-weight: normal;
cursor: pointer;
line-height:normal;
margin-bottom: 1rem !important;
font-size: 1rem;”>
<span style=”color:inherit;
border-bottom: 1px solid rgba(0,0,0,0.1);
line-height: 1.5rem;”>Talk to AWS Certified Consultant</span>
</p>
</div>
<a href=”https://www.usetopic.com/wordpress-table-of-contents” style=”color: transparent;”><div style=”position: absolute;
bottom: -28px;
background-image: url(https://www.usetopic.com/wordpress-table-of-contents-powered-by.png);
background-size: contain;
width: 134px;
height: 22px;
background-repeat: no-repeat;
right: 0;
opacity: 0.5;
color: transparent;”>Wordpress Table of Contents by Topic</div></a>
<style>

/* Alignment */
@media screen and (max-width: 600px) {
.topic-table-of-contents-align-float-left {
float: none;
margin-right: 0;
}
.topic-table-of-contents-align-float-left .topic-table-of-contents,
.topic-table-of-contents-align-left .topic-table-of-contents,
.topic-table-of-contents-align-center .topic-table-of-contents{
width: auto;
display: block;
}
}

/* General Styles */

.topic-table-of-contents-type-heading.topic-table-of-contents-line span:hover{
border-bottom: 1px solid rgba(0,0,0,0.4);
}
</style>
</div>
</div>
<!– End Table of Contents –>

<h2><b>Steps To Install Magento 2 On AWS EC2</b></h2>
&nbsp;
<h3><strong>Step 1 : How to create a aws account and launch ec2 instance</strong></h3>
Amazon Web Service is the best platform to host your web application for free

<strong style=”margin-left: 15px;”>Requirments :</strong>
<ul class=”listing” style=”margin-left: 40px; margin-bottom: 20px;”>
<li>Email ID</li>
<li>Secure Password</li>
<li>Debit Card / Credit Card (Note amazon will not deduct money from your account without your achknowledgment )</li>
</ul>
To create a Amazon Web Service Account go to <a style=”color: #0b5f9e;” href=”https://aws.amazon.com” target=”_blank” rel=”noopener”>https://aws.amazon.com</a>

&nbsp;

<img class=”alignnone wp-image-4537 size-full” src=”https://www.eternalsoftsolutions.com/blog/wp-content/uploads/2019/09/1-1.webp” alt=”” width=”1360″ height=”768″ />

Click on drop down “My Account”and hit “AWS Management Console”

<img class=”alignnone wp-image-4536 size-full” src=”https://www.eternalsoftsolutions.com/blog/wp-content/uploads/2019/09/2-1.webp” alt=”AWS management console account” width=”1360″ height=”768″ />

&nbsp;

Click on “Create a new AWS Account”

<img class=”alignnone wp-image-4535 size-full” src=”https://www.eternalsoftsolutions.com/blog/wp-content/uploads/2019/09/3-1.webp” alt=”Aws new account creation page” width=”1360″ height=”768″ />

&nbsp;

By on “Create a new AWS Account” you will be redirected to a Sign In Console

<strong style=”margin-left: 15px;”>Fields will be :</strong>
<ul class=”listing” style=”margin-left: 40px; margin-bottom: 20px;”>
<li>Email ID</li>
<li>Password</li>
<li>Confirm Password</li>
<li>AWS Account Name</li>
</ul>
Fill the field accordingly

Click on continue

Please fill the Card Detais 1RS will be deducted fom your account which will be refunded you in 2 to 3 working days

<img class=”alignnone wp-image-4534 size-full” src=”https://www.eternalsoftsolutions.com/blog/wp-content/uploads/2019/09/4-1.webp” alt=”AWS new account create details” width=”1360″ height=”768″ />

&nbsp;

Your account is created and can login in your AWS account

<img class=”alignnone wp-image-4533 size-full” src=”https://www.eternalsoftsolutions.com/blog/wp-content/uploads/2019/09/5-1.webp” alt=”AWS management console dashboard” width=”1360″ height=”768″ />

&nbsp;

Now, Please follow the steps guided in the below link to launch EC2 instance

<a style=”color: #0b5f9e;” href=”https://www.eternalsoftsolutions.com/blog/launch-aws-ec2-instance-for-free/” target=”_blank” rel=”noopener”>https://www.eternalsoftsolutions.com/blog/launch-aws-ec2-instance-for-free/</a>
<h3><strong>Step 2 : Create Your account in the Magento2 Account</strong></h3>
Please register a new user in magento2 website as you will need the Public Key &amp; Pricvate Key for further installation proccess

<a style=”color: #0b5f9e;” href=”https://account.magento.com/customer/account/create/” target=”_blank” rel=”noopener”>https://account.magento.com/customer/account/create/</a>

<strong style=”margin-left: 15px;”>Required Information :</strong>
<ul class=”listing” style=”margin-left: 40px; margin-bottom: 20px;”>
<li>First Name</li>
<li>Last Name</li>
<li>E-Mail Address</li>
<li>Country</li>
<li>My Company Primarily</li>
<li>My Role</li>
</ul>
<img class=”alignnone wp-image-4532 size-full” src=”https://www.eternalsoftsolutions.com/blog/wp-content/uploads/2019/09/6-1.webp” alt=”Magento login page” width=”1360″ height=”768″ />

&nbsp;

Hit Submit
<h3><strong>Step 3 : How to install magento2 in the ubuntu instance using aws</strong></h3>
Please follow the steps guided in the below link to install magento2 in the ubuntu18.04 instance with PHP 7.1 and MariaDB

<a style=”color: #0b5f9e;” href=”https://www.eternalsoftsolutions.com/blog/install-magento-2-using-composer-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-1-support/” target=”_blank” rel=”noopener”>https://www.eternalsoftsolutions.com/blog/install-magento-2-using-composer-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-1-support/</a>

<b>Related</b><span style=”font-weight: 400; color: #0b5f9e;”>:</span><a href=”https://www.eternalsoftsolutions.com/blog/magento-on-aws-ultimate-guide/” target=”_blank” rel=”noopener”><span style=”font-weight: 400;”> Magento On Amazon Web Services: Ultimate Guide</span></a>

<a href=”https://www.eternalsoftsolutions.com/aws-services/hire-aws-developer.php” target=”_blank” rel=”noopener”><button class=”button-40″ role=”button”>Hire AWS Developer</button></a>

<style type=”text/css”>
ul.listing li {<br /> list-style-type: disc !important;<br /> }<br /> ul.listing-new li {<br /> list-style-type: disc !important;<br /> }<br /> .blog-portion-one ul li.list-none {<br /> list-style-type: none !important;<br /> list-style: none !important;<br /> }<br />.blog-portion-one ul li {<br /> list-style: outside none none;<br /> margin-bottom: 10px;<br /> list-style-type: disc;<br />}<br />.listing img {<br /> width:100%;<br />}<br />ul.awsul li {<br /> list-style-type: square !important;<br /> margin-left: 40px;<br />}</p>
<p>code, pre {<br /> overflow: auto;<br /> white-space: pre;<br /> display: block;<br /> padding: 1.5rem;<br /> position: relative;<br /> font-size: 15px;<br /> line-height: 1.82857143;<br /> color: #333;<br /> word-wrap: normal;<br /> background-color: #f5f5f5;<br /> border: 1px solid #ccc;<br /> border-radius: 4px;<br /> overflow-x: auto;<br /> overflow-y: auto;<br /> margin-top: 20px;<br /> margin-bottom: 20px;<br /> word-break: break-all;<br /> margin: 0 0 10px;<br />}<br /></style>

Talk to AWS Certified Consultant

    Spread Love By Sharing:

    Let’s Talk About Your Needed AWS Infrastructure Management Services

    Have queries about your project idea or concept? Please drop in your project details to discuss with our AWS Global Cloud Infrastructure service specialists and consultants.

    • Swift Hiring and Onboarding
    • Experienced and Trained AWS Team
    • Quality Consulting and Programming
    Let’s Connect and Discuss Your Project