Giter VIP home page Giter VIP logo

tf-handson's Introduction

Complete Terraform Course

Course on Youtube


Timestamps in Description

  1. Evolution of Cloud + Infrastructure as Code (IaC)
  2. Terraform Overview + Setup
  3. Basic Terraform Usage
  4. Variables and Outputs
  5. Language Features
  6. Project Organization + Modules
  7. Managing Multiple Environments
  8. Testing Terraform Code
  9. Developer Workflows


What is Terraform?

Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently.

- According to HashiCorp


Reference Architecture

  • Basic web application
  • Infrastructure all within AWS
  • Multiple instance running on EC2
  • Using default VPC for simplicity

flowchart TD
  A[Amazon Route 53] --> B[Elastic Load Balancing]
  B --> Compute
  subgraph Compute
    C[Amazon EC2]
    D[Amazon EC2]
  end
  subgraph Database
    F[(Amazon RDS)]
  end
  Compute --- S
  subgraph S[Amazon S3]
    G[(Bucket)]
  end
  Compute --- Database



Pre-Cloud 1990s -> 2000s

  • Operational Overhead가 매우 Challanging했다.
  • Capital Expenses를 운영자가 각각 부담해야 했다.
  • On Promise -> Cloud (On Demand)

Infrastructure provisioned via APIs

  • Infrastructure provisioned via APIs.
  • Servers created & destroyed in seconds.
  • Long-lived + mutable -> Short-lived + immutable

Provisioning Cloud Resources

Three Approaches

  • GUI (AWS Consoles, ...)
  • API/CLI (AWS CLI, ...)
  • IaC (Terraform, Serverless, ...)

코드 베이스로 인프라 프로비저닝이 가능함에 따라 일관된 설정과 구성을 명시적으로 나타내고 관리할 수 있다.


What is Infrastructure as Code (IaC)?

Categories of IaC tools: 1

  1. Ad hoc scripts
  2. Configuration management tools
  3. Server Templating tools
  4. Orchestration tools (e.g. Kubernetes)
  5. Provisioning tools
  • Declarative(선언형) vs. Imperative(명령형)

IaC Provisioning Tools Landscape

Cloud Specific

  • Cloud Formation
  • Azure Resource Manager
  • Google Cloud Deployment Manager

Cloud Agnostic

  • Terraform
  • Pulumi
  • Serverless






1: From Terraform: Up & Running Writing Infrastructure as Code, Second Edition (O'Reilly Media, 2019) by Yevgeniy Brickman

tf-handson's People

Contributors

wonkooklee avatar

Watchers

 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.