18min

Create an application from template

​​​​Microtica offers numerous ready-to-use application templates that you can use to speed up your DevOps process. Our growing list of application templates includes some of the most popular frontend and backend frameworks, with large user communities, used on various project types:

  • Next.js
  • NuxtJS
  • ReactJS
  • AngularJS
  • Vue.js
  • Strapi

All application templates are part of the Free plan

Application templates can be deployed on Kubernetes, as Microtica has built-in integration with Kubernetes. You can provision a complete Kubernetes cloud infrastructure through Microtica but you can also connect your existing Kubernetes cluster running on basically any cloud provider or on-premise. 

Microtica K8s is fully integrated with Microtica pipelines so you can easily define your automation to build, test and deploy services on Kubernetes in one place.

Create an application from template

To create an application you can select any application template from the list of templates and continue with the steps provided in the guide. There are only three steps you need to go through to deploy an application to the cloud. 

Document image

1. Create/Import Git Repository

In the first step, you need to connect a Git account, if you haven't done it already. By clicking on one of the buttons you can connect your GitHub, BitBucket, or GitLab account with Microtica. 

After connecting a Git account your accounts will show in the first section, so you can choose one if you have multiple connected. 

Document image

To proceed, we need to create a new repository on your Git account, and you can enter the name of the repository that will be created. Microtica adds default repository names for each template. Clicking the Create button will initiate an action to create a repository in your selected Git account. This is what your Git repository should look like.

Document image

In this step, you can also import an existing application. Click the Import an existing repository link in the lower-left corner to switch the view. Select your Git account and input your repository name to search in your repositories. Select a repository and enter the branch from which you'd like to activate automated deployments. Every Git push will be deployed automatically. Click the Import button to trigger the import of the selected git repository. Continue to the next step. 

Document image

2. Select Cluster

There are three ways to deploy an application to Kubernetes:

Microtica Shared Kubernetes Cluster

Our Free plan offers a Shared Kubernetes Cluster with 500MB of RAM for your applications.

This cluster should only be used for development purposes. To run production applications, create an EKS cluster using our templates (part of the Starter and Advanced plan).

Document image

You will be assigned a Free Demo Cluster, so you can continue to the Deploy step. 

If needed you can request additional minutes or storage on the Free plan, at some cost. Please contact us in the chat if you're interested in purchasing more workload with a shared Kubernetes cluster. 

Amazon EKS

If you'd like to have complete ownership of your infrastructure on AWS, you can create a Kubernetes cluster on your AWS account in only 3 steps, using one of our templates. Click Create New Cluster and select the Create Amazon EKS option. Our Amazon EKS template will show up on the screen, so you can follow the guide below to set it up.

Amazon EKS

A step-by-step guide on how to create a Kubernetes cluster on your AWS account.  

After creating the Amazon EKS cluster, you can select it from the list, select the namespace, and continue to the last step - Deploy

Document image

Amazon EKS Spot

You can also use our Amazon EKS Spot template to create a managed container service to run and scale Kubernetes applications in the cloud using Spot instances for Kubernetes nodes.

Connect an Existing Cluster 

In Microtica you can also connect an existing Kubernetes Cluster that you have and deploy your applications there. You can connect Kubernetes clusters running on basically any cloud provider or on-premise. By connecting a cluster you can use the full capabilities of Microtica’s Kubernetes automation.

Click Create New Cluster and select the Connect Existing Cluster option. Follow the link below to the guide on how to connect your Kubernetes cluster in Microtica.

Connect an Existing Kubernetes Cluster

After you're done continue to the next step - Deploying your applications.

3. Deploy your application

To trigger a deployment for your application, click the Deploy button. The deployment process will start and you can follow the Logs inline. By clicking the View Logs button, the screen below will appear. You can follow the deployment steps here.

Document image

Once, the deployment process is done, you can preview your application by clicking on the View Applications button. This action will navigate you to the applications view in Environments > [cluster name] > Apps.

Document image

By clicking on the application in the list, you will be navigated to the App Overview screen, where you can find important application information, the list of deployments, monitoring, and settings. By clicking on the Visit button in the Overview screen, you'll be redirected to the website hosting your deployed application. For example, if you're deploying the Next.js Template, your application preview should look like the image below.

Document image

Congratulations! You've successfully deployed an application on Kubernetes using Microtica 🎉 🎉 🎉



Updated 09 May 2022
Did this page help?
Yes
No