Slide 1

Slide 1 text

⛅🌱 Cloud Seed GitLab ⛅🌱 Cloud Seed : le déploiement de votre application sur Google Cloud sans difficulté https://unsplash.com/fr/@spacex France DevOps - 06/06/2023

Slide 2

Slide 2 text

@JPhi_Baconnais

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Event en ligne ⤵

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

https://blog.google/products/google-cloud/cloud-covered-what-was-new-with-google-cloud-in-february/

Slide 7

Slide 7 text

https://github.com/priyankavergadia/google-cloud-4-words

Slide 8

Slide 8 text

Focus sur le déploiement https://unsplash.com/@zacharykeimig

Slide 9

Slide 9 text

GitLab CI

Slide 10

Slide 10 text

GitLab CI .gitlab-ci.yml “.gitlab-ci.yml” “.gitlab-ci.yml” “.gitlab-ci.yml”

Slide 11

Slide 11 text

GitLab CI stages: - have_fun - say_hello 🤡 have_fun : stage: have_fun script: - echo "🤡 Have Fun " 🗣 print-hello-world: stage: say_hello script: - echo "Hello world" 🗣 print-hello-world-devfest: stage: say_hello script: - echo "Hello DevFest Nantes 🎉 "

Slide 12

Slide 12 text

Comment déployer votre projet sur ?

Slide 13

Slide 13 text

https://unsplash.com/@glenncarstenspeters deploy-with-gcloud-image: [...] image: google/cloud-sdk: script: - echo $GCP_SERVICE_KEY | base64 -d > /tmp/gcloud-service-key.json - gcloud auth activate-service-account --key-file /tmp/gcloud-service-key.json - gcloud functions deploy my_function [...] google/cloud-sdk

Slide 14

Slide 14 text

https://unsplash.com/@glenncarstenspeters deploy-with-gcloud-image: [...] image: google/cloud-sdk: script: - echo $GCP_SERVICE_KEY | base64 -d > /tmp/gcloud-service-key.json - gcloud auth activate-service-account --key-file /tmp/gcloud-service-key.json - gcloud functions deploy my_function [...] google/cloud-sdk

Slide 15

Slide 15 text

https://unsplash.com/@glenncarstenspeters deploy-with-gcloud-image: [...] image: google/cloud-sdk: script: - echo $GCP_SERVICE_KEY | base64 -d > /tmp/gcloud-service-key.json - gcloud auth activate-service-account --key-file /tmp/gcloud-service-key.json - gcloud functions deploy my_function [...] google/cloud-sdk

Slide 16

Slide 16 text

https://unsplash.com/@glenncarstenspeters deploy-with-gcloud-image: [...] image: google/cloud-sdk: script: - echo $GCP_SERVICE_KEY | base64 -d > /tmp/gcloud-service-key.json - gcloud auth activate-service-account --key-file /tmp/gcloud-service-key.json - gcloud functions deploy my_function [...] google/cloud-sdk

Slide 17

Slide 17 text

https://unsplash.com/@glenncarstenspeters deploy-with-gcloud-image: [...] image: google/cloud-sdk: script: - echo $GCP_SERVICE_KEY | base64 -d > /tmp/gcloud-service-key.json - gcloud auth activate-service-account --key-file /tmp/gcloud-service-key.json - gcloud functions deploy my_function [...] google/cloud-sdk

Slide 18

Slide 18 text

Agent Kubernetes https://unsplash.com/@jjying Définition Installation

Slide 19

Slide 19 text

Agent Kubernetes https://unsplash.com/@jjying

Slide 20

Slide 20 text

deploy-with-cicd-tunnel: before_script: - kubectl config use-context "group/project:agentk" image: name: bitnami/kubectl: entrypoint: [""] script: - kubectl apply -f https://unsplash.com/@jjying

Slide 21

Slide 21 text

deploy-with-cicd-tunnel: before_script: - kubectl config use-context "group/project:agentk" image: name: bitnami/kubectl: entrypoint: [""] script: - kubectl apply -f https://unsplash.com/@jjying

Slide 22

Slide 22 text

deploy-with-cicd-tunnel: before_script: - kubectl config use-context "group/project:agentk" image: name: bitnami/kubectl: entrypoint: [""] script: - kubectl apply -f https://unsplash.com/@jjying

Slide 23

Slide 23 text

https://unsplash.com/fr/@sortino ⛅🌱 Cloud Seed GitLab incubator team

Slide 24

Slide 24 text

Sri Rangan srirangan Program Lead ⛅🌱 Cloud Seed ⛅🌱 Cloud Seed https://unsplash.com/fr/@sortino

Slide 25

Slide 25 text

⛅🌱 Cloud Seed 🎉 https://unsplash.com/fr/@sortino

Slide 26

Slide 26 text

Objectifs https://unsplash.com/fr/@louis_moncouyoux

Slide 27

Slide 27 text

Objectifs Faciliter le déploiement dans GCP Accélérer l’adoption du Cloud Moderniser les applications

Slide 28

Slide 28 text

Visite guidée https://unsplash.com/@sevhoein

Slide 29

Slide 29 text

Operate > Google Cloud

Slide 30

Slide 30 text

Création de compte de service

Slide 31

Slide 31 text

Possibilité de créer un compte de service sur une branch spécifiée

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Déploiements possibles

Slide 35

Slide 35 text

Cloud Run

Slide 36

Slide 36 text

Cloud Run Plateforme Serverless Concentration sur le développement Gestion d’une image Docker

Slide 37

Slide 37 text

Déploiements possibles

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

include: - remote: https://gitlab.com/gitlab-org/incubation-engineering/five-minu te-production/library/-/raw/main/gcp/cloud-run.gitlab-ci.yml

Slide 40

Slide 40 text

https://gitlab.com/gitlab-org/incubation-engine ering/five-minute-production/library

Slide 41

Slide 41 text

Deploy on Cloud Run

Slide 42

Slide 42 text

Preview environment https://unsplash.com/@baileymahon

Slide 43

Slide 43 text

Preview environment 1 environnement par branche

Slide 44

Slide 44 text

Preview environment 👀 branche main

Slide 45

Slide 45 text

Preview environment 👀 branche demo/france-devops

Slide 46

Slide 46 text

BDD

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

BDD

Slide 49

Slide 49 text

BDD

Slide 50

Slide 50 text

La roadmap

Slide 51

Slide 51 text

La roadmap 👋 Feedback et suggestions sont les bienvenus https://gitlab.com/groups/gitlab-org/incubation-engineering/five-minute-production/-/boards

Slide 52

Slide 52 text

Cloud Functions App Engine Cloud Run - Déployer les images dans le registry GitLab OIDC La roadmap et bien d’autres !

Slide 53

Slide 53 text

https://unsplash.com/fr/@spacex ⛅🌱 Cloud Seed Fonctionnalité “Google Cloud” accessible à tous Simple à utiliser “Everyone can contribute”

Slide 54

Slide 54 text

https://unsplash.com/fr/@spacex ⛅🌱 Cloud Seed - Hello Cloud Seed : https://hello.cloudseed.app/ - Documentation : https://docs.gitlab.com/ee/cloud_seed - Issue board : https://gitlab.com/groups/gitlab-org/incubation-engineering/five-minute-production/-/boards - Blog annonce Cloud Seed : https://about.gitlab.com/press/releases/2022-10-11-gitlab-inc-launches-cloud-seed.HTML - Cloud Seed à la Cloud Next : https://cloud.withgoogle.com/next/speakers?session=PAR21 - Incubation Engineering Department : https://about.gitlab.com/handbook/engineering/incubation/

Slide 55

Slide 55 text

https://dev.to/jphi_bac onnais/series/12928 https://unsplash.com/fr/@spacex