Deploy the Wordpress application on Kubernetes and AWS using terraform including the following steps

1. Write an Infrastructure as code using terraform, which automatically deploy the Wordpress application

2. On AWS, use RDS service for the relational database for Wordpress application.

3. Deploy the Wordpress as a container either on top of Minikube or EKS or Fargate service on AWS

4. The Wordpress application should be accessible from the public world if deployed on AWS or through workstation if deployed on Minikube.

For doing this task, I have first created a terraform code which will start the minikube cluster node on my local system using minikube start command and then it will launch a deployment for the wordpress webapp.

Use terrform apply — auto-approve command to run the terraform file.

We can use the minikube ip command to check the ip address of the node and use kubctl get services command to check the port no.

After this i have created a terraform code to launch rds services on aws cloud.

Again validate the terraform code and run terraform apply auto-approve. It will create a database on the aws cloud using the RDS services.

Using the node ip address and port no. We can simply install the webapp, integrating it with the Amazon RDS services.

Github Link:- https://github.com/akshat-crypto/HCC_TASK6.git

LinkedIN profile:- https://www.linkedin.com/in/akshat-soni-011b461a6




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My New Startup & Locomotion

AssetSonar Release Notes August 2020

Learning C++: Mutating Algorithms of the STL

Configuring Okta as EAS to Enable SSO for Embedded Content

Explaining SQL Joins with MySQL Implementation

Be a Scrum Master during a pandemic

Monolith Vs Microservice Vs Serverless — The Real Winner? The Developer

My experience with high-level architecture and how it helps to see an overall picture of the…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Akshat Soni

Akshat Soni

More from Medium

Bypassing CrowdStrike in an enterprise production network [in 3 different ways]

Kruskal’s Algorithm

Title: CS 373 Spring 2022: William Eng, Week 10

Goodbye, Christmas Tree.