Coder Social home page Coder Social logo

spofibo / pulumi-azure-ts-flexiblemysql Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 56 KB

Deploying a FlexibleMySQL instance on Azure with Pulumi

License: GNU Affero General Public License v3.0

TypeScript 100.00%
pulumi azure typescript flexiblemysql pulumi-azure

pulumi-azure-ts-flexiblemysql's Introduction

Azure FlexibleMySQL using the native Azure Provider

This example deploys a FlexibleMySQL server on Azure.

Deploying the App

To deploy your infrastructure, follow the below steps.

Prerequisites

  1. Install Pulumi
  2. Install node.js
  3. Configure Azure Credentials

Steps

After cloning this repo, from this working directory, run these commands:

  1. Create a new stack, which is an isolated deployment target for this example:

    $ pulumi stack init dev
  2. Next, install the dependencies:

    $ npm install
  3. Login to Azure CLI (you will be prompted to do this during deployment if you forget this step):

    $ az login
  4. Set the Azure region location to use:

    $ pulumi config set azure-native:location eastus
    $ pulumi config set username resu
    $ pulumi config set --secret password drowssap
    
  5. Stand up the cluster by invoking pulumi

    $ pulumi up
  6. Check the server's fqdn address:

    $ pulumi stack output mysqlFqdn
  7. From there, feel free to experiment. Simply making edits and running pulumi up will incrementally update your stack.

  8. Once you've finished experimenting, tear down your stack's resources by destroying and removing it:

    $ pulumi destroy --yes
    $ pulumi stack rm --yes

pulumi-azure-ts-flexiblemysql's People

Contributors

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