mirror of
https://github.com/BreizhHardware/cours-ISEN-MD.git
synced 2026-03-18 21:50:46 +01:00
Obisidian vault auto-backup: 21-01-2026 11:24:44 on . 6 files edited
This commit is contained in:
27
.obsidian/workspace.json
vendored
27
.obsidian/workspace.json
vendored
@@ -30,8 +30,23 @@
|
||||
"icon": "lucide-file",
|
||||
"title": "Cloud Computing Cours 3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "be76ae4eb3f25e5b",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "split-diff-view",
|
||||
"state": {
|
||||
"aFile": "ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 3.md",
|
||||
"bFile": "ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 3.md",
|
||||
"aRef": ""
|
||||
},
|
||||
"icon": "diff",
|
||||
"title": "Diff: Cloud Computing Cours 3"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"currentTab": 1
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
@@ -204,17 +219,17 @@
|
||||
"obsidian-git:Open Git source control": false
|
||||
}
|
||||
},
|
||||
"active": "e11a6a080eb83632",
|
||||
"active": "be76ae4eb3f25e5b",
|
||||
"lastOpenFiles": [
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 1.md",
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 3.md",
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 2.md",
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 1.md",
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 5.md",
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 4.md",
|
||||
"ISEN/Cloud Computing/CIPA4/TP 4 Ansible.md",
|
||||
"ISEN/Cloud Computing/CIPA4/TP 3 Ansible.md",
|
||||
"ISEN/Cloud Computing/CIPA4/TP 2 Ansible.md",
|
||||
"ISEN/Cloud Computing/CIPA4/TP 1 Ansible.md",
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 5.md",
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 4.md",
|
||||
"ISEN/Cloud Computing/CIPA4/Cloud Computing Cours 3.md",
|
||||
"ISEN/Introduction a la cyber et a la cryptographie/CIPA 4/Cours 2.md",
|
||||
"ISEN/Introduction a la cyber et a la cryptographie/CIPA 4/Tunnel SSH TP.canvas",
|
||||
"ISEN/Introduction a la cyber et a la cryptographie/CIPA 4/Cours 1.md",
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
# Ansible
|
||||
## TP
|
||||
Sujet des tp : https://git.arnaudmorin.fr/arnaud/trainings/src/branch/main/ansible/training/lessons
|
||||
|
||||
TP1: [TP 1 Ansible](TP%201%20Ansible.md)
|
||||
|
||||
TP2: [TP 2 Ansible](TP%202%20Ansible.md)
|
||||
|
||||
TP3: [TP 3 Ansible](TP%203%20Ansible.md)
|
||||
|
||||
TP4: [TP 4 Ansible](TP%204%20Ansible.md)
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
#CIPA4 #CloudComputing #DP
|
||||
```table-of-contents
|
||||
title:
|
||||
style: nestedList # TOC style (nestedList|nestedOrderedList|inlineFirstLevel)
|
||||
minLevel: 0 # Include headings from the specified level
|
||||
maxLevel: 0 # Include headings up to the specified level
|
||||
include:
|
||||
exclude:
|
||||
includeLinks: true # Make headings clickable
|
||||
hideWhenEmpty: false # Hide TOC if no headings are found
|
||||
debugInConsole: false # Print debug info in Obsidian console
|
||||
```
|
||||
- [TP Openstack](#tp-openstack)
|
||||
- [Instance](#instance)
|
||||
- [Boot](#boot)
|
||||
- [Ping](#ping)
|
||||
- [Security rules](#security-rules)
|
||||
- [Connect with ssh](#connect-with-ssh)
|
||||
- [Delete the instance](#delete-the-instance)
|
||||
- [Private networks](#private-networks)
|
||||
- [Create a router](#create-a-router)
|
||||
- [Boot](#boot-1)
|
||||
- [Floating IP](#floating-ip)
|
||||
- [Userdata](#userdata)
|
||||
- [Start an instance](#start-an-instance)
|
||||
- [Check the result](#check-the-result)
|
||||
- [demo-flask](#demo-flask)
|
||||
|
||||
# TP Openstack
|
||||
## Instance
|
||||
@@ -21,10 +25,12 @@ openstack server create --image 'Debian 12' --flavor small --network public --ke
|
||||
|
||||
### Ping
|
||||
Q: is it working?
|
||||
|
||||
No
|
||||
|
||||
### Security rules
|
||||
Q: is ping working now?
|
||||
|
||||
Yes
|
||||
|
||||
### Connect with ssh
|
||||
@@ -41,9 +47,11 @@ openstack server delete myvm01
|
||||
## Private networks
|
||||
### Create a router
|
||||
Q: which IP address the router is having in your private network?
|
||||
|
||||
192.168.42.1
|
||||
|
||||
Q: which IP addres the router is having as external gateway?
|
||||
|
||||
51.91.90.70
|
||||
|
||||
### Boot
|
||||
@@ -51,6 +59,7 @@ Q: which IP addres the router is having as external gateway?
|
||||
openstack server create --image 'Debian 12' --flavor small --network private --key-name isen myvm01
|
||||
```
|
||||
Q: can you access to your instance in SSH?
|
||||
|
||||
No
|
||||
|
||||
### Floating IP
|
||||
@@ -83,9 +92,11 @@ openstack server create --image 'Debian 12' --flavor small --network private --k
|
||||
|
||||
### Check the result
|
||||
Q: what is the name of the service running inside your instance that execute this `user-data` script?
|
||||
|
||||
cloud-init
|
||||
|
||||
Q: from which url this service retrieve the script?
|
||||
|
||||
http://169.254.169.254/openstack/2012-08-10/user_data
|
||||
|
||||
## demo-flask
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
#CloudComputing #DP #CIPA4
|
||||
```table-of-contents
|
||||
title:
|
||||
style: nestedList # TOC style (nestedList|nestedOrderedList|inlineFirstLevel)
|
||||
minLevel: 0 # Include headings from the specified level
|
||||
maxLevel: 0 # Include headings up to the specified level
|
||||
include:
|
||||
exclude:
|
||||
includeLinks: true # Make headings clickable
|
||||
hideWhenEmpty: false # Hide TOC if no headings are found
|
||||
debugInConsole: false # Print debug info in Obsidian console
|
||||
```
|
||||
- [TP Git](#tp-git)
|
||||
- [Basic commits](#basic-commits)
|
||||
- [Basic staging](#basic-staging)
|
||||
- [Basic branching](#basic-branching)
|
||||
- [ff-merge](#ff-merge)
|
||||
- [3-way-merge](#3-way-merge)
|
||||
- [Merge conflict](#merge-conflict)
|
||||
- [Merge mergesort](#merge-mergesort)
|
||||
- [Rebase branch](#rebase-branch)
|
||||
- [Commit on wrong branch II](#commit-on-wrong-branch-ii)
|
||||
- [TP Docker](#tp-docker)
|
||||
- [Our app](#our-app)
|
||||
- [Updating our app](#updating-our-app)
|
||||
- [Sharing our app](#sharing-our-app)
|
||||
- [Persisting our DB](#persisting-our-db)
|
||||
- [Using Bind Mounts](#using-bind-mounts)
|
||||
- [Multi-Container Apps](#multi-container-apps)
|
||||
- [Using docker compose](#using-docker-compose)
|
||||
- [Image Building Best Practices](#image-building-best-practices)
|
||||
|
||||
# TP Git
|
||||
## Basic commits
|
||||
@@ -222,4 +230,9 @@ services:
|
||||
MYSQL_DATABASE: todos
|
||||
volumes:
|
||||
todo-mysql-data:
|
||||
```
|
||||
```
|
||||
|
||||
Lien vers l'image docker
|
||||
|
||||
https://nexus.mrqt.fr/#browse/browse:dockerr:v2%2Fgetting-started%2Ftags%2Flatest
|
||||
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
#DP #CIPA4 #CloudComputing
|
||||
```table-of-contents
|
||||
title:
|
||||
style: nestedList # TOC style (nestedList|nestedOrderedList|inlineFirstLevel)
|
||||
minLevel: 0 # Include headings from the specified level
|
||||
maxLevel: 0 # Include headings up to the specified level
|
||||
include:
|
||||
exclude:
|
||||
includeLinks: true # Make headings clickable
|
||||
hideWhenEmpty: false # Hide TOC if no headings are found
|
||||
debugInConsole: false # Print debug info in Obsidian console
|
||||
```
|
||||
- [TP Kube](#tp-kube)
|
||||
- [Creating a service](#creating-a-service)
|
||||
- [Edit your deployment](#edit-your-deployment)
|
||||
- [Updating the app](#updating-the-app)
|
||||
- [Demo-flask](#demo-flask)
|
||||
- [TP Kube Partie 2](#tp-kube-partie-2)
|
||||
- [Bonus HTTPS](#bonus-https)
|
||||
|
||||
# TP Kube
|
||||
## Creating a service
|
||||
@@ -19,6 +15,7 @@ curl http://135.125.246.84:8080
|
||||
```
|
||||
|
||||
Q: how many pods do you have? Why?
|
||||
|
||||
1 pods, it use 1 by default
|
||||
|
||||
## Edit your deployment
|
||||
@@ -41,6 +38,7 @@ Hello Kubernetes bootcamp! | Running on: first-dep-6d75bd9fc8-zngh4 | v=1
|
||||
```
|
||||
|
||||
Q: how many pods do you have?
|
||||
|
||||
2
|
||||
|
||||
Q: is the output always the same? Explain why.
|
||||
@@ -56,6 +54,7 @@ No it balance between all pods to balance the load.
|
||||
|
||||
## Updating the app
|
||||
Q: do you see the `v=2`?
|
||||
|
||||
Yes
|
||||
```bash
|
||||
╭─ 💁 root at 💻 isen-41 in 📁 ~
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
#DP #CloudComputing #CIPA4
|
||||
```table-of-contents
|
||||
title:
|
||||
style: nestedList # TOC style (nestedList|nestedOrderedList|inlineFirstLevel)
|
||||
minLevel: 0 # Include headings from the specified level
|
||||
maxLevel: 0 # Include headings up to the specified level
|
||||
include:
|
||||
exclude:
|
||||
includeLinks: true # Make headings clickable
|
||||
hideWhenEmpty: false # Hide TOC if no headings are found
|
||||
debugInConsole: false # Print debug info in Obsidian console
|
||||
```
|
||||
- [TP Terraform](#tp-terraform)
|
||||
- [101](#101)
|
||||
- [102](#102)
|
||||
- [103](#103)
|
||||
- [104](#104)
|
||||
- [105](#105)
|
||||
|
||||
|
||||
|
||||
# TP Terraform
|
||||
## 101
|
||||
|
||||
Reference in New Issue
Block a user