GCP Task -
Abhishek Vishwakarma
Java || Spring Boot || Flutter || Dart || Software Developer at Tata Consultancy Services
This is task given by Mr. Vimal daga sir in workshop
Objective of task -
1. Create two projects, first one is devproject and second one is prodproject.
2. Create one vpc inside devproject and one inside prodproject.
3. Create firewalld rule to allow all the port in vpcdev and vpcprod.
4. Create GKE cluster in devproject with 3 nodes inside the vpc network.
5. Install google SDK and kubectl.exe
6. Create load balancer for scaling out and expose it on port 80.
7. Launch database mysql instance inside vpc network prodproject.
8. Then configure gcloud for GKE and launch pods using wordpress image of docker.
9. Use the load balancer ip to access wordpress website.
10. Now it will ask for database so attach the database which we created in prodproject.
11. Use public ip to access wordpress website.
SOLUTIONS-
- creation of devproject and prodproject
2. creation of VPC inside devproject and prodproject
3. Creation of firewalld rule inside vpcdev and vpcprod
4. Creation of GKE cluster
5. Installation of Google SDE and Kubectl.exe -
6. Creation of Load balancer and scalling out and expose it on port 80
7. Launching of database mysql inside vpc network prodproject
8. Configuration of gcloud for GKE and launching pods using wordpress image of docker
9. Use of load balancer ip to access wordpress -
10 Attaching database
11. for accessing Wordpress website using public ip, we have to done following -
Thats all , and I would like to thanks vimal sir .