Giter Club home page Giter Club logo

infrastructure_demos's Introduction

"Infrastructure as Code" Demos

For contemporary cloud deployments, there's a common approach to use a library, framework, or scripting language to implement what's referred to as "Infrastructure as Code". Things like IP Addresses, ports, available connections, runtime applications, and Docker containers that make up the infrastructure of a cloud deployment. These contemporary "Infrastructure as Code" demos provide the means to manage these configurations through a simple text file that can be committed to a Version Control System.

Most will use YAML or JSON files for configuration, but some approaches use scripting languages to more programmatically establish the infrastructure. Ultimately, though, in all approaches, the result is meant to be similar to the concept of "lock files". You should get a fixed infrastructure as established by the configuration file(s) or script(s), and you should be able to commit them to your VCS. Then as bugs are found/resolved, or if you need to scale up or scale down, you should be able to track those infrastructure changes through your VCS.

All of this means that you no longer need to rely on UI-based settings selections, since you should be able to design and deploy your infrastructure through scripts and files that can be shared, duplicated, and monitored for changes. This adds consistency, extensibility, and sensible management to your cloud infrastructure.

  • Terraform
  • Pulumi

Terraform

Terraform is a deployment management system that uses its own scripting language ("HashiCorp Configuration Language") in *.tf files to orchestrate and configure deployments. Plans are then generated from these scripts, and the steps of the plans are followed to launch the deployment.

To run any of the Terraform examples, you need to have the following prerequisites available on your system:

Pulumi

Pulumi is similar to Terraform, but there are key differences:

  • Pulumi supports extant scripting languages (Python, go, etc.) instead of creating its own.
  • Pulumi is thus, arguably, more programmatic with its deployment orchestrations.
  • Pulumi, by default, avoids allowing you to do detailed management with the equivalents of the Terraform "State Files". The argument is that this is a lower barrier to entry, and the provide best-practices management for you. But, of course, you're giving away some of the lower-level detailed control, and it's not something that's easily changed once you get deep into a project.

To run any of the Pulumi examples, you need to have the following prerequisites available on your system:

infrastructure_demos's People

Contributors

tommypkeane 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.