Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cjtim/homelab
My cloud lab - always free plan 😉 (Terraform/Ansible)
https://github.com/cjtim/homelab
ansible automation homelab kubeadm-cluster kubernetes oracle-cloud terraform
Last synced: 10 days ago
JSON representation
My cloud lab - always free plan 😉 (Terraform/Ansible)
- Host: GitHub
- URL: https://github.com/cjtim/homelab
- Owner: cjtim
- Created: 2023-12-09T19:00:22.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2023-12-09T19:05:09.000Z (11 months ago)
- Last Synced: 2024-04-17T04:36:55.363Z (7 months ago)
- Topics: ansible, automation, homelab, kubeadm-cluster, kubernetes, oracle-cloud, terraform
- Language: HCL
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Homelab server
Oracle cloud always FREE plan!!
![](./diagram.svg)
## Provision steps
1. Create Oracle cloud infrastructure
1. VPC (10.0.0.0/16)
2. 2 Subnet
1. Subnet A (Servers - 10.0.0.0/24)
2. Subnet B (Load balancer - 10.0.1.0/24)
3. Security lists
1. Subnet A
1. Allow ingress from Load Balancer subnet (10.0.1.0/24)
2. Allow egress to 0.0.0.0/0
2. Subnet B
1. Allow ingress from 0.0.0.0/0 to HTTPS (443)
2. Allow ingress from 0.0.0.0/0 to NodePort (25000-35000)
3. Allow ingress from 0.0.0.0/0 to Kubernetes API Server (6443)
4. Allow egress to 0.0.0.0/0
4. Security groups
5. Network Load Balancer
1. L4 load balancer
2. TCP/UDP
6. Instance
1. a1-1 (4vCPU, 24GB, 200GB disk)
1. Cloud-init script are spliting partition 1 to 50GB, partition 2 150GB
2. Run Ansible (Always run)
1. Install Containerd, CNI, Kubeadm, Kubelet, Kubectl
2. Copy Containerd configuration, sysctl