Posts

GOOGLE CLOUD PLATFORM

Image
      GCP TASK 1. Create TWO projects. 2. Create a VPC network for both the projects 3. Create a link between both the VPC networks using VPC Peering 4. Create a Kubernetes Cluster in one project and launch any web application with the load balancer. 5. Create a SQL server in the second project and create a database. 6. Connect the SQL database to the web application launched in the Kubernetes cluster. GCP - Google Cloud Platform is a public cloud which provides different-different resources according to user need. When we want to start a business we don’t know that it will be successful or not so we can’t invest a lot on land, electricity, hardware, etc so much so we can use cloud here it provides isolation, security, virtual space where we can work and a lot more. GCP has a great feature of projects which are isolated and secure. If there is a failure in one project then it won’t affect the others.GCP works on API means for using any services first we nee...

VPC MORE SECURE SETUP

Image
TASK - 4   Create/launch Application using Terraform. 1.  Write an Infrastructure as code using Terraform, which automatically creates a VPC. 2.  In that VPC we have to create 2 subnets:     1.   Public subnet [ Accessible for Public World! ]      2.   private subnet [ Restricted for Public World! ] 3. Create a public-facing internet gateway to connect our VPC/Network to the internet world and attach this gateway to our VPC. 4. Create a routing table for Internet gateway so that instance can connect to the outside world, update and associate it with the public subnet. 5.  Create a NAT gateway to connect our VPC/Network to the internet world  and attach this gateway to our VPC in the public network 6.  Update the routing table of the private subnet, so that to access the internet it uses the nat gateway created in the public subnet 7.  Launch an ec2 instance that has WordPress setup already having ...