Infraestructura como Codigo crear tu propia VPN

Iniciado por CodePunisher, Julio 02, 2019, 02:01:32 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Despliega tu propia red VPN (Point-to-Point) para salvaguardar tu privacidad, anonimato y sin limitaciones.
La instancia que se desplegara será de tipo spot (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login). En cuanto al despliegue el estado de terraform puede ser guardado en un bucket aws s3 (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login), terraform enterprise (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login) y de manera local, al momento de desconectarse de la VPN se eliminará de manera automatica la infraestructura y el estado de terraform (tfstate).
Repositorio


git clone You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login:davispalomino/aws-vpn-anon.git .
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Requisitos

- Cuenta AWS secret-access key
- AWS-cli (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login)
- Packer (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login)
- Ansible (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login)
- Terraform (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login)
- Centos 7* (en caso de tener otra distro deberas editar la línea 184 del archivo Makefile "sudo yum install -y ppp pptp pptp-setup" reemplazarlo según su distro)

Variables Requeridas
Name    Description    Type    Default    Required
REGION    Region de despliegue de infraestructura.    string    us-east-1    yes
TYPE    El tipo de servidor para la conexión VPN. standar/advance/high    string    standar    yes
SUBNET    La Subnet en la que se desplegara la infraestructura (requerida - PUBLIC).    string    n/a    yes
TFSTATE    Especificar si el tfstate se guardara en s3(bucket), enterprise(terraform) o local (You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login)    string    local    yes

Ejecución

make quickstart

Desconección

make disconnect

Deployment


Infraestructura


View
[![asciicast](You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login)](You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login)