GCP Task -

GCP Task -

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-

  1. creation of devproject and prodproject
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

2. creation of VPC inside devproject and prodproject

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

3. Creation of firewalld rule inside vpcdev and vpcprod

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

4. Creation of GKE cluster

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

5. Installation of Google SDE and Kubectl.exe -

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

6. Creation of Load balancer and scalling out and expose it on port 80

No alt text provided for this image
No alt text provided for this image

7. Launching of database mysql inside vpc network prodproject

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

8. Configuration of gcloud for GKE and launching pods using wordpress image of docker

No alt text provided for this image

9. Use of load balancer ip to access wordpress -

No alt text provided for this image
No alt text provided for this image

10 Attaching database

No alt text provided for this image
No alt text provided for this image

11. for accessing Wordpress website using public ip, we have to done following -

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Thats all , and I would like to thanks vimal sir .

要查看或添加评论,请登录

Abhishek Vishwakarma的更多文章

社区洞察

其他会员也浏览了