Overcoming cloud-native challenges

by Apr 4, 2022Article

We are in the midst of a full digital transformation, in which any business, no matter how small, needs to go digital if it wants to survive. 

This transformation represents a true revolution. We have the possibility of deploying applications as complex as we can think of (high number of services, different technologies), and with infrastructures as heterogeneous as we are capable of imagining.

From my point of view, we need to stop and simplify the complexity before we continue going ahead. Solutions are needed that make this whole process easier for us, that save us from failures and frustrations. With this idea in mind, Napptive was born.

The Napptive Playground offers an easy and simple way to obtain a Kubernetes environment in seconds, saving you the complex process of installing and configuring a cluster. This environment has support for OAM (Open Application Model) applications and all the native functionality of Kubernetes. In addition to this, we provide a catalog similar to Docker Hub but oriented toward complete applications, which allows users to deploy pre-built applications in seconds and be able to add their own.

At Napptive we are committed to two technologies: Kubernetes, which allows us to abstract from the infrastructure on which the applications run, and the Open Application Model (OAM), a very simple standard for defining applications. 

In this way, the client can focus on developing the application that adds value to their business.

How Napptive works

To be able to use the NAPPTIVE platform, a Github user will simply need to login into the application

Once the account is created, you already have a cluster at your disposal to deploy applications.

Client Installation

– Installation of the client, executing the following command:

curl -O https://storage.googleapis.com/artifacts/playground.napptive.dev/installer.sh && bash installer.sh

The result of the installation should be something like:

...
playground installed into /usr/local/bin/ successfully.
***************************************************
* Playground installed successfully! 👌 *
* *
* By proceeding, you are accepting the NAPPTIVE *
* terms and conditions *
* https://napptive.com/terms-and-conditions *
* *
* You can visit our documentation page  *
* for more information https://docs.napptive.com/ *
* ENJOY!!! 👋 *
***************************************************

Deploy the app

Once the client is deployed, it is ready for use.

1. Login to the playground

$ playground login
Login success

2. Get the kubeconfig (this file will allow access to your cluster)

$ playground get-kubeconfig
ASSOCIATED SERVER
https://<server_IP>
Use this kubeconfig to connect to the cluster and deploy applications:
kubectl --kubeconfig <napptive-kubeconfig> ...

3. List the catalog applications

$ playground catalog list
APP_ID                                 NAME
...
napptive/tensorflow:nightly-jupyter    Tensorflow
napptive/drawio:14.3.0                 Drawio
napptive/nginx:1.20.0                  NGINX server
napptive/rstudio:4.0.4                 Rstudio
napptive/mysql-phpmyadmin:5.7          Mysql-PHPMyAdmin
napptive/jupyter:ubuntu-20.04          Jupyter
napptive/wordpress-mysql:5.7.0         WordPress
napptive/mysql:5.7                     Mysql
...

4. Display one of them (in this example we will display WordPress)

$ playground catalog deploy napptive/wordpress-mysql:5.7.0
STATUS INFO
SUCCESS application [my-wordpress] deployed
CREATED
core.oam.dev/v1alpha2, Kind=Component “mysql-db” created
core.oam.dev/v1alpha2, Kind=Component “wordpress” created
core.oam.dev/v1alpha2, Kind=HealthScope “wordpress-health” created
core.oam.dev/v1alpha2, Kind=ApplicationConfiguration “my-wordpress” created

5. Check the status of the application

$ playground apps
NAME STATUS
my-wordpress APP_OK

6. And access the deployed application

$ playground apps open my-wordpress

With these simple steps, you have WordPress deployed and ready to be used.

If you want to change the password and edit a post, …

You can start writing posts by accessing the admin page at https:// wordpress-<your_username>.apps.playground.napptive.dev/admin using the credentials:

user: user@example.com

password: bitnami


We encourage you to try deploying applications with Napptive and see how easy it is. It’s free to use, you simply need to log in with your existing GitHub account to get started!