Monday, December 30, 2019

How to Implement Azure Bastion

Secure remote access solution using Azure Bastion Host for entire Azure VMs


What is Azure Bastion Why we should use?
Azure Bastion is replacement of Jump-server (jump-box). By Azure Bastion you can access your Azure VMs over Private IP instead of Public IP using Remote Desktop (RDP) and Secure SHell (SSH) using browser on 443 secure port & SSL Certificate and best part of it you can copy any thing from base machine to connected server.

As of now we use to deeply VM for jump server which is costly and needs to maintain where is Azure Bastion Host is cheaper, effectively more secure and simpler to maintain scalable. It can be use for auditing purpose as well. Microsoft has already invested on more 1 USD billion on it and later you will be getting video recording feature and many more.


Feature of  Azure Bastion & Architecture

Create a fully configured virtual machine using PowerShell



First of all you need to login Azure Subscription using PowerShell command line-




Connect-AzAccount

=========VM Script==============

# Variables for common values
$resourceGroup = "myRG"
$location = "eastus"
$vmName = "myVM"

# Create user object
$cred = Get-Credential -Message "Enter a username and password for the virtual machine."

# Create a resource group
New-AzResourceGroup -Name $resourceGroup -Location $location

Saturday, December 28, 2019

Azure Azure Hybrid Cloud Setup

Azure Hybrid Cloud Setup 

Azure Site and  own primrose inter-connectivity


In this Lab we will be implementing 3 Sites

EAST US - Site A -LAB1 Exercise 



Exercise 1- Resource Group - RGEastUS  
 How to Create a Resource Group using Azure Portal 

(Resource Group LAB in details with Screenshots)

To Create/Implement Resource Group follow below steps-
 
Step 1- Search for Resource Group in search bar.
Step 2- Click on Create Resource Group
Step 3- Select the Subscription
Step 4- Enter Resource Group Name- e.g. "RGEastUS"
Step 5- Select the Region where you wanted to publish your resource- "EastUS". .
Step 6- Review & Create




Create VM using PowerShell Script

Lab Exercise includes as below




In this lab we will be implementing centOs 7.0 with PowerShell script later we will be configuring Apache Server.