Giter VIP home page Giter VIP logo

workshop-301's Introduction

This is an "Infrastructure as Code" workshop using:

Purpose

You'll run a workshop which present you some "Infrastructure as Code" basics. IaC is the art of deploying and managing IT resources using programs and definition files in order to automatize and benefit from all the best practices in the development process like patching, templating, versioning and many others.

There will be 3 environments:

  • Dev: This environment is really simple and flexible, you'll learn here how to use OpenStack CLI and cloud-init script to manage post install configuration
  • Test: This one shows how to use Terraform, an orchestrator tool. You'll manipulate some resources, modules and template definitions with dependences
  • Prod: The last environment uses a versioned code to stabilize the infrastructure. You'll see also how to scale up and down an infrastructure

Broadly speaking, the workshop presents files with missing parts and you'll have to complete its with copy/paste actions. Of course, the interest for you is to pay attention on the code structure and best practices to understand the possibilities you have with IaC.

Schema

Test architecture

Requirements

To start the workshop, you'll need an OVH Account, a new cloud project attached to a vRack.

OVH account

You can skip this section if you already have one but be sure to be able to run a workshop on it (your company could have some restrictions about that if you plane to use your company's account).

If you run this workshop online and you don't have an account, just sign up and log in to the web console.

If you run this workshop during a training session, the OVH account creation is not include in the schedule (1h30). Be sure to have it before the session and go directly in to the web console.

Cloud project

Click on the "Cloud" tab then on "Order" button. Select "Cloud Project" and use your voucher code to apply.

vRack

Once your cloud project is ready, click on "Enable the vRack" and go through the command process. Wait up to 3 min and go back to the web console in "Dedicated" tab then click on the vRack menu. Here you should see a new vRack named "pn-XXX". Select this vRack and add your cloud project inside using the "Add" button.

An OpenStack User

Go back to your cloud project and click on "OpenStack" in the left bar, then on "Add a User".

Now we'll get the configuration file for this user. Click on the small tool icon on the right side of the user line, then on "Download the OpenStack configuration file". Keep the text editor open, we'll copy/paste the content of this file.

Video

If you need help on that part, please watch those videos:

Let's Go!

A server is available with a prepared environment.

The IP and the password are provided during the workshop. You have to give a unique ID, it can be your desktop ID or your firstname.name (without accent and space). In case of connection lost, just redo the same.

Create a file named credentials and paste the content of the downloaded file on the previous step.

git clone https://github.com/pilgrimstack/workshop-301.git
cd workshop-301/0.dev

Let's go to the development environment.

workshop-301's People

Contributors

batchris avatar cgoubert avatar pilgrimstack 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.