Skip to content

covid-taskforce-cplp/covid-taskforce-cplp-infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covid-taskforce-cplp-infra

This repository contain the main Ansible Infrastructure-As-Code from the covid-taskforce-cplp organization. The non-Ansible resources are on the logbooks folder.

List of servers

Check also: Infra resources of covid-taskforce-cplpOrganization Dashboard.

oswaldo-cruz.vps.etica.ai

This is the "main" server for heavy workloads. Addtional servers may be added later.

  • DNS: oswaldo-cruz.vps.etica.ai
  • IP: 167.86.127.220 (Please: use DNS and not IP on your applications, this may change!)
  • RAM: 8GB
  • Disk:: 200GB SSD
  • Network: 200Mbit/s (UNLIMITED Traffic)
  • Cost: 4.99 EUR / month (via @fititnt)

oswaldo-cruz.hom.vps.etica.ai

This is the "homolog/testing server version of oswaldo-cruz.vps.etica.ai

  • DNS: oswaldo-cruz.hom.vps.etica.ai
  • IP: 167.86.127.225
  • RAM: 8GB
  • Disk:: 200GB SSD
  • Network: 200Mbit/s (UNLIMITED Traffic)
  • Cost: 4.99 EUR / month (via @fititnt)

covid-chagas.vps.etica.ai

Proxy server

See logbooks/squid-install-public-readme-v2.md. Initial work done in just the middle of a night by @joaogerardo on very early days of the @covid-taskforce-cplp to help someone outside brazil who could not access some brazilian IP adress.

  • DNS: covid-chagas.vps.etica.ai
  • IP: 191.252.103.250
  • RAM: 512MB
  • Disk:: 20GB SSD
  • Network: ? (Note: maximum 1TB of data transfer without extra costs)
  • Cost: 15,90 BRL / month (via @fititnt)

Usage

Assuming you already have the Requisites meet, have the .valt/secret file with the same value of who created the valted passwords, and the computer running Ansible already can ssh on the target servers, this is a quickstart on how to run.

Production mode

Oswaldo

ansible-playbook -i inventories/oswaldo-prod/ --vault-password-file .valt/pass playbook.yml

Chagas

Chagas server is not using Ansible at this moment.

Homolog mode

Oswaldo

ansible-playbook -i inventories/oswaldo-homolog/ --vault-password-file .valt/pass playbook.yml

About .valt/pass

Please read .valt/README.md.

Requisites

Ansible

Follow the https://docs.ansible.com: Installation Guide

Windows users can use Windows WSL (then could choose Ubuntu 18.04 LTS). Check this Windows Frequently Asked Questions

Releases

No releases published

Packages

No packages published