How to setup a wordpress website on AWS EC2 within few minutes

Image
"Learn, Learn and Learn"

Here we are going to discuss how can we setup our own WordPress website in our amazon EC2 within few minutes. There are several platforms which gives you the option to pay for their services and have a WordPress site. Then you can build whatever you need to do. But today we will discuss how to build our own server, install WordPress and setup the rest.

What is the benefits of choosing AWS to setup WordPress ?

Because you don't need to pay for services which other platforms provides. In AWS, you are the owner of your server and you are the person who install and setup your installation. So no monthly charges for anonymous companies . Only pay is for as you go. From this article we will learn how to setup our own WordPress site. In AWS also there are options to use pre-installed WordPress and make our site.  But here we will discuss how to do it without using pre-installations.

Follow the steps as below. 

1) First we need to create a AWS EC2 instance.…

Why i can't ping to my AWS EC2 Instances ?

This short article delivers you an answer for one of the questions came to me from my blog users.

Why i can't ping to my newly created EC2 instance ? Did i miss something when creating ? Do i need to do anything to make it work ?

Yes. There's a way to make this as fix. This ping is disabled by default from the security group in AWS. Its under EC2 dashboard.

What is a security group ?

A security group is a virtual firewall for your instance. It controls the traffic that comes to your instance. You can allow or deny any kind of traffic which comes to the instance or going out from the instance. When creating the instance we can create our own security group or can be used the default security group and can change the type of traffic as your need by adding rules. Any change done to the security group will affect for it's instances at a glance.

So why i can't ping to my instances ?

It's because ping is blocked my default. We have to enable it. Normally we know what happens when we ping to a server. We send ICMP packets to the host and the destination sends back a reply. So, here we have to enable ICMP packets from the security group.

1) First go to the security group.



I have created a new security group and it's name is "my-security-group". Currently only ssh is enabled to my instance.

2) Add a new rule in Inbound

Select Custom ICMP Rule-IPv4


Select Echo Request


Select Anywhere or Your IP as the Source. Click save.


Finally,


Now you should be able to ping to your EC2 instance.


Cheers!...


Comments

Popular posts from this blog

Different types of users in linux

NFS Server and Client Installation with Configurations.