Managing your App42 PaaS Data

One of the key requirements of PaaS users is to have direct access to their database which allows them to manage their database from their local workstation. Most PaaS Solutions either do not allow developers to access data from outside their platform or require another application to be deployed on the platform to access it from outside and that too for a limited time and from a particular location.

App42 PaaS allows developers to access their data without any such constraints. It enables you to make a tunnel to your service (MySQL, PostgreSQL, MongoDB, CouchDB, Redis) both from a specific IP or any IP you want and also for indefinite time until you do not want to remove the access. You would just be required to provide the IP address from where you want to access your service and that’s it. When you do not require, just unbind it.

In this post, I will give you a quick walk-through on how to create service and access it from anywhere on App42 PaaS platform using App42 PaaS Management Console as well as App42 Client (Command Line tool). Let me take an example of MySQL service to show you how it works.

Prerequisites:

  1. Register with App42 PaaS platform.
  2. Install and configure App42 PaaS Client.

Creating MySQL Service:

To create MySQL Service, you have to run the app42 createServicecommand and choose from the relevant options to get your service ready.

Using App42 PaaS Client -

create service Managing your App42 PaaS Data

Using App42 PaaS HQ Console-

hq create service Managing your App42 PaaS Data

You have successfully created your service on App42 PaaS platform.

Accessing service publicly:

In order to access your service from outside App42 PaaS platform, you need to bind the IP address from where you want to access. After that you can use the provided credentials to access the service by using any client of your choice.

Binding IP Address with service:

Run the app42 bindIPcommand and choose the service you want to bind. Choose the IP address from where you want to access the service. If you want to access publicly (use ’0.0.0.0′).

Using App42 PaaS Client -

bind ip Managing your App42 PaaS Data

Using App42 PaaS HQ Console-

hq service bind ip Managing your App42 PaaS Data

You have successfully bind your IP Address to service on App42 PaaS platform.

Getting service bind information :

To get service bind information, you have to run the app42 bindInfocommand and choose service to get the meta information.

Using App42 PaaS Client -

bindInfo Managing your App42 PaaS Data

Using App42 PaaS HQ Console-

hq service bind ip details1 Managing your App42 PaaS Data

Now you can use the above information to access the service by using any client of your choice or through your application from outside App42 PaaS platform.

Visit App42 PaaS Dev Center for more tutorials and samples. If you have any queries or require further assistance, please feel free to reach us at support@shephertz.com.

twitter Managing your App42 PaaS Datafacebook Managing your App42 PaaS Datagoogle Managing your App42 PaaS Datalinkedin Managing your App42 PaaS Datapinterest Managing your App42 PaaS Datareddit Managing your App42 PaaS Datastumbleupon Managing your App42 PaaS Datatumblr Managing your App42 PaaS Data

Leave a Reply

Your email address will not be published. Required fields are marked *


− two = 6

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>