Skip to content

Instantly share code, notes, and snippets.

View IPvPho's full-sized avatar

Chris Randall IPvPho

View GitHub Profile
@IPvPho
IPvPho / main.tf
Last active November 5, 2021 22:29 — forked from Chris-Randall-CDW/TF Examples
TF Examples
provider "azurerm" {
features {}
}
resource "azurerm_resource_group" "rgs" {
for_each = var.rgs
name = each.value["name"]
location = each.value["location"]
tags = lookup(each.value, "tags", null)
}
@IPvPho
IPvPho / Script_Apex.lua
Created October 21, 2021 13:16
Test Script for no recoil
--=================================== www.CSMacro.com =========================================---
--===========================Apex Legends - Sens 2 - v2004-20H2 or higher=====================================---
--- Change the nil value to a mouse button which you want to use.
--- When the script is activated the CapsLock light will goes ON from your keyboard.
--- With clicking again the same button the weapon will be deactivated.
--- You can use for deactivating a different assignment with the ALL_OFF to a mouse / keyboard button.
--- The Keyboard assignmend works only with Logitech G Keyboards.
@IPvPho
IPvPho / AZ_WAF.md
Last active October 14, 2021 20:36
Five Pillars of WAF

Azure Well-Architected Framework

Azure Well Architected-Framework @ Microsoft Learn

Five Pillars of Azure Well Architected-Framework:

  • Cost Optimization
  • Operational Excellence
  • Performance Efficiency
  • Reliability
@IPvPho
IPvPho / test.bicep
Last active October 6, 2021 18:39
Bicep Test Run #bicep
@minLength(3)
@maxLength(24)
@description('Provide a name for the storage account. Use only lower case letters and numbers. The name must be unique accros Azure.')
param storageName string
resource virtualNetwork 'Microsoft.Network/virtualNetworks@2019-11-01' = {
name: 'examplevnet'
location: resourceGroup().location
properties: {
addressSpace: {
@IPvPho
IPvPho / AZ-900 Fundamentals.md
Last active November 20, 2021 13:33
AZ-900 Fundamentals #az

Azure Fundamentals

Azure Services

Azure Services

  • Compute
    • VMs, VM Scale Sets, K8's, Service fabric, Batch, Container Instances, Functions.
  • Networking
    • Virtual Network, Load Balancer, Application Gateway, VPN Gateway, DNS, Content Delivery Network, DDoS Protection, Traffic Manager, ExpressRoute, Network Watcher, Virtual WAN.
  • Storage
@IPvPho
IPvPho / main.tf
Last active September 27, 2021 12:47
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 2.65"
}
}
required_version = ">= 0.15.0"
}
@IPvPho
IPvPho / Terraform_Intro.md
Last active September 18, 2021 16:18
TF_Intro

Defense In Depth

  • Defense In Depth is a strategy that employs a series of mechanisms to slow the advance of an attack that is aimed at acquiring unauthorized access to information. Each layer provides protection so that if one layer is breached, a subsequent layer is already in place to prevent further exposure.

Zero Trust Model

  • States you should never assume trust but instead continually validate trust.
  • Relies on verifiable user and device trust claims to grant access to organizational resources.
@IPvPho
IPvPho / Securing Network Connectivity on Azure.md
Last active September 18, 2021 12:32
Securing Network Connectivity on Azure

Network Security Groups

  • Enables you to filter network traffic to and from Azure resources within an Azure Virtual Network.
  • Similar to an internal firewall.
  • Can contain multiple inbound and outbound security rules that enable you to filter traffic to and from resources by Source and Destination IP address, port, and protocol.

How Do I Specify NSG Rules? >

@IPvPho
IPvPho / Azure DB & Analytics.md
Last active September 18, 2021 12:33
Azure DB & Analytics

Azure Cosmos DB

  • A globally distributed, multi-model database service.
  • Can elastically and independently scale throughput and storage across any number of Azure regions . worldwide.
  • Take advantage of fast, single-digit-millisecond data access by using any one of the API's.
  • Provides comprehensive service level agreements for throughput, latency, availability, and consistency guarantees.