Giter VIP home page Giter VIP logo

azure_looker_cluster's Introduction

Use terraform to automatically set up a Looker cluster on Azure

Prerequisites

  1. Download an appropriate terraform binary and ensure terraform is in your $PATH

Optional: read the documentation for the azurerm provider but don't sweat it because there is nothing to configure

  1. Install the Azure CLI: curl -L https://aka.ms/InstallAzureCli | bash
  2. Login to Azure from the command line by typing az login

Get Started

  1. Open a shell and clone this repository
  2. Update the prefix variable at the top of the azure.tf file.

The purpose of the prefix is to prevent DNS namespace collisions, there are several resources that get created with public URLs and if multiple people use this script without different prefixes, it could cause issues.

  1. Type terraform init to set things up
  2. Type terraform apply and wait about 10 minutes
  3. Now you can browse to the Looker welcome screen at https://dg-looker.eastus.cloudapp.azure.com, where dg is the prefix variable you set and eastus is the location.

This URL is the endpoint for the load balancer

Gotchas and Warnings

Note that because the database initialization step takes a little while, the first Looker instance to initialize will start successfully, but the remaining instances will fail to start, because multiple database initializations cannot be run at the same time. When you have confirmed that the first instance has completed the database initialization, you must SSH into each remaining instance and run sudo systemctl start looker manually.

Do not deploy to production without locking the shared database down!

azure_looker_cluster's People

Watchers

Benn Banks 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.