Coder Social home page Coder Social logo

gldevopstraineetest's Introduction

GLDevOpsTraineeTest

Hi!

Our task consists of two scenarios

Let me tell what I've done in the first one:

the goal was to deploy infrastructure as showed below

image

Firstly, authenticating using a Service Principal with a Client Secret in the Cloud Shell. Described this providers:

  • resource group
  • vnet
  • subnet
  • network security group (with 80 HTTP port opened)
  • publicIp x 3 (for LB x 1, for VMs x 2)
  • network interfaces x 2 for VMs
  • subnet network security group association
  • load balancer
  • lb probe (TCP/80)
  • lb rule (TCP/80)
  • VMs(2019-Datacenter) x 2 in different AZs
  • DNS zone

image(1)

here we goo) moving to the next step:

  • connecting to VMs via azure bastion and exexute folowing script to setup WinRM

winrm quickconfig

netsh advfirewall firewall add rule name=”WinRM-HTTP” dir=in localport=5985 protocol=TCP action=allow

  • next starting our script "script.ps1", which connects to VMs via WinRM and deploys are IIS, cleans our website/appPool

Our website:

image

Going to Default.html, created by the script, and opening one more window to be make sure LB is working properly:

image

the same link, different IPs

That`s all, thanks for paying attention)

gldevopstraineetest's People

Contributors

panasyg avatar

Stargazers

 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.