Giter Site home page Giter Site logo

multi-tier-in-kubernetes-using-terraform-1's Introduction

Wordpress and mysql two-tier application with kubernetes using terraform

Create a two-tier application using WordPress and MySQL orchestrated with Kubernetes and provisioned with Terraform. The WordPress application should be hosted on one tier, while the MySQL database should be hosted on another tier. Use Terraform to automate the infrastructure provisioning on Kubernetes, ensuring seamless deployment and scaling. Ensure high availability and fault tolerance within the Kubernetes cluster. Additionally, implement security best practices to safeguard the application and data. Provide clear documentation outlining the deployment process and infrastructure architecture for future reference.

Prerequisites

  • Git
  • Terraform
  • Kubernetes cluster

Getting Started

1.Clone the repository:

git clone https://github.com/Abhay956/multi-tier-in-kubernetes-using-terraform.git
cd multi-tier-in-kubernetes-using-terraform/

If terraform not install then run this script and run nfs script to install nfs-server:

sh terraform.install.sh
sh nfs-install.sh

Install necessary provider plugins:

terraform init

To provision the infrastructure, run:

terraform plan

The terraform plan command shows what infrastructure will be created/updated/destroyed. Review the plan output to ensure it is making the expected changes.

To then apply the changes:

terraform apply --auto-approve
localhost:30201

image

Lab link

๐Ÿ‘ฉโ€๐Ÿ’ป https://killercoda.com/killer-shell-cka/scenario/playground

multi-tier-in-kubernetes-using-terraform-1's People

Contributors

abhay956 avatar

Watchers

Rushikesh Gore avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.