Skip to content

pranabpaul/aksphpmysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migrating a PHP MySQL application to Azure Kubernetes Service (AKS) with Deployment, StatefulSet, Secret, Key-Vault, Ingress and AGIC

These are step by step actions to migrate a simple PHP-MySQL solution to Azure Kubernetes Service (AKS).

Prerequisites:

  1. Azure Account and access to provison a resource group, VNET, AKS cluster, ACR, Ingress Controller, Key-vault and optionally Application Gateway.
  2. Download/clone this code from GitHub.
  3. Visual Studio Code installed on development machine. Use bash terminal.
  4. Docker Desktop installed on client machine.

What we are going to create:

Follow steps given in instructions.txt file. We will use Azure Shell and VSCode to create

  1. An AKS cluster.
  2. An ACR.
  3. Deployment to run PHP containers, Statefulset to run MYSQL container.
  4. Secrets, Key-Vault to store sensitive information like database connection related informations.
  5. Headless ClusterIP service to reach MySQL StatefulSet.
  6. Load Balancer, Ingress and optionally App-Gateway to expose the application.
  7. Implement Prometheus and Grafana in the cluster.

Detailed flow

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors