Skip to content

Instantly share code, notes, and snippets.

@sathishphcl
sathishphcl / Export-NSG.ps1
Created December 31, 2021 02:00 — forked from dnewsholme/Export-NSG.ps1
Export-NSG.ps1
[CmdletBinding()]
PARAM()
<# CONSTANTS
$AzureDefaultRuleNames contains the names of the defaule rules in an Azure Network Security Group.
These names can be updated if Microsoft introduce new default rules in to Azure Network Security Groups.
#>
$AzureDefaultRuleNames = @("ALLOW VNET INBOUND", "ALLOW AZURE LOAD BALANCER INBOUND", "DENY ALL INBOUND", "ALLOW VNET OUTBOUND", "ALLOW INTERNET OUTBOUND", "DENY ALL OUTBOUND")
@sathishphcl
sathishphcl / gsutil-commands.md
Created December 31, 2021 01:52 — forked from mikesparr/gsutil-commands.md
Google Cloud Storage Commands

Security

Assign IAM roles to buckets:

gsutil iam ch user:(user_email):(role1,role2) gs://(BUCKET)

Remove IAM role from bucket:

gsutil iam ch -d user:(user_email):(role1,role2) gs://(BUCKET)

Remove all roles from bucket for given user:

gsutil iam ch -d user:(user_email) gs://(BUCKET)

@sathishphcl
sathishphcl / devops.md
Created December 31, 2021 01:36
gcp devops review
@sathishphcl
sathishphcl / core-arch-training.md
Created December 31, 2021 01:33 — forked from pydevops/core-arch-training.md
Core cloud architecture training videos

The following videos, or playlists, can help ensure consistent knowledge amongst all core team members and help make customer support easier.

  • CS fundamentals - 12-min videos (9 hr)

    • Learn about computer origins, transistors, logic gates, and computer architecture

    • Learn about binary, bits, and bytes (bits, bytes, and octets key in networking)

    • Computer architecture, programming, languages, ML, robotics