Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Courses
Linux Advanced
Deploy in Cloud
Commits
cd9372c3
Verified
Commit
cd9372c3
authored
Nov 01, 2021
by
Roberto Bochet
Browse files
Created schedule
parent
2b7abf5f
Pipeline
#940
passed with stage
in 1 minute and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
slides/content.md
View file @
cd9372c3
#
Intro e outro dentro l'HTML
#
# Self hosting
Il markdown contiene solo il contenuto.
----
Perchè selfhostare?
-
Ampia scelta di servizi
-
... che sono più personalizzabili (CI gitlab)
-
... e più privati!
E poi nemmeno i servizi di google sono per sempre...
https://github.com/awesome-selfhosted/awesome-selfhosted
https://killedbygoogle.com/
----
Metodologia di deploy
-
Server fisico (/@home)
-
VPS
----
### Server fisico
Pro:
-
Allocazione statica delle risorse
Contro:
-
Costo
-
Configurazione
----
### VPS
Pro:
-
Costo
-
Configurazione
-
Velocità di deploy / flessibilità
-
Provisioning
Di base si possono fare le slide anche in HTML se si vogliono animazioni buffe.
Contro:
-
Allocazione dinamica delle risorse
---
## Creazione VPS
----
### Scelta del provider
-
Costo per risorse
-
Tipo di servizio: Uptime/Saas
-
Uptime
-
NON OVH
-
Regione
-
NON ~~FRANCESE~~ OVH
-
Flessibilità
----
This is a long dash -- made of two little dashes (
`--`
).
### Lista providers
-
AWS
-
Azure
-
Google Console
-
Aruba
-
This dash is even longer --- and it is made of three little dashes (
`---`
).
---
"Quoting" is fun and easy.
`"`
Plain quoting
`"`
is ugly.
## Accesso
----
# Heading level 1
### SSH
cos'è
-
accesso con la password
-
accesso con le chiavi
## Heading level 2
----
### Autenticazione
### Heading level 3
come funzionano le chiavi asimmetriche (vantaggi sulla password)
#### Heading level 4
---
There are
**no**
more heading levels.
## Firewall
----
<x-section-title>
This is a section title
</x-section-title>
### Porte TCP/UDP
If you want the section title in the top-right cornet
you can add
**<x-section-title>title</x-section-title>**
in the slide
----
### Perchè sbattersi per chiudere le porte
----
### Cos'è un firewall
----
```
python
import
sys
### UFW
----
x
=
1
+
2
### E la porta SSH(22)?
if
x
>
2
:
pass
---
try
:
with
open
(
'/dev/null'
)
as
f
:
pass
except
IOError
:
raise
Exception
(
'Error!'
)
finally
:
sys
.
exit
()
```
## Deploy di servizi
----
-
Do you remember bullet list?
```
python
bullet_list
=
[
"Do you remember bullet list?"
]
```
-
You can also allign code to bullet lists!
```
python
bullet_list
.
append
(
"You can also allign code to bullet lists!"
)
```
-
It's not too hard!
```
python
if
not
hard
:
bullet_list
.
append
(
"It's not too hard!"
)
```
\ No newline at end of file
### Sistemi di deploy
-
Su ferro
-
Container (podman/docker)
-
Orchestrato
----
### Docker(container)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment