terraform-ovh-commons icon indicating copy to clipboard operation
terraform-ovh-commons copied to clipboard

This repo contains commons resources to interact with OVH Public Cloud using Terraform.

Terraforming OVH Public Cloud

This repo contains commons resources to interact with OVH Public Cloud using Terraform.

Description

We provide a step-by-step guide on how to use Terraform with OVH Public Cloud.

This is mainly for learning purpose but the use case presented can be used to deploy real infrastructures. Here, we'll deploy a web application on multiple nodes and multiple regions to be able to address important loads and provide redundancy on two separated datacenters. We'll use hugo, a static blog generator, to keep it simple.

Journey

Introduction: Terraform basics

  • Setup and configuration
  • Variables and outputs
  • State and best practices

Terraforming OVH Public Cloud resources

  • Creating your first instance
  • Multiple instances in multiple datacenters

From test to production environments

  • Secure your instances
  • Multiple environments, manage modules
  • Deploy a multi-region architecture

Moving forward with Terraform best practices

  • WIP: Versionning
  • WIP: Workspace

Scalling and rolling upgrade, let the magic happen

  • WIP: Scale Up/Down
  • WIP: Rolling Upgrade

Schema

Architecture

License

The 3-Clause BSD License. See LICENSE for full details.