This section identifies the purpose of deployment of CloudStick in Google Cloud hosting and covers the step-by-step procedures to install. The Illustration covers the creation of the GCP compute instance and configure it to deploy CloudStick.
Prerequisites
- Google Cloud Account – Please go to https://console.cloud.google.com/ and sign up with your email.
- Log on to www.cloudstick.io and signup your account
What we are going to do
- Create a Google Cloud Instance
- Deploy in CloudStick
Creating Google Cloud Compute instance from Scratch
Step1: Login to your Google Cloud account.
Step 2: Once signed up and logged in you can see the Google Cloud dashboard.
Step3: Goto Compute section on the left side menu and click on Compute Engine
Step4: Here you can create a fresh Compute instance by creating a new VM instance
We recommend you to use a region and zone that is nearest to your target users/visitors
Step 5: Once you are in the process of creating the VM instance according to your requirements,
Step 6: You will be given a choice to select the OS from the below and importantly please check Allow HTTP and HTTPS traffic. Choose OS ubuntu 16.04 /18.04 /20.04 LTS let us choose this to procure the VM instance, Screenshot shows 18.04 LTS being chosen
Step 7: Once done please go ahead and create the VM instance
Now we have to assign a static IP address for the created instance
Goto Networking >> VPC networks
Step 9: Make sure to assign a static IP for the compute instance-This is done by changing Ephemeral to Static. Reserve the static IP for the instance.
Step 10: Once you fix the static IP, the firewall needs to be configured, create a firewall rule, and make sure to open ports 22, 80, and 443.
Step 11: Once the firewall is done, we are finalizing the procurement of Compute instance.
You can log in to the Compute instance once the instance is created.
Note: You will be logging in as a non-root user by default, switch to the root user, please give the command
sudo -s
For changing the root password of the compute instance, do the following changes using commands
passwd root
New password : <enter your password>
Retype new password: < re-enter the password>
You would require this password in one of the coming steps:
Now, you would require to configure the SSH so as to have a direct installation. The steps are given below
Goto SSH configuration file
# nano /etc/ssh/sshd_config
Now, uncomment and change the line from no to yes
PermitRootLogin yes
PasswordAuthentication yes
Once done the changes, don’t forget to restart the process
#service sshd restart
Signing In to CloudStick
Our onboarding process is quite easy, Enter your email, password, and username, Confirm the email and that is it. You are onboard.
Now, sign in to the account
The landing page will be a fully functional dashboard with all the functionalities
You can connect the server using the very first option in the dashboard:
Select the provider and give the Server Name and IP address and click on Add the server
All you would require is to enter the server credentials here
Once you click on start installation, it will commence the process and your server will be provisioned within a few minutes:
Have real-time progress of the installation.
The installation closes to finish
The installation progress can be viewed and within few minutes, attains completion Your server is ready to manage from the CloudStick dashboard.
In case of any errors encountered in any of the above steps, please contact @Support We are 24/7/365