Task Details :

1. Create multiple projects namely developer and production

2. Create VPC network for both the projects

3. Create a link between both the VPC networks using VPC Peering

4. Create a Kubernetes Cluster in developer project and launch any web application with the Load balancer

5. Create a SQL server in the production project and create a database

6. Connect the SQL database to the web application launched in the Kubernetes cluster

In this project, I have used the google cloud platform to use the GKE i.e. the google kubernetes engine and launched the wordpress webapp along with the load balancer. And for the database I have used the AWS cloud RDS service.

First, I have created the Cluster using the gcp webUI.

After this I have installed the gcloud sdk and kubectl program and configured it in order to use the command prompt to connect to the gcp cloud.

You can either use the webshell or command prompt to communicate further.

After configuring I have created a deployment for the wordpress webapp and exposed its ports.

We can also check the services from the webUI.

After completing this part, I have deployed the database instance in AWS using the terraform code.

After completing these parts we now have to do the wordpress webapp installation by connecting the wordpress deployment with the RDS database.

Also I have changed the ingress rule in the AWS security group due to which any ip address can connect to the port 3306.

Thank you!!!

Note:- I have used the qwiklabs account to create the projects and due to which i wont be able to do the vpc peering part as i have access to work in one project at a time. Still tried my best to do something different.

If you have any query feel free to ask me. For the code and screenshots you can check my github repo.

Github:- https://github.com/akshat-crypto/GCP_task.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

Global Warming: Too Many Geeks, That’s The Problem

Chill and Relax When Running Robotic Process Automation

Real World Asset and Collateral Onboarding ~ Interest Rates ~ L2 and more | Weekly Forum Recap

How to Become a Full Stack Developer

Multi-Tenant Laravel on Ubuntu 18.04 with NGINX, MariaDB, and PHP 7.3

Introduction to Web Development

Fundamental concepts of database design

Building a Flutter Chat Application with Stream: Configuration (Part 2)

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


Sneaker Heads

Short Title Sequence

Meet the 2022 RecSports Scholarship Recipients