Complete Guide to Register, Host and Deploy Website on AWS

August 30, 2019

Earlier, it was a tedious and time-consuming process to create a website. Moreover, you need to take the help of custom web development companies to develop a website for you. Registering a domain, hosting a website, and configuring DNS settings were done through different companies. But, with AWS, you can easily create and maintain your website without spending much.

Why should you choose AWS?

 

You should consider hosting your WordPress website on AWS only if you are developing a website that is expected to grow in size and complexity over time. You will require a huge infrastructure for your website as it will grow. AWS can provide all the necessary services for your website to function better.

You can easily use the AWS platform by yourself or you can contact an amazon web services consultant. You just have to log in to AWS and sign in. Also you can register a domain, transfer website, and even migrate it to AWS with simple steps. 

Here in this blog, we will take you to all the steps of registering, hosting, and migrating your website on AWS. 

How to host a customized website on Amazon S3

 

1, First of all, visit  https://aws.amazon.com/ and sign in by filling the details.

2. Now login to AWS console, go to services option and search for S3. To store your files in S3, you need to create a bucket. Buckets are nothing, but the folders to save your files and you have to name them. By default, you can create up to 100 buckets. Make sure to give a unique name to your bucket. 

3. After this, you need to select a region where you want to store your data. Click next; You need to grant public access to the bucket. After this, you will be able to view the configuration of the bucket, review it, and then click on create a bucket.

4. Now you can upload your existing website to S3. Select the bucket name and look for the upload button on the top left. You can simply add the files or drag the files to the bucket. You can select your storage class and then click upload. Your files might take a couple of minutes to upload.

5. Click on the static website hosting option, and then select use this bucket to host a website. Click Save.

6. Click on the static website option again. The endpoint will appear, and by clicking on it, you can check your website.

How to register your domain on Route53?

 

Use Amazon Route 53 to register your domain on AWS. It can perform three functions.

  • Registering domain names
  • Routing Internet traffic to the resources for your domain
  • Checking the health of your resources.

Checkout the steps involved in registering your domain on AWS:

1. First of all, log in to AWS console and then go to services and look for Route 53.

2. Now click the register domain option. Choose a domain name and look for the availability. After selecting the domain name. Fill your contact details and verify and purchase that domain.

3. Once the domain is created, go to create a host zones section and click on your domain.

4. Now you need to create a recordset for routing internet traffic to your CloudFront. Before, this you need to specify a few things:

  • Type. Select A – IPv4 address;
  • Alias. Select Yes;
  • Alias Target. Enter the domain name of your CloudFront distribution;
  • Routing Policy. Leave the default value of Simple;
  • Evaluate Target Health. Select No.
  • Click Create.

Wait for a couple of minutes, and your traffic will be routed to CloudFront.

Amazon’s AWS makes creating and maintaining a website seems like a cakewalk. With this, you can effortlessly register a domain, host your website, and ensure fast load times via CloudFront.

Now, let’s talk about how to deploy a website on AWS.

Steps to deploy the website on AWS?

 

Deploying AWS on website is efficient for the small businesses since it gives your business access to cloud wherein you can store your data, that saves the time and money. Below are the steps involved in deploying the website on AWS:

  • The first step is to install WordPress on an AWS EC2 using a stack. 
  • You need to install stacks which are already configured by company Bitnami. All you need to install them to your EC2 virtual machine.

Steps to deploy the website on AWS

Launch EC2:

 

  • After creating an Amazon Web Services account, click the services at the top of the page and then search for EC2.
  • From the EC2 dashboard, click on the Launch instance to deploy a new EC2 instance.
  • Now as your EC2 has been deployed, then install WordPress.
  • For this, you need to go to the AWS marketplace and then search for WordPress and select WordPress certified by Bitnami.
  • View the details of the Bitnami WordPress page and click continue.

Choose the instance page:

 

  • Select the instance ( virtual machine) hardware t2, a micromachine, if you want to use the free tier services.

Configure instance details:

 

  • On the configure instance page, choose the Auto-assign Public IP option and leave the other fields as it is.
  • Review instance details :
  • After reviewing the details, click the Launch button.

Generate SSH Key:

 

  • A popup window will appear, Create a new SSH key pair by the following pop up window instruction. Also, download and save the key pair. 
  • Next, click the Launch Instances button.

Obtain WordPress credentials:

 

  • To login to your new WordPress installation, you need to obtain your WordPress credentials. You need to follow below steps to get them.
  • Click on the services at the top of Launch status page.
  • Now, under the compute tab, click on the EC2 link
  • After that, click on the instances link. On this page, click the Actions button, then go to settings and click on Get system Log.
  • Navigate to the bottom of the Instance Log. Search and copy your Bitnami application password.

Copy external IP:

 

  • Copy the password and exit out of the instance log and search for your public IP address and copy it.

Log in to WordPress:

 

  • In the new window, paste the Pubic IP address followed by wp-admin. You will be directed to the WordPress login page. Enter the credentials, and here it is, you have successfully logged in to WordPress.

To get started on AWS cloud and migrate your website on AWS cloud, you can watch this video to get your hands on AWS

Source-youtube

How much AWS costs?

 

The best thing about AWS is free tier. Amazon offers AWS free tier, here a couple of AWS services are offered to the customers so that they get their hands on AWS.

AWS services are not heavy on your pocket. You can rent a server for low as $5 a month.

Pay as you go: You just have to pay for the services you use.

Billing per hour: AWS charge you per hour. So, you can use more AWS services and pay as per your hourly usage.

AWS Cost

Source: Edureka

Save when you reserve: With Amazon EC2 and Amazon RDS you get an option to invest in reserved capacity. You can save up to 75% when you use reserved instances.

We hope this tutorial is helpful in registering, deploying, hosting your website on AWS. If you need any help, we @signity solutions will help you in transferring your website to the AWS cloud. We have been creating a custom web design for companies for a long time. If you are thinking to hire a developer to create a website, you have come to the right place. We offer custom web development services and effective web development solutions which will help you in creating a great website for your business.

Reema Jindal

Digital Marketing Manager at Signity Solutions
With an experience of 11 years in digital marketing, she is our "PPC star." From team handling to engaging in fun activities, she outshines everywhere.

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *


*

Get In Touch

Send us your requirements. We will get back to you with a free quote..

India

Signity Solutions Pvt. Ltd. Netsmartz House, 3rd Floor, Plot #10, Rajiv Gandhi IT Park, Chandigarh 160101 IN.

United States

Signity Solutions, 762 Green St, Suite 1-R, Iselin, NJ - 08830.

Contact Us

AU : +61-39088 0326

U.K: +44-2031295421

U.S.A : +1-619-309-4653

sales@signitysolutions.com