AZURE HEROES
  • Home-Updates
  • Blog
    • Azure Blog
    • Azure Heroes Events >
      • Azure Heroes Sessions #1
      • Azure Heroes Sessions #2
      • Azure Heroes Sessions #3
      • Azure Heroes Sessions #4
      • Azure Heroes Sessions #5
      • Azure Heroes Sessions #6
      • Azure Heroes Sessions #7
  • Who We Are!
  • eBooks
  • Azure All In One!
    • Azure Disk & Storage
    • Azure Network
    • Azure VPN
    • Azure VMs
  • Free Azure Support!
  • Contact Us
  • Events
    • Beginners Event
    • Developers Event
    • Special Event
    • Azure Workshop #4
    • Azure Workshop #5
    • Azure Workshop #6
    • Azure Workshop #7
    • Azure Workshop #8
    • Azure Heroes Sessions #9
    • Azure Heroes Sessions #10
    • Azure Heroes Sessions #11
    • Azure Heroes Sessions #12
    • Azure Heroes Sessions #13
    • Azure Heroes Sessions #14
    • Azure Heroes Sessions #15
    • Azure Heroes Sessions #16
    • Azure Heroes Sessions #17
    • Azure Heroes Sessions #18
  • Registration Form
  • Privacy Policy
  • Home-Updates
  • Blog
    • Azure Blog
    • Azure Heroes Events >
      • Azure Heroes Sessions #1
      • Azure Heroes Sessions #2
      • Azure Heroes Sessions #3
      • Azure Heroes Sessions #4
      • Azure Heroes Sessions #5
      • Azure Heroes Sessions #6
      • Azure Heroes Sessions #7
  • Who We Are!
  • eBooks
  • Azure All In One!
    • Azure Disk & Storage
    • Azure Network
    • Azure VPN
    • Azure VMs
  • Free Azure Support!
  • Contact Us
  • Events
    • Beginners Event
    • Developers Event
    • Special Event
    • Azure Workshop #4
    • Azure Workshop #5
    • Azure Workshop #6
    • Azure Workshop #7
    • Azure Workshop #8
    • Azure Heroes Sessions #9
    • Azure Heroes Sessions #10
    • Azure Heroes Sessions #11
    • Azure Heroes Sessions #12
    • Azure Heroes Sessions #13
    • Azure Heroes Sessions #14
    • Azure Heroes Sessions #15
    • Azure Heroes Sessions #16
    • Azure Heroes Sessions #17
    • Azure Heroes Sessions #18
  • Registration Form
  • Privacy Policy

The basic of Azure Cloud Shell

8/4/2020

2 Comments

 


What is Azure Cloud Shell?
AZCLI Is an embedded terminal which is can be used within your browser, or even the Azure Mobile app. The Azure Cloud Shell enables you to easily use both Bash and PowerShell directly in the browser or Azure Mobile app.

It is really an Amazing tool, easy to use and execute whatever we need. Managed by Microsoft with no cost!

Picture
How To access it?
There are three ways:
  • Direct link: Open a browser to https://shell.azure.com.

  • Azure portal: Select the Cloud Shell icon on the Azure portal

  • Code snippets: On docs.microsoft.com and Microsoft Learn

Which Commands you can Run?
You can use
  • Bash or
  • PowerShell

Features and use cases:

You can use AZCLI to :
  1. Manage Exchange Online! PowerShell in Cloud Shell contains a private build of the Exchange Online module. Run Connect-EXOPSSession to get your Exchange cmdlets.
  2. Deep integration with open-source tooling : Cloud Shell includes pre-configured authentication for open-source tools such as Terraform, Ansible, and Chef InSpec. Try it out from the example walkthroughs. - Read More
  3. You can use to achieve whatever you need on your environment such as delete VM, Create VM, Modify VM, Shutdown VM, Manage PaaS,DBaaS and a lot of thing you can do using AZCLI
  4. Download and Upload Files, Azure Cloud Shell includes a feature that allows you to directly upload files from your local file system into the Azure Cloud Shell environment and downloading files from the Azure Cloud Shell
  5. Key Concepts:
  • Cloud Shell runs on a temporary host provided on a per-session, per-user basis
  • Cloud Shell times out after 20 minutes without interactive activity
  • Cloud Shell requires an Azure file share to be mounted
  • Cloud Shell uses the same Azure file share for both Bash and PowerShell
  • Cloud Shell is assigned one machine per user account
  • Cloud Shell persists $HOME using a 5-GB image held in your file share
  • Permissions are set as a regular Linux user in Bash
Quick Demo (within Azure Portal)
1- First of All Login to you Azure Account
2- Click on the Cloud Shell icon in the header bar, and it will open the Cloud Shell in a pane at the bottom of the browser
Picture
3- At first time when you access the cloud shell it will ask you to create the storage to be mounted with the current subscription or you can use any existing one, and once you click on "Create Storage" it will automatically create a storage inside the azure environment
4-Lets try to Export a list of VMs I have on Azure - Using this Script -
5- You can Copy Paste in on AZCLI or just Run it directly
6-Once you Run the script you will get a list of all VMs on your azure Subscription
Picture
How much it Cost?
You have only to Pay for the storage account you used which is less than 1$, As The machine hosting Cloud Shell is free, with a pre-requisite of a mounted Azure Files share.
2 Comments
Bassam Moussa
10/2/2020 01:06:15 am

Very interesting 👍 your posts really are very easy to understand and your way to write is very clear and professional

Reply
Allie link
4/7/2022 06:32:34 pm

Your blog is so educative and informational, sometimes i wish <a href="https://www.cinegists.com/shell-login">my blog</a> was just as good and amazing as yours. The fluidity i get on your blog is off the charts. Do you mind telling me which hosting service provider you use? IT would be a great help and thanks in advance. If you have the time you can checkout <a href="https://www.tecreals.com/my-download-tube">my blog</a>.

https://www.cinegists.com/tcf-credit-card
https://www.makeoverarena.com/waptrick-games-videos-mp3-download-www-waptrick-com/

Reply



Leave a Reply.

    Author

    Mohammad Al Rousan is a Microsoft MVP (Azure), Microsoft Certified Solution Expert (MCSE) in Cloud Platform & Azure DevOps & Infrastructure, An active community blogger and speaker. Al Rousan has over 11 years of professional experience in IT Infrastructure and very passionate about Microsoft technologies and products.

    Picture
    Picture
    Top 10 Microsoft Azure Blogs

    Archives

    January 2025
    December 2024
    November 2024
    October 2024
    September 2024
    July 2024
    June 2024
    May 2024
    April 2024
    February 2024
    September 2023
    August 2023
    May 2023
    November 2022
    October 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    May 2021
    February 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    June 2020
    April 2020
    January 2020
    July 2019
    June 2019
    May 2019
    February 2019
    January 2019

    Categories

    All
    AKS
    Azure
    Beginner
    CDN
    DevOps
    End Of Support
    Fundamentals
    Guide
    Hybrid
    License
    Migration
    Network
    Security
    SQL
    Storage
    Virtual Machines
    WAF

    RSS Feed

    Follow
    Free counters!
Powered by Create your own unique website with customizable templates.