Amazon Web Services: AWS (Amazon Web Service) Free Tier is automatically activated on every new AWS account. The AWS loose Tier lasts for 365 days. even as the AWS free Tier is active, you can try many AWS services totally free. however, not all AWS services are free. you are responsible for any charges you incur while using AWS services. You ought to monitor your usage to ensure that you aren’t exceeding the restrictions covered under the Free Tier. Now we configure AWS & ZesleCp for Free Premium Hosting
ZesleCP comes with lots of features like Server Setup, domain names, e-mail accounts, SSL, Databases, file manager, and many others. All functions (AWS & ZesleCp, Server Config, Domain Management, One-click Apps, Databases Mgmt, Email Accounts, FTP Accounts, SSH Users, SSL Integration, ZesleCp File Manager, Cron Job Manager)include no-limit over-use. you can upload limitless domains, ZesleCp e-mails, databases, and so forth. Time for Free Premium Hosting using AWS & ZesleCp
Step 1: Sign up for an account with the AWS & Start Free Tier
AWS (Amazon Web Service) Free Tier offers you 12 months free, It’s a nice way to get started with AWS. sign up for an account right here. It includes 750 hours/month of Linux and windows t2.micro instances for 12 months. Do observe that if you need to stay inside the free Tier, you need to only use EC2 (Elastic Cloud Compute) Micro times. Here you have to verify your debit/credit card. just fill all details and click verify then you ready to use.
Step 2: Launch an Amazon EC2 Instance and Install Ubuntu
- Open the AWS Management Console to choose a region that is closest to you shown here. On the top, you saw Service click there and select EC2 (Elastic Cloud Compute). Here, click Launch Instance to create and configure your EC2 instance. Once you launch an EC2 instance from your preferred AMI, the instance will automatically be booted with the desired OS.
- Here we are choosing Ubuntu Server [LETEST VERSION] LTS (64-bit) AMI.
- We will choose t2.micro instance type, which is a 1vCPU and 1GB memory server offered by AWS as a free tier. Click on “Next: Configure Instance Details”
- Configure Instance: Here are you select 1 number of instances needed and keep it as it is and proceed by clicking “Next: Add Storage”
- Here 8 GB is by default. It changes max 30GB, select as per your requirement and click “Next: Tag Instance”
- create a tag to your instance and click “Next: Configure Security Group.”
- Configure Security Group: The default is “SSH” and 0.0.0.0/0. change source anywhere and here you have to add another 5 role
- SSH – source anywhere (By default Added)
- All TCP – source anywhere
- All UDP – source anywhere
- RDP – source anywhere
- HTTP – source anywhere
- HTTPS – source anywhere
- Then, click “Review and Launch” to launch your instances.
- will be prompted to create and download a private key. This key will allow you to connect to your instances with SSH. If you don’t download this, or delete it somehow, you won’t be able to connect to your cluster. If you lose it, don’t panic, but you’ll have to shut down the instances and start up new ones. Name it whatever you like, Select Create new pair key write key pair name and Download after download save this key in a safe place.
- In your Dashboard, you see your Instance is running
Step 3: Associate Elastic IP (Private IP) with Ubuntu instance
- First, go to your EC2 instances dashboard and then from the left column click on ‘Elastic IPS’ under the ‘Network & Security’ section.
- Next, click on the ‘Allocate New Address’ button to continue.
- You will be asked how do you want to use the IP address. Simply click on the Allocate button to continue.
- AWS will now create a new elastic IP for your Ubuntu EC2 instance. You will see your IP address listed in a table. Simply select the IP address row and then select ‘Associate Address’ under the ‘Actions’ button.
- On the next screen, select your Ubuntu instance from the drop-down menu and click on the Associate button.
- You will now see your Elastic IP listed in the table. Go ahead and copy the IP address and paste it into a text editor like Notepad. We will need it in the next step.
Step 4: Connecting to the Created Remote Instance using Putty
- As you’ve got downloaded the key pair (which is with .pem extension), we need to generate a private key to login to the faraway example the use of putty.
- By installing Putty, PuttyGen will also be installed. Open the PuttyGen, select “File” -> “Load private key”. It will generate a private key. Save the private key to a file by selecting “Save private key”.
- Now, open Putty, Select the “SSH” and expand under “Connection”, select “Auth” and then load the .ppk file
- Fill the Hostname field with [email protected]<your public dns> (here ubuntu is the user account). Also, you can save the session by giving it a name and clicking on “Save”.
- Click on Open, and “yes” to login to the server.
- You are logged in now.
Step 5: Installing Zesle (ZesleCp) & configure in cloud server
- Run install command — Copy-paste the following command into SSH terminal and hit Enter key.
cd /home && sudo curl -o latest -L http://release.zeslecp.com/latest && sudo sh latest
This command will change the session to the home directory, downloads the latest version of ZesleCP, and will start the installation process. Once the installation is started, it will ask for the email address. Enter any of your email address, hit enter, and wait for the 5-10 minutes for the installation to complete
- Generate NewPassword — You will see all the details in the terminal after the installation has finished. To reset your password copy-paste the following command into SSH terminal and hit Enter key.
sudo passwd root
- Open the control panel — Open control panel link, in your browser. Ex:
- Your C-Panel is ready to use the time for Free Premium Hosting – AWS & ZesleCp