Iot

Blog

banner border

Many of us have our own websites (to showcase our skills or just to test our skills) or small hobby websites. In this article, I will show you how to host a website using AWS cloud platform.

Overview of WordPress :

WordPress is a free, open-source content management system (CMS) that allows you to create and manage websites easily.

Overview of AWS:

Amazon Web Services (AWS) is the leading cloud computing platform, providing a vast array of cloud services that enable businesses, developers, and governments to build, deploy, and scale applications efficiently and cost-effectively. In this blog post, we’ll explore what AWS is, its core services, key benefits, and why it has become the preferred choice for organizations worldwide.

Steps to Create an Amazon Web Services (AWS) Account:

The first step this article create AWS account-

After creating your account, log in to the AWS Management Console.

How to set up ec2 instance step by step: 

After login your Amazon Web Services (AWS) account then launch the EC2 instance.

For your first instance, we recommend a low-cost, general-purpose instance type—t3.micro—and Amazon Machine Image (AMI)—Amazon Linux 2 AMI—which are both free-tier eligible. Open the Amazon EC2 dashboard and choose “Launch Instance” to create your virtual machine.

After that Connect to your instance:

  1. Select the EC2 instance that you created and choose “Connect.“
  2. Connected to your instance.
  3. Log in to your EC2 instance using SSH.
  4. Install the required dependencies. …
  5. Restart Apache or nginx ..
  6. Navigate to the Apache or nginx document root at /var/www/html. …
  7. Then configure Apache or nginx at /etc/nginx/conf.d/(filename. conf) this path
  8. Create a phpMyAdmin folder and extract the package 
  9. Delete the phpMyAdmin-latest-all-languages.

Terminate your instance: When you delete your instance then select the instance, and choose Instance state, Terminate instance.

RDS for MariaDB set-up:

So, now set RDS for Maria DB

Open the AWS Management Console.

Create a MariaDB instance

  1. Select the Region in which you want to create the DB instance.
  2. In the Create database section, choose Create database.
  3. Now you have to select the database engine type.
  4. Then put the master user name.
  5. Select the default db instance class.
  6. Storage type – Select General Purpose SSD (gp2).
  7. You can set the 20 GiB allocated storage for your database. You can scale up to a maximum of 64 TB with Amazon RDS for MariaDB.
  8. Multi-AZ deployment -Using a Multi-AZ deployment will automatically provision and maintain a synchronous standby replica in a different Availability Zone. Note that you will have to pay for Multi-AZ deployment.

Elastic IP set-up:

  1. Click on the Elastic IPs.
  2. Click on the Allocated Elastic IP Address.
  3. Elastic IP Address setting – Default setting
  4. Click on the Allocate
  5. Select the IP-Address -> Click on the Action, then select the Associate Elastic IP Address.
  6. Associate Elastic IP Address  ->  Choose an instance and Select the instance where you want to allocate the IP Address
  7. Click on the Associate Button

Set up a Domain:

Register a Domain: Register a domain through a registrar like Route 53, GoDaddy, or Namecheap.

Point the Domain to Your Instance: Update your domain’s DNS settings to point to your EC2 instance’s public IP address.

Conclusion:

I am using Amazon EC2 to launch and deploy a WordPress instance.
Amazon EC2 is a great choice to develop, build, and deploy a variety of applications like WordPress, websites, and blog platforms.

Contact Us

    location
    x
    location
    Schedule a
    Free Consultatiion

    If we can help in any way, please don't hesitate to set a time to meet or talk, or leave your details and we'll get back to you.

    Startups, We Shape your Ideas
    let's build location

    start here

    • Pick a date & time of your choice.
    • No obligation. Cancel anytime.