Giter Club home page Giter Club logo

iti-gcp-project's Introduction

ITI-GCP-Project

Tools used to build the project

  • Terraform
  • Google Cloud Platform Services and APIs (GCP Services & APIs)
  • Docker

Creating Infrastructure Using Terraform

Network

  • VPC that project will be assigned to
  • 2 subnets attached to 2 different ips [(managment subnet) for VM and (restrecited subnet -for GKE]
  • NAT Gateway and Router
  • Firewall to allow SSH Connection

Service Account (SA)

  • Service accounts that are attached to VM and GKE cluster.
  • service account [vm:container.admin]
  • service account [GKE:(roles/storage.admin) and (iam.workloadIdentityUser)]

VM Contains

  • A VM isolated in a private subnet (without external ip)

GKE Contains :

  • Setting up GKE in private subnet
  • Container Node Pool

Images

  • Build 2 images on the local machine 1 for the python app and the other for radis pull this images from (docker hub) then build these images
  • docker build -t .
  • Next step is push this 2 images into GCR by the following command :
  • [docker push gcr.io/< project id >/ < image name >]

Apply Deployments To GKE

Running Bash Script to automate Installing CLI, kubectl and deploy all Yaml-files into the VM:

File included in Terraform Folder and its name is script.sh

Load Balancer

LB

Bucket

Bucket

Web app while up and run on the browser

Webapp_up_and_run

iti-gcp-project's People

Contributors

o-muhammad97 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.