edp-doc/docs/technical-documentation/architecture/design/forgejo-service-mob-1/index.md

172 lines
No EOL
2.3 KiB
Markdown

# OTC
## CCE Cloud Container engine - Kubernetes
* Kata-Container - MicroVM, e.g. for Forgejo-Runner
## Networking
* compare it with local networking in docker-compose e.g.
* there you also can do 'Software defied Networking'
* like we do in OTC
![alt text](image.png)
* Question: When or why to subnet?
* A: It' for security ... for sure, but at first it's for creating domains of transparently interacting applicatios
* Hint: Use CIDR calculators when getting lost in IP4 networking
## Routing Table
![alt text](image-1.png)
## Peering Connections
![alt text](image-2.png)
## tags
should be possible ...
## VM
### AZ
is a data center - we take random
![alt text](image-3.png)
![alt text](image-5.png)
### price calculator
always be aware of costs!
> Todo: We need to talk about our budgets
![alt text](image-4.png)
## security group
![alt text](image-6.png)
## IP
![alt text](image-7.png)
## Creating VM
![alt text](image-8.png)
### result
![alt text](image-9.png)
## trying to connect
![alt text](image-10.png)
... company VPN issues :-)
![alt text](image-11.png)
## try to hand over the key ...
![alt text](image-12.png)
![alt text](image-13.png)
## find IP again, try to get in
![alt text](image-16.png)
![alt text](image-14.png)
![alt text](image-15.png)
## current state
![alt text](image-17.png)
## ... break of stephan from 14h45-16h00
## terraform, driver is daniel
![alt text](image-100.png)
![alt text](image-101.png)
![alt text](image-102.png)
![alt text](image-103.png)
![alt text](image-104.png)
![alt text](image-105.png)
![alt text](image-106.png)
![alt text](image-107.png)
![alt text](image-108.png)
![alt text](image-109.png)
![alt text](image-110.png)
## in otc, new driver is cristopher
![alt text](image-111.png)
install terraform ...
![alt text](image-112.png)
### otc provider
![alt text](image-113.png)
![alt text](image-114.png)
![alt text](image-115.png)
![alt text](image-116.png)
### auth
![alt text](image-117.png)
![alt text](image-118.png)
```bash
export OS_ACCESS_KEY=<your-key>
export OS_SECRET_KEY=<your-key>
export OS_SECURITY_TOKEN=<your-token>
```
## apply
![alt text](image-119.png)
![alt text](image-120.png)
![alt text](image-121.png)
## syncing
![alt text](image-122.png)
![alt text](image-123.png)
### statefile, needs to be shared
![alt text](image-124.png)