Coder Social home page Coder Social logo

terraform-workshop-hogent's Introduction

Terraform workshop HoGent

This repository contains the IaC (infrastructure as code) for the Terraform workshop for HoGent during the Tech & Trend days (February 16, 2023).

Goal of this workshop

The goal of this workshop is to deploy an immutable (not possible to change after creation) webserver. We will have a first hands-on with Terraform and run some basic commands. We will use Google Cloud as cloud provider to apply this infrastructure.

Prerequisites

  • Terraform (Add it to your PATH)
  • An active Google Cloud account with JSON key file

Workshop

Install Terraform

  1. Install Terraform (https://www.terraform.io/downloads)

  2. Test the installation with terraform version

Google Cloud authentication

  1. export the JSON key file for authentication with Google Cloud (https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials)

    export GOOGLE_APPLICATION_CREDENTIALS={path_to_key_file}

Write your infrastructure as code and run Terraform

  1. Terraform init

    terraform init
  2. Terraform plan

    terraform plan
  3. Terraform apply

    terraform apply
  4. Destroy your infrastructure

    terraform destroy

terraform-workshop-hogent's People

Contributors

jonathanvansina avatar

Watchers

James Cloos avatar Louis De jaeger avatar Thibault Maekelbergh avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.