---
# System prepended metadata

title: HTTPS AWS

---

# HTTPS AWS
**1.Primer creem la instancia a AWS.**
![](https://i.imgur.com/TXqUAWc.png)
![](https://i.imgur.com/YKQmgzh.png)


**2.Ens conectem per SSH en el terminal a les claus amb la comanda "shh -i practicaalejandro.pem ubuntu@54.221.56.213".**
![](https://i.imgur.com/TkeogMQ.png)


**3.Instalem el apache2 al terminal dins del ssh.**
![](https://i.imgur.com/V2w50F6.png)


**4.Anem al Cloudflare i afegim el site**
![](https://i.imgur.com/Z3cpnJ0.png)


**5.Editem els records i els confirmem.**
![](https://i.imgur.com/d4sLVrK.png)
![](https://i.imgur.com/y9sc4Hn.png)


**6.Gestionem el domini del freenom pero enllaçar amb el cloudflare**
![](https://i.imgur.com/Mqr6pCn.png)


**7.Creem el certificat amb certbot**
![](https://i.imgur.com/O6BiwWw.png)
![](https://i.imgur.com/jwTjW6K.png)
![](https://i.imgur.com/aKx6AHV.png)


**8.Editem el index.html**
![](https://i.imgur.com/jZnAjD4.png)
