Azure Implementation

Task 1: Creating Subscription:

  • Login to Azure account
  • Click on Subscriptions then click on Add
  • then click on free trial then click on Activate

Task 2: Configure billing alerts:

  • Click on Subscriptions then click on Free trail then select manage
  • then click on Preview Features then click on Billing alerts (Try it) then click on Subscriptions
  • then click on Free Trail select Alerts then give alert name then select Alert for (Billing Total)
  • Amount sent (10) then enter email([email protected]) then save

Task 3: Create subscription policies:

  • Go to Subscription then click on pay-as-you-go subscription then policies then assign Policy
  • choose the subscription then policy definition then selects any policy then give assignment name
  • then select allowed SKUs then select what you need then click on assign

Task 4: Configure Monitoring:

  • go to portal then click on Monitor then explore metrics the choose the subscription
  • choose the resource group then choose resource type then select the VM then select metrics
  • then enter Percentage CPU then select the duration then choose aggregation then pin to dashboard

Task 5: Create alerts in monitoring:

  • go to portal then click on Monitor then create alert then choose subscription then select resource
  • then select VM then create then add condition then give Time aggregation (average) then choose Threshold (90) then click on done
  • then action groups then create new then action group name then short name then choose Subscription then choose resource group then action name the select action type (Automation Runbook) then click on ok
  • then select action groups then select existing then select an action group then add then select alert rule name (CPU over 90%) then write Description
  • then Select Severity then select yes then create alert rule

Task 6: Creating resource group and tagging:

  • Go to portal click on Resource groups then click on Add
  • Click on Subscription then give new name to resource group
  • Then choose the region then click on tags and write the Tag name and write the Tag value then click on review and create then click on Create

Task 7: Configure Locks:

  • To create a lock for our Resource group then go to portal and click on your Resource group
  • then select Locks the click on +Add
  • then give the lock name and select the lock type (read only / cannot delete) the click on OK

Task 8: Moving resources between resource group:

  • Click on one resource group then click on Move the choose Move to another resource group
  • select the resources which you want to move then select the target resource group
  • click on check box the click on OK

Task 9: Creating storage account:

  • To create a storage account first create new resource group then click on the resource group the click on +Add
  • then type Storage Account – blob, file, table, queue then select that and click on create then give a name to the storage account then choose Deployment model as Resource manager
  • now select the Account kind (storage account type StorageV2) then select the Access tier type (cool/hot)
  • then select Replication type (LRS) then disable the Secure transfer require then select subscription
  • then select the resource group then select the location then disable the Virtual network the click on create

Task 10: Configure Azure storage explorer:

  • we need to download the Azure Storage Explorer from https://azure.microsoft.com/en-us/features/storage-explorer/
  • click on download Azure Storage Explorer then open the file then we need to sign in to the explorer with our azure account details
  • click on Apply then click on the storage account that we have created now we will try to add some content to our storage account so select Blob Container
  • right click on it then create a new Blob container the click on images the click on upload then select upload files then select the images from your system select open then click on upload

Task 11: Configure Shared Access Signature:

  • Go to portal select the storage account then click on access keys
  • select allowed services then select the allowed IP address then select option allowed protocols
  • then select the signing key then click on generate SAS

Task 12: Creating CDN:

  • first, we need to create a new resource so click on create a resource select web + mobile
  • then select CDN then create a CDN profile enter CDN name select the subscription
  • then select the resource group name select the pricing tier (standard akamai) then click on create
  • Now we will add the endpoint for the CND click on + Add an endpoint then give a name to that endpoint
  • then select origin type then select origin hostname then choose the option of optimized for then click on Add

Task 13: Configure Azure file:

  • Go to portal and create a new storage account then fill all the details once it is created
  • open the storage account select File the click on + File share then give a name
  • then enter the quota((10GB) how much you) want then click on create
  • click on context menu of File the click on connect copy the URL then open PowerShell ISE
  • open the file and paste the URL the click on RUN then it will create Z drive.

Task 14: Configure Azure file Sync:

  • first, we have to create a new storage account then select File then create a new File share now connect windows VM with RDP open PowerShell then run as admin then paste code from website Then Install-Module -Name AzureRM Then enter Y
  • Now open the storage account then type Azure File Sync then click on create then give the name and select the subscription then select the resource group then select the location then click on create.
  • click on the file then click on + add sync group then give sync group name then select the subscription then select the storage account then select the Azure file share (that we created earlier) then click on create.
  • then go back to the PowerShell then complete the registration now we will add the server endpoint so go to the portal click on file sync group that we created
  • then click on add server endpoint choose the registered server that we have created earlier then set the path (D:/Skylines) then disable the cloud tiering then click on create.

Task 15: Create Azure Backup:

  • Go to portal create a resource select Backup and Site Recovery (OMS) then click on create
  • give the name then choose the subscription then choose the resource group then select the location
  • then click on create go to that resource then click on backup choose where is our workload running (azure/On-Premises) then choose what do you want to backup
  • then click on Backup then choose the policy or create new fill the details then click on Ok
  • then select the items to backup click ok then if you want to backup the VM then go to that VM and click on + Backup.

Task 16: Creating Virtual Machine -windows:

  • Go to portal and click on Virtual machine then click on + add then choose the subscription then choose the resource group Then choose the region then choose the availability region then choose the Image
  • Then choose the VM size then select the size then give username and password to access the VM Then select the Public inbound ports
  • then select the inbound ports Then select the license if you have the license then select Disk then choose the disk type
  • if you want you can create extra disk here select the disk type give the name then enter the disk size then select the source type then click on ok
  • then select the networking then choose the virtual network the choose the subnet the choose the network security group
  • then choose public inbound ports then select inbound ports the select options of acceleration networking then select load balancing
  • then click on management here you select boost diagnostics and OS guest diagnostics then select diagnostic storage account
  • then we can enable auto shutdown here we can schedule the auto shutdown then create tags then click on review + create then click on create.

Task 17: Creating Virtual Machine -Linux:

  • follow the same steps except select the image as centos/ubuntu Linux then create SSH key

Task 18: Create Custom Images:

  • Go to portal select VM and click on connect the open terminal go to C drive then windows then System32
  • then double click o Sysprep select the generalize box the select shutdown
  • Then open portal then open VM click on Capture then give the name to the image then select the resource group Then click on the check box to delete the VM automatically after creating image then click on create

Task 19: To attach disk to VM:

  • Go to VM then select disks then click on + add data disk and select the disk

Task 20: Creating Managed disk and unmanaged disk:

  • Virtual machines then click on create then click on next then select OS disk type standard HDD then click on managed disk no then select the storage account and create

  • Go to storage accounts then choose which you selected will creating VM then select blobs then give container name

  • VM then click on disks then migrate to managed disks then refresh to make changes effect then click on edit to make host changes then select none

  • Changing of host caching to avoid charges then Choose the disk then click on Create snapshot

Task 21: Creating disk from the Snapshot:

  • Go to all services then select disks then click + add then click source snapshot choose the one we created now

Task 22: Availability Sets:

  • Go to portal select Availability sets click on + Add then give the name then select the subscription
  • Then select the location then select the fault domains and update domains then choose managed disks
  • Then click on create.

Task 23: VM Scale Sets:

  • Go to portal search scale sets the click on + add then give name
  • then select the operating system disk image then choose the subscription then choose the resource group
  • then select the location then give the username and password then select the VM then VM size then give the public IP address name then give domain name label
  • then enable auto scale select minimum number of VMs and select Maximum number of VMs
  • then select out here enter CPU threshold % then enter number of VMs to increase by, then select scale in here enter the CPU threshold % then enter number of VMs to decrease by, then click on create.

Task 24: Creating VNETs:

  • Go to Virtual networks then + Add then fill in the details

  • Name of Virtual network then Address space then select Subscription then select Resource group

  • Location in which you have you VM else you cannot launch that in this newly created Virtual Network then select Public subnet then select Address range

Task 25: Creating subnet:

  • Go to virtual network then choose subnet then create subnet then give name private

  • the select Address range the select Service endpoints

Task 26: Create Routing and Peering between VM Networks:

  • Go to Virtual networks then select first Virtual network then select peering then choose virtual network that we want to peering
  • Repeat the above step from the other virtual network and target to virtual network we did first

Task 27: Create and Configure Network Security Group:

  • Go to All services then click on application security group
  • then click on add then click on create

Task 28: Configure self-service password reset:

  • Go to All services then select access reviews then click on onboard then click on create then choose program then

  • click on new program then select default program then select controls then select new access review

  • Click on Azure active directory then choose one then click on password reset then select properties then select all then click on save