2023-01-30 22:48:07 +01:00
|
|
|
# Deploy Code Server with Hetzner Cloud
|
|
|
|
|
|
|
|
## To run the scrip make it executable
|
|
|
|
```
|
|
|
|
chmod +x deploy.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
## Then execute it
|
|
|
|
```
|
|
|
|
./deploy.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
The script will install all the neccesary packages and create server enviroment
|
|
|
|
|
2023-01-30 22:50:57 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
### Example result of alternating traffic with load balancer
|
|
|
|
|
|
|
|
![alt text](load-balancer.png)
|
|
|
|
|
2023-01-30 22:48:07 +01:00
|
|
|
---
|
|
|
|
## When u want to delete server use cleaning script
|
|
|
|
```
|
|
|
|
chmod +x clean.sh
|
|
|
|
./clean.sh
|
|
|
|
```
|