PickBazar React Documentation
WelcomeHow It WorksInstallation
Features
Available ScriptsCustomizationStyles and Assets
Back-End Integration
Deployment
AWSHow to create ec2 server?Domain SetupLogin to ServerVirtual Private Server (Automated Script)VercelVirtual Private Server (Manual)
Settings
TranslationNew PageFAQSupportVersions

AWS (Amazon Web Service)

If you want to use all the scripts (shop, admin, api) on the same server as this tutorial, then we recommend creating a blank ubuntu-based server with at least 2+ CPU cores and 2GB+ memory.

How to create ec2 server?

In this AWS tutorial, we're going to create an ec2 server. To do that at first, login to your AWS account and then click,

ec2 -> Instance -> Launch Instance

1_ec2

2_launchInstance

Then select a ubuntu 20.04 server

After that, click Next -> Next -> Next -> Next

And on security pages, add a rule for HTTP,

21_Security

After review, click Launch, and you'll get and popup for KeyPair, which will be required to login to the server using ssh.

If you already have a previous KeyPair, you can use that; otherwise, you can create a new one. After completing that, make sure you download that KeyPair.

4_KeyPair

After launching the instance, you'll get the server IP, which will be required to login into ssh.

5_ServerIP

Domain Setup

Now copy the server IP and connect it with your domain name.

5_ServerIP

Please contact your domain provider for detailed explanation of how to do that.

Login to Server

At first, login to your AWS server using ssh. to do that, go to the folder from the terminal where KeyPair is downloaded.

then click Connect

8_Connect

From the Connect dashboard, go to SSH Client and copy the example line and paste it to your terminal.

9_Copy.jpg

With this command, you will successfully connect to your server throw ssh.

Change permission .pem

You've to change the permission downloaded .pem file to 400 to access the server. To do that, at first go to the location where .pem store then run,

chmod 400 pickbazar.pem

Change the pickbazar.pem filename if you use a different name during generate the key.

Now go to the VPS Server section for deploy the Pickbazar Laravel

VPS Server