Cyber security

Microsoft Azure – Cloud Computing Services

Azure Kubernetes Services (AKS) is Microsoft’s managed kubernetes offering running on Azure.

Explore the robust capabilities of Microsoft Azure in our comprehensive guide to cloud computing services.

This article delves into Azure Kubernetes Services (AKS), Microsoft’s managed Kubernetes offering that enhances the scalability and efficiency of your applications.

Get started with a step-by-step setup guide and practical tips to maximize your cloud strategy with Azure.

Prerequisites

Setup

  • First log in to your Azure account by running the command az login and follow the instructions. For alternative ways of logging in, refer to the Azure CLI’s official docs
  • After logging in, in case you have multiple azure subscriptions, we need to set the default context by running the command az account set --subscription <subscriptionName or ID>
    • To list your subscriptions you can run az account list -o table and copy the name or ID of the subscription you want to use.
  • We will now create the resource group for the resources we’ll be creating by running the command az group create --name k8s-goat-eastus-rg --location eastus
    • For this example we’ve used eastus but you can find the list of available regions by running az account list-locations -o table
  • Now we will create the AKS cluster by running the command below. We’re using the default node size and configuration but you can customize it using the available parameters as described at az aks reference
az aks create --resource-group k8s-goat-eastus-rg --name k8s-goat-cluster --enable-managed-identity --node-count 2 --enable-addons monitoring --generate-ssh-keys
  • Once the cluster is ready, you can update your ~/.kube/config file with the following command:
az aks get-credentials --resource-group k8s-goat-eastus-rg --name k8s-goat-cluster
  • Confirm that the cluster has been added to your config and the right context is set by running kubectl cluster-info.
  • Then clone the Kubernetes Goat repository locally by running the following command
git clone https://github.com/madhuakula/kubernetes-goat.git
  • Navigate to the folder for setup and installation of the Kubernetes Goat
cd kubernetes-goat/
Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Pingora : Cloudflare’s Rust-Powered Framework For Next-Gen Proxies

Pingora is a cutting-edge Rust framework designed to build fast, reliable, and programmable networked systems.…

2 hours ago

DockerSpy : Hidden Secrets In Docker Images For Enhanced Security

DockerSpy is a powerful tool designed to perform Open Source Intelligence (OSINT) on Docker Hub,…

2 hours ago

Anki : The Smart Way To Memorize And Master New Information

Anki is a powerful, open-source flashcard software designed to enhance learning and memory retention through…

2 hours ago

Rolldown : A Next-Generation JavaScript Bundler

Rolldown is an innovative JavaScript/TypeScript bundler written in Rust, designed to revolutionize the development workflow…

2 hours ago

Invoke-ArgFuscator : A Tool For Command-Line Obfuscation

Invoke-ArgFuscator is an open-source, cross-platform PowerShell module designed to obfuscate command-line arguments for system-native executables.…

2 hours ago

Morgan : Advanced JavaScript Security Analyzer

Morgan is an advanced JavaScript security analyzer designed to detect and mitigate sensitive data exposure…

3 hours ago