We will be using digital ocean cloud managed kubernetes, so if you don’t have account on Digital ocean, you can use this link https://m.do.co/c/37201cd07b6d to create account in Digital Ocean get $100 credit.
We will be using all the configuration files which we have used in previous tutorial. So i would suggest you to look into once.
Now let’s create kubernetes cluster on Digital Ocean. Select Clusters from create menu.
As we know kubernetes makes scaling super easy, but deploying your application on kubernetes is easy ? Well we will make it super easy.
In Previous tutorial we have already learned how you can build docker image of your application. Following is my project structure.
This is a first post of this tutorial series, in this tutorial we will only learn how you can wrap your application into docker image, which we will be needing when we learn about deploying kubernetes application.
So let’s just revise what is kubernetes?
Kubernetes is most popular container orchestration framework. You might have heard that kubernetes makes scaling user easy and manageable. Yes it’s true. To deploy kubernetes application we need an application docker image, image can be hosted on google cloud or docker hub. Docker hub provides 1 private image for free and unlimited public images.
There are two kinds of problems. Good problems and bad problems. Problems always comes with cost. You need to check whether solving that problem is worthy ? Will it make your app faster and highly available ?
Today every startup wants to grow large, larger or huge. Few people gets together, gets some idea, writes some code and rolls out. Startup is started. Everyone wants to reach millions of people. If startup fails then there is no issue. But when people likes idea, and starts adapting it. Then Problem arises.
Shitty code and shitty project structure always makes scaling hard…
You might know that apache is most popular and commonly used web server. Most of the PHP applications are being hosted on apache. Most commonly used is most commonly attacked also. You might be securing your application on application logic side but securing apache is also very important.
Attacker might just take down your whole server or website with few commands if you have not secured server properly. In this tutorial i will show few commands, through with you can secure your apache.
In computing, a denial-of-service attack is a cyber-attack in which the perpetrator seeks to make a machine…
Google has declared that it will label your website as ‘Not Secure’ on non SSL sites. It means SSL is now necessary to make your website more available to google users. As google search engine will prefer secure sites.
So in this article we will learn how to setup wild card domain SSL.
Domain always have 3 parts in it. for example, www.example.com it contains 3 parts
We can always install certificate on individual domain or sub-domain but what if your application uses multiple sub-domains and each time you have…
A URL Shortener is a simple tool that takes a long URL and turns it into whatever URL you would like it to be. So you can remember very easily.
Shorty is an intrepid, self-hostable open-source link shortening web application with a robust API. It allows you to host your own URL Shortener, to brand your URLs, and to gain control over your data. Shorty is especially easy to use, and provides a modern, themable feel.
Shorty is based on very old project which was built…
The Word “LAMP” is just a bunch of words. When you want to create server environment for dynamic website we need to install some software when you are choosing PHP as programming language.
L in “LAMP” stands for operating system which is Linux Operating System, A for Apache webserver, it’s a most commonly used host server to serve PHP files.
M for Mysql. It is also most commonly used and most popular database among PHPdevelopers used to store data.
P for PHP. A Programming language to dynamically process data and business logic.
We are going to install LAMP stack on…
We are here for quick tutorials, it may be server administration, server setup, dev ops, simple programming tips, simple hacks for server and many other things.