Git Product home page Git Product logo

azureseclab's Introduction

Azure Infrastructure Security Lab

Author Thomas Janetscheck

This repository is currently in preview. PowerShell scripts and ARM templates are still in development, do not use them in production!

Content

This repository contains PowerShell scripts and ARM templates that are used to automatically deploy an Azure hands-on lab environment.

  1. Prerequisites
  2. Background information
  3. Initial lab deployment

Prerequisites

To be able to attend the workshop and complete all hands-on demos, a valid Azure subscription is required. If you don't currently own a subscription or don't have access to one, you can sign up for a free trial here.

Background information

In this one-day workshop you will learn how to securely deploy Azure infrastructure solutions. We will cover the following topics:

  • Azure Security Center
  • Virtual Machines
  • Azure Networking
  • JIT
  • Azure Storage
  • Azure SQL
  • RBAC
  • Governance

Initial lab deployment

All user names and password for the environment are set to labuser / Secur1tyR0cks.

1. Login to Azure Portal with an account that has administrative permissions on an active Azure subscription.

2. Start an elevated Microsoft PowerShell session and make sure you have installed the latest Azure PowerShell module. To find out which module version is installed, run the following command in the PowerShell session:

Get-Module AzureRM -listavailable

If you have not installed an AzureRM PowerShell module please run

Install-Module AzureRM

To update a formerly installed version you can run

Update-Module AzureRM

3. Connect PowerShell to your Azure subscription using the following command. You are prompted to enter your credentials. Interactive logon with multi-factor authentication (MFA) is supported.

Connect-AzureRMAccount

If you own more than own Azure subscriptions and want to connect to a dedicated one, you can use the following command to login:

Connect-AzureRMAccount -SubscriptionID <yourSubscriptionID>

4. To create the lab ressources copy the code below into your PowerShell session and execute it.

$script = Invoke-WebRequest https://raw.githubusercontent.com/azureandbeyond/AzureSecLab/master/PowerShell/deployLab.ps1 -UseBasicParsing
Invoke-Expression $($script.Content)

The deployment takes up to 30 minutes. After the deployment has finished you will be informed in the PowerShell windows.

azureseclab's People

Contributors

tomjanetscheck avatar

Stargazers

Thomas Darimont avatar UNNIE AYILLIATH 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.