Infrastructure as Code (IaC)
- To get a server to be useful you need two things:
- Provision (create) the infrastructure
- Configure the infrastructure
- No clear dividing line between provisioning and configuring tools
- Docker is part of IaC, but you still need a deployment framework and hypervisor or other container management software
- IaC should be deployed with CI/CD, but doesn’t have to be
- You’re not safe from your own bad habits
Shiny example:
- Set up a server
- Configure network settings
- Security
- Ports
- Anything else
- Install R (or Python or whatever)
- Install Shiny
- Hosting software