Skip to main content

Serverpilot : Easiest way to Setup | Manage | Secure your PHP Website with Amazon Cloud EC2 Servers


ServerPilot is the easiest way to run PHP applications such as Laravel, Yii, Coordinator, Magento, WordPress on Amazon EC2 servers to keep your server secure.

If you're not a sysadmin, you should use a developer-friendly environment with ServerPilot.
1st Setup EC2 Instance.
2nd Connect EC2 Server to ServerPilot


Setup EC2 Instance


Log in to the AWS Management Console. Once logged in, click on EC2.
Then click Instances in the left menu and then click Instance Launch button. The instance creation tool starts.
Now, select Ubuntu Server 16.04 LTS 64-bit or Ubuntu Server 18.04 LTS 64-bit as your Amazon Machine Image (AMI).

After Select AMI Please check My blog in 2nd point Configure your instance from Step 2 to Step 6. Click Here......

Configure the Security Group

You can see the name of the security group for your instance in the instance details screenshot above (in this case, it's "launch-wizard-1").

By default, Amazon blocks ports 80 (HTTP) and 443 (HTTPS). If you don't perform the following steps, your apps won't work.

Then, click on the Inbound tab to see the firewall rules for your server. As you can see below, the default firewall for EC2 servers allows only port 22 (SSH). 

Wow, EC2 is complicated. Thankfully, your server's now ready for ServerPilot.



Connect EC2 Server to ServerPilot

You just need your server's IP address so you can SSH into it.

Now, SSH into your server as the user ubuntu. The ubuntu user has full sudo privileges and was created by EC2. The SSH key you chose when creating your EC2 server will be able to log in as this user.
Once you're able to SSH in, you'll need to manually connect your server to ServerPilot.

Next, Log in to in ServerPilot, go to the Servers page and click Connect Server.

Place a check mark in the box next to I don't have a root password or public IP address.

In the new fields, enter the name for the server you're connecting to ServerPilot. 

 

If you would like to use passwords rather than SSH keys to upload files to your apps over SFTP, do notremove the check mark from the second box. Leave this checked, and ServerPilot will automatically enable SSH password authentication on your server.

Click Connect to ServerPilot. 

Then, show you a unique command to run on your server. This command will install the ServerPilot agent in EC2

 

 

Log in to your server through SSH with the root user. Copy the command and paste it into the terminal. Once the installation is complete, your server will show as connected in ServerPilot, and you'll be prompted to create your first app.

Once the installation is complete, your server will show as connected in ServerPilot, and you'll be prompted to create your first app.

ServerPilot configures Nginx as the public-facing web server because it is much more scalable than Apache. Unlike Apache, Nginx can handle handle tens of thousands of simultaneous client connections. As Nginx waits until it has completely received the request before proxying the request through to Apache, your server is safe from Slowloris attacks. For your SSL-enabled apps, Nginx also provides extremely efficient SSL handling and HTTP/2 support.

Thanks for being here : Contact with us if any query

Please comment below for get more information.


Comments

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. Very nice blog and articles. I am realy very happy to visit your blog. Now I am found which I actually want. I check your blog everyday and try to learn something from your blog. Thank you and waiting for your new post. Website price

    ReplyDelete
  7. Thank you for the valuable information. I’ve bookmarked for future reference.
    Reference: https://proweb365.com/website-design/

    ReplyDelete
  8. Since the modern online users are big time conscious about their needs and requirements. Only a single visit to a website is enough for the online visitors of today to decide whether they are again going to come back for meeting their ends. In such a stiff competition, imagine how amateur websites struggle with the professionally designed websites. Here the best Web Design Toronto company can lessen down your struggle to large extent by employing professional approach to your online venture.

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Speedup your WordPress site with Amazon CloudFront.

Introduction A WordPress performance is quite excellent . The number of WordPress plugins to handle performance is such evidence. But the easiest way to improve your user experience is to accelerate the entire WordPress website using CloudFront. This will help you not only improve site response time reduces the necessary infrastructure, reducing the load on the Web server, so you can reduce the total cost of the infrastructure works WordPress. CloudFront is actually a site can greatly help your site to respond to unexpected load when gained popularity. Today this post is to clarify the method of providing a reasonable standard configuration on the WordPress website or blog. How does CloudFront help? Amazon CloudFront is to improve the user's experience accessing the Web site in several ways: 1.  Anycast DNS is to ensure that customers are routed to the nearest edge location. 2.  The cached content is available to users at the edge positi...

YouTube channels data migration in new google account

Introduction : YouTube all data (Channels, Videos, Likes, subscribes) migration from one google account to another google account. Please follow below steps to migration YouTube data. For example your source email id is source@gmail.com  and target email id is target@gmail.com . We need to move all source@gmail.com ’s YouTube data to target@gmail.com . Step 1 . Login in source@gmail.com  account and open YouTube settings Step 2 .   Now that you have to create a Brand Account, For that See all my channels or create a new channel   ( Note :- If you haven’t any Channel so click on Create a new channel   Then back on setting and follow Setp 2. ) After Click on Create a new channel . You will be move on for create new Brand Account.   Step 3.  You have to add your Brand Account name here. Step 4.  Open YouTube setting for source@gmail.com     and click the Advanced   Step 5 . Now you need to move your YouTube all data in new created...