Recent Posts

Detailed Insight on Ways to Connect Your Android App With Google Cloud

By Cloud Techie → Saturday, 19 July 2014
Android, a popular Linux-based operating system was released by Google and is primarily used in a variety of touchscreen devices. With a huge community of designers and developers backing the Android Operating system, you can rest assured about development of fantastic mobile apps that are both eye-catchy and fully-functional. Android has by far become one of the most popular operating systems used by mobile app developers residing in different corners of the globe. If you're an avid Android lover, you can easily benefit from the power of cloud computing by connecting your apps with a cloud architecture. Keep on reading this post to learn more about the ways to connect your Android apps with cloud.

Android cloud integration

Powerful APIs aid in building rich cloud-enabled applications

Android framework comes equipped with powerful APIs that can be used for building rich cloud-enabled apps. These apps allow Android users to sync their data to a remote web service, ensuring that all your Android devices remain sync and your valuable data is backed up to the cloud. Most of the popular Android developers like Pulse have been building and hosting their apps backends on the Google Cloud Platform.

And now, some easy-to-follow ways of connecting Android apps with cloud

1. Using Google App Engine

android compute engine

Google App Engine is a tool that is mostly considered by every reliable service and lets you run your back-end applications on Google's infrastructure. The best part of using Google App Engine is that you need not maintain any servers for running your Android apps on a cloud architecture. You can choose to add an App Engine backend to your Android app via three popular App Engine backend module templates as explained below:

App Engine Java Servlet Module- This template provides a simple App Engine Java backend servlet along with minimum coding

App Engine Java Endpoints Module- This template includes automated object marshalling/unmarshalling and lets you generate
Java client libraries.

App Engine Back-end with Google Cloud Messaging- This includes both Google Cloud Endpoints and Google Cloud Messaging integration that enables Android users to enjoy features such as push notifications.

On choosing any one of the aforementioned template types, a new Gradle module along with the specified module gets added to the project that contains the new App Engine backend. After this, all the required dependencies will be automatically set up and you'll be able to run it locally via selection of the run configuration with your backend's module name.

2. Using the built-in rich editing support for Google Cloud Endpoints

connecting android app with google cloud

After adding the back-end module to your Android application, you can opt for using Google Cloud Endpoints in order to streamline the communication between the Android app and back-end. As said before, the Cloud Endpoints automatically generate client libraries and automate Java object marshalling to and from JSON. Here's an example of how “App Engine Java Endpoints Module” contains a simple annotated Endpoints API at /src/main/java// file as displayed below:-

import javax.inject.Named;
@Api(name = "myApi",
version = "v1",
namespace = @ApiNamespace(ownerDomain = "",
ownerName = "",
public class MyEndpoint {
@ApiMethod(name = "sayHi")
public MyBean sayHi(@Named("name") String name) {
MyBean response = new MyBean();
response.setData("Hi, " + name);
return response;
Upon deployment, the annotated Endpoints API definition class will generate a RESTful API which can further be explored by navigating to the Endpoints API explorer as displayed in the screen-shot below:

android cloud api

As an approach you can opt to hire Android App Developer to simplify the process of calling the generated API from your Android app, Android Studio will automatically set up the project to include all compile dependencies and permissions. In addition to this, Android Studio will also re-generate client libraries if the backend is changed in any manner. To put in more simple words, you can start calling the client libraries from your Android app immediately after defining the server-side Endpoints API.

Wrapping Up

So, these were the ways using which you can easily connect your Android apps with a cloud architecture. I'm sure after learning about these amazing approaches, it'd have become quite feasible for you to go ahead with Android app integration with the Google Cloud. Deploying your Android app on a cloud is something that will render you complete flexibility of accessing all your stuff irrespective of where you are.

Do share your views/opinions on the above post. For this, you may use the comments box provided below.



Victoria Brinsley is a tech savvy content writer associated with one of the reputed Android App Development Services – Appsted Ltd. You can avail Android Application Developer for hire by getting her best consultation.

How To Create and Connect Google Compute Engine VM Instances

By Cloud Techie → Wednesday, 16 July 2014
Like other IaaS providers google compute engine does not have a free trial. If you want to explore google compute engine, you can use the coupon codes provided by other companies. When you apply those coupon codes you will get credits to use compute engine.

In this tutorial I will explain how to create virtual machine on compute engine and how to connect it from windows and linux machines.

Getting started:

          1. Login to
          2. Select the project you created.
          3. Click VM instances option under compute compute engine

           4. Click create an instance option

              5. You will see a list of options.

options Description
Name Any user defined name
Metadata tags for your instance
Https and https It you want to allow traffic to your instance from port 80 and 8080, check the two http and https option
Zone select a zone nearest to your geographical area.
Machine type Slect a VM type for your requirements. In this tutorial I am going to select a VM with 1.7 gig of RAM.
Boot Disk leave that option to create a new one. You can choose the existing boot disk after creating you first VM
Image OS flavor of your choice. I am selecting RHEL .
Disk type there are two disk types. 1) standard with normal performance 2) SSD – better performance than the standard persistent disk.
Network leave it to default , since we are not going to create any virtual network
External Ip : If you want a static IP address for your VM , select static IP, or else select ephemeral, which will change after every shutdown and boot.

Once you filled up the above options click create.

You can see the activities when your VM is getting created.

7.Once you VM is created , you can see it in the dashboard.

No you have your instance in place. Next step is to connect to the instance. You won’t be able to connect to instances directly with ssh keys or password like you do in AWS and azure. First you need to create the ssh key using the google cloud SDK.

How to connect to Compute engine Virtual machine:

1. Download and install cloud SDK(gcutil)

2. Authenticate your machine with compute engine.

3. Create ssh key

4. Connect to VM from gcutil or other ssh clients like putty.

I have explained all the above steps below.


1.Download the sdk installer from here

2.Install it by clicking run

3.SDK needs python installation in your system, if your system does not have python installed, it will ask for installing python during SDK installation. Install python and then proceed to python installation.

4.Once the installation is complete , google cloud SDK shell will open.

5.Execute the following command in the shell
gcloud auth login will take you to the authentication page in the browser. Accept the authentication and you r machine will be authenticated to your google computer services.

8.Now you have to configure you project with the SDK using the following command. You can get the project id from the compute console.
gcloud config set project 

9.You once configured your project , you can list the instances in that project using the following command,
gcutil listinstances 

Connecting to your instance

1.You need a ssh key pair to connect to your instance. This key can be created using gcutil. The key will be save in your systems .ssh folder. If there is no .ssh folder create one in your %HOMEPATH%

2.Run the following command to create a ssh key.
gcutil ssh 
Use your instance name in place of instance-name. In my case it is comtechies. When you execute the command it will ask for a passphrase. Enter any passphrase and create the key. Remember the passphrase because it will be needed to login to the machine.

3.Use the following command to ssh in to the machine
gcutil ssh comtechies
It will ask for the passphrase you created. Type in the passphrase and login to the account. By default you will have all the root privileges to run commands in the VM.

4.You can also connect the VM using ssh client like putty using the .ppk key generated in you .ssh folder.

9 Key Factors to Search a Reliable Cloud Web Hosting Company

By Cloud Techie → Sunday, 6 July 2014
To Run a successful website, blog or business, it is really important to have a reliable web hosting provider. There are many measures of web hosting services and providers, because of the popularity of this hosting business inspires many to deploy services only for money and they don’t care about their customers. A reliable web host should take care of your all data and should take responsibility for keeping your website online 24x7x365 days.

cloud web hosting

Cloud web hosting:

Cloud Computing has become the backbone for many IT oragnisations, B2B Businesses and Online industries. The power and flexibility deployed by Cloud technology has never been measured with any other form of web hosting services. Network server technology and load balancing works simultaneously to divide the load generated at one website and keep the website alive without any downtime.

From the different measures of Cloud technology Public, Private and Hybrid clouds are one of the first choices of industries. On these three platforms IaaS, PaaS and SaaS, a company can select a public, private or hybrid cloud to manage and maintain its own resources without any restrictions and instructions at any point of time. Scalable Cloud servers are the prefect match for small and medium size online industries where they can host a website at really affordable prices with high configurations. Cloud technology helps you to save your time because it needs no hardware installation and setup.
Cloud computing advantages include:

Less maintenance: From Hardware to installation of applications, bandwidth is managed by the Cloud provider.

Continuous availability: No Downtime and complete control over traffic.

Scalability: You have full rights to define your cloud server configuration.

Elasticity: Different cloud platforms can be scaled to meet your changing IT system demands.

Pay as you Go: No time for setup and Installation.

9 Key Factors to Search a Reliable Cloud

It is really important to spend time to review and webmaster forums before making any final decision with any web hosting provider. Research will help you to understand how cloud web hosting works, the various control panels offered, and maybe even a little background history on the hosting industry. Never purchase a hosting account that offers software or a service that you are not familiar with.

To overcome all your fear in search of a cloud web hosting provider we listed few important measures to find a reliable web hosting provider for your website.



Asher Ross is an expert technical writer from UK web hosting company eUkhost LTD. eUKhost has completed 13 successful years in Web hosting industry and specialized in deploying eNlight Cloud hosting solutions, Managed Dedicated hosting and many more with free tech support and complete web hosting satisfaction.

Amazon Web Services Certified Solutions Architect Online Training Course Review

By Cloud Techie → Wednesday, 11 June 2014
Amazon Web Services Certified Solutions Architect course from Udemy is one of the most popular online training course for AWS certification. You can clear the certification without any online course, but it takes weeks and lots of research to cover the topics. I had hand hands on experience with AWS services before subscribing to this course, but this course helped me to learn the concepts which i missed while exploring AWS services. I spent a couple of days with this course for my certification, and in this article I answer the question: is this course worth it?

Also read : How to prepare for AWS certifications

Course rating :    (4.9/5)

Author: Linux Academy

Course link : AWS CSA training

Course Type: Self Paced Online Course. Lifetime Access

Video & Audio Quality: HD

Certificate Available?: Yes

Practice Exam: yes with 59 questions

Price: $199

Course for : Beginners to intermediate

The course is well structured  for AWS CSA exam preparation as well as to learn AWS services. The course gets updated based on the updates happening in amazon web services. All the topics which are required for the CSA exam is covered and explained clearly by the instructor.

What you will learn :

You will learn all the necessary topics which are required to get started with AWS and its certification. The instructor teaches with online demos for topics like ec2 roles and you can test it on your own using the downloadable documentation from the course.

Video Quality: (click on the image to get a clear view)

Before signing up for the course, you can read the user reviews from the course page.

Reviews from subscribers:
Ben Woodrum
Great Course

Just passed my AWS CSA after taking this course on my first try. I believe that with appropriate time dedicated to listening to the lectures, taking comprehensive notes coupled with real world experience using AWS, you can expect to be successful on test day.

Simon Hughes
Passed thanks to this course

This course is extensive and covers everything you need to learn, it helped me greatly in understanding AWS as I had never used it before... keep in mind the exam questions are different but once you understand how everything interacts its so easy!

How to Setup Bitnami Joomla on Amazon ec2

By Cloud Techie → Saturday, 5 April 2014
Joomla is one of the popular content management systems. You can install joomla on ec2 manually or you can use bitnami AMI's for one click install. In this tutorail i will explain how to set up joomla on ec2 using bitnami AMI.

Also read: How to install joomla on amazon ec2 manually.

Setting up Joomla Using Bitnami:

1. Go to amazon market place

2. Search for joomla bitnami

3. Select the bitnami joomla ami

4. Click continue

 5. select "launch with ec2 console"  and scroll down a bit and select the joomla version and OS of your choice. Click "launch with ec2 console" option with the region of your choice.

6. It will take you to the ec2 management console. launch the instance like you would launch an instance normally. Select the instance type, security groups (with ports 80 ,8080 open) , select the key pair and launch the instance.

7. Once the instance is up and running, copy the public ip of your instance and paste it in new browser window and hit enter. It will take you to the bitnami start page.

8. Click access my application and you will be able to access your application. The default user name will be "user" and the password is "bitnami". You can access the application and application dashboard from the following urls.
http://<public ip or  public dns>/joomla
https:/<public ip or  public dns>/administrator
9. By default you wont be able to access the phpmyadmin page for security reasons. So you have to make some changes to access the phpmyadmin page using your instance public ip or public dns.

10. Connect the instance using putty.

Read: how to connect an ec2 instance using putty

11. open the httpd-app.conf file using the following command.
vi /home/bitnami/apps/phpmyadmin/conf/httpd-app.conf 
12 Once you open the file, uncomment the commented lines and change "allow from" to "allow from all". The file should look like the following

13. Now restart the apache server using the following command.
sudo /opt/bitnami/ restart apache
14. Now , you will be able to access phpmyadmin page using the public dns . The default user name is root and password is bitnami. You can access phpmyadmin from the following url.
http://<publicip or dns>/phpmyadmin
Accessing phpmyadmin through tunneling:
You can access phpmyadmin using your localhost by creating a tunnel between your system and the web server. Issue the following command in the terminal and hit enter to create a tunnel.
ssh -N -L 8888: -i /home/bitnami.pem
In the above command, /home/bitnami.pem is the path to the key pair you have for the bitnami instance. Replace with the public dns of your instance.

After running the above command successfully , you can access phpmyadmin using your localhost address using the following url.

Share this post and leave a comment for queries.

How to install and setup Plesk on Amazon EC2

By Cloud Techie → Saturday, 29 March 2014

Plesk is a control panel solution for system administrators and webmasters. plesk is a product of parallels.
plesk ec2

Use case:

If you think of good dashboard solution for hosting multiple websites for multile users on ec2 machine.

Setting up plesk on ec2:

You can set up plesk on ec2 using two methods.

1. Launch the licence attached plesk ami  from amazon market place. You will have to pay for amazon resources as well as the plesk licence on per hour basis. Plesk licence would cost  come around  $0.07 per hour. This offers a 14 day trial package. You will be charged once the sunscription is over. The trial is only for plesk licence, you will be charged for the aws resources you use.

Note: You cannot launch plesk in a micro instance. The minimum supported instance is m1.small

2 .Launch an instance with plesk and use your own licence if you have purchased one.

I would recomend 1st method. In this tutorial i will walk you through the plesk setup using the trial ami.

Instance setup:

1. Go to AWS management console , select the aws region and navigate to the ec2 section.

2. Click launch instance, select the market place option and search for plesk using the search box.

3. Select the ami , select the instance type any launch the instance like launching normal instances. Open port 8443, 80, 443 on security groups. port 8443 is used by plesk dashboard.

Read: How to launch an instance on amazon ec2

4. Once launched, login to the instance using putty.

Read: How to connect an instance using putty

5. Update the server packages using the following command.
sudo yum update
6.Run the following command to set the server ip for plesk. I recommend you to use the elastic ip for your instance because the public ip changes every time you restart the server and you will have to run the following command every time you restart the server to access the plesk dashboard.
sudo /usr/local/psa/bin/amazon_setup_ip <your server ip> 
6. You can access the plesk dashboard using https://yourip:8443. The default user name is admin and you can get the password from the server by running the following command on putty.
sudo /usr/local/psa/bin/admin --show-password
7. get the password and login using the username and password.

Once you logged in to the plesk dashboard, you can configure plesk based on the configuration you want. leave a comment for any queries.

How To Install Magento On Amazon EC2

By Cloud Techie → Thursday, 13 March 2014

Magento is an open source content management system for ecommerce based web applications. It is a popular ecommerce open source web application. There is also an enterprise edition for magento. So, the open source can be used for small scale ecommerce websites and you can modify the application based on your necessities. Enterprise edition on the other hand can be used for high end ecommerce site and the application customization preferences are more when likened to the open source version.

You can read a comparision between Joomls CMS and Magento here

In this tutorial I will explain how you can set up an open source magento framework on amazon ec2 machine.

Ec2 instance Configurations:
1. Launch an Ubuntu instance using the management console. When launching the instance , make sure you open port 80 in the security groups.

Read: How to launch an Ubuntu instance on amazon ec2

2. Connect the instance using putty.

Read: How to connect ec2 instance using putty.

3. Login as root user.
sudo su
4. Update the server
apt-get update
Install LAMP stack:
Magneto backend need apache , Php and Mysql database. You can configure all three applications using one command.

1. Install and configure Lamp stack.
apt-get install  -y lamp-server^
2. Create a root password for mysql and confirm it.

3. You can check if apache and mysql service is running using the following commands
service apache2 status
service mysql status
4. Magento needs a database on mysql server. You can create a databse on mysql server using command line and phpmyadmin. I prefer phpmyadmin, since you can manage your mysql server from the browser using GUI.

5. Install phpmyadmin on Ubuntu instance
apt-get install phpmyadmin
You will be prompted to select the webserver. Select apache using the space bar and hit enter. Then you will be prompted to enter the phpmyadmin root password. Give a strong password.

Phpmyadmin has to be integrated with mysql-server. So when prompted select db-conf and enter the mysql root password you created during the LAMP stack installation.

6. Once installed, you can access the phpmyadmin dashboard using the public ip, elastic ip or the Public dns of your instance followed by /phpmyadin.
7. Login to phpmyadmin using the credentials you created . The defatult username is root and password is the password you created during phpmyadmin setup.

8. Create a database magentoDB for magento application using phpmyadmin.

9. Click the database option in the top navigation panel and enter magentodb for the database name and hit enter.
Download Magento
1. Download magento to the /var/www folder.
2. Untar the file
tar –xvzf mag*
3. Change the file permissions for the following folders to give magneto write permission on those folders.
chmod -R o+w magento/app/etc/
chmod -R o+w magento/var/
chmod -R o+w magento/media/
4. Add mcrypt extension to the php.ini file located in /etc/php5/apache2/php.ini
vi  /etc/php5/apache2/php.ini
5. Install php5 curl.
apt-get install php5-curl
6. Add curl extension to the php.ini file.
vi  /etc/php5/apache2/php.ini
Installing Magneto stack:
1. Go to http:// /magento from your browser. Magento installation wizard will appear.

eg :
2. Tick the terms and conditions and hit continue.

3. Select the timezone, locale and currency and hit continue.

4. Enter the MySQL credentials and database name “magnetodb” in the required fied. Enter username and password for mysql . Check all the details and click enter.

Note: You can use Amazon RDS for the backend database. If you are using RDS MySQL provide the database endpoint in the host field. And give the username and password for the RDS database server

5. For admin account, enter your personal information, login information ,encryption key and hit continue.

6. That’s it!! Installation is done!! You can now access the front end and the backend using the options given in the page. Survey is optional.

7. Frontend and backend access urls.