GithubHelp home page GithubHelp logo

alioualarbi / jenkins-and-terraform_gcp_final_iti_devops Goto Github PK

View Code? Open in Web Editor NEW

This project forked from engfathalla/jenkins-and-terraform_gcp_final_iti_devops

0.0 0.0 0.0 210 KB

Shell 19.81% HCL 80.19%

jenkins-and-terraform_gcp_final_iti_devops's Introduction

home_Page Image

Table of contents

General info

Building our infrastructure on GCP [ Google Cloud Platform ] using terraform :

  • Network infrastructure [ VPC , Subnets , Firewalls , NAT , Router ]
  • Private GKE [ Google Kubernetes Engine ]
  • Private Compute Engine To controll Private GKE

Deploy Jenkins Deployment [ master + slave ] :

  • Using Pipeline job we going to deploy on our cluster

Configure Github :

  • Once the developer push , it will trigger jenkins pipeline and deploy on our GKE Cluster

Technologies

  • Terraform
  • GCP [ Google Kubernetes Engine ]
  • Jenkins
  • GitHub
  • DockerHub

Setup our infrastructure

  • $ cd Terraform_GCP
  • $ terraform init
  • $ gcloud auth application-default login
  • $ terrform apply

Deploy jenkins on our cluster

  • SSH into our Private VM
  • Install [ Gcloud , Kubectl , Activate ServieAccount to make VM Controll the Culster ] , it's all inside Script.sh
  • Connect To our Cluster using gcloud container clusters get-credentials NAME [--internal-ip] [--region=REGION | --zone=ZONE, -z ZONE]
  • kubectl apply -f Deployment

jenkins-and-terraform_gcp_final_iti_devops's People

Contributors

engfathalla 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.