@@ -4,7 +4,7 @@ description: Overview of features in Azure Cloud Shell
4
4
manager : mkluck
5
5
ms.author : sewhee
6
6
ms.contributor : jahelmic
7
- ms.date : 11/14/2022
7
+ ms.date : 03/03/2023
8
8
ms.service : cloud-shell
9
9
ms.tgt_pltfrm : vm-linux
10
10
ms.topic : article
@@ -24,19 +24,13 @@ Cloud Shell allocates machines on a per-request basis and as a result machine st
24
24
persist across sessions. Since Cloud Shell is built for interactive sessions, shells automatically
25
25
terminate after 20 minutes of shell inactivity.
26
26
27
- <!--
28
- TODO:
29
- - need to verify Distro - showing Ubuntu currently
30
- - need to verify all experiences described here eg. cd Azure: - I have different results
31
- -->
32
27
Azure Cloud Shell runs on ** Common Base Linux - Mariner** (CBL-Mariner), Microsoft's Linux
33
28
distribution for cloud-infrastructure-edge products and services.
34
29
35
30
Microsoft internally compiles all the packages included in the ** CBL-Mariner** repository to help
36
31
guard against supply chain attacks. Tooling has been updated to reflect the new base image
37
- CBL-Mariner. You can get a full list of installed package versions using the following command:
38
- ` tdnf list installed ` . If these changes affected your Cloud Shell environment, contact Azure Support
39
- or create an issue in the [ Cloud Shell repository] [ 12 ] .
32
+ CBL-Mariner. If these changes affected your Cloud Shell environment, contact Azure Support or create
33
+ an issue in the [ Cloud Shell repository] [ 17 ] .
40
34
41
35
## Features
42
36
@@ -54,34 +48,34 @@ first launch. Once completed, Cloud Shell will automatically attach your storage
54
48
sessions. Use best practices when storing secrets such as SSH keys. Services, like
55
49
Azure Key Vault, have [ tutorials for setup] [ 02 ] .
56
50
57
- [ Learn more about persisting files in Cloud Shell.] [ 29 ]
51
+ [ Learn more about persisting files in Cloud Shell.] [ 28 ]
58
52
59
53
### Azure drive (Azure:)
60
54
61
55
PowerShell in Cloud Shell provides the Azure drive (` Azure: ` ). You can switch to the Azure drive
62
56
with ` cd Azure: ` and back to your home directory with ` cd ~ ` . The Azure drive enables easy
63
57
discovery and navigation of Azure resources such as Compute, Network, Storage etc. similar to
64
- filesystem navigation. You can continue to use the familiar [ Azure PowerShell cmdlets] [ 07 ] to manage
58
+ filesystem navigation. You can continue to use the familiar [ Azure PowerShell cmdlets] [ 06 ] to manage
65
59
these resources regardless of the drive you are in. Any changes made to the Azure resources, either
66
60
made directly in Azure portal or through Azure PowerShell cmdlets, are reflected in the Azure drive.
67
61
You can run ` dir -Force ` to refresh your resources.
68
62
69
- ![ Screenshot of an Azure Cloud Shell being initialized and a list of directory resources.] [ 26 ]
63
+ ![ Screenshot of an Azure Cloud Shell being initialized and a list of directory resources.] [ 25 ]
70
64
71
65
### Manage Exchange Online
72
66
73
67
PowerShell in Cloud Shell contains a private build of the Exchange Online module. Run
74
68
` Connect-EXOPSSession ` to get your Exchange cmdlets.
75
69
76
- ![ Screenshot of an Azure Cloud Shell running the commands Connect-EXOPSSession and Get-User.] [ 27 ]
70
+ ![ Screenshot of an Azure Cloud Shell running the commands Connect-EXOPSSession and Get-User.] [ 26 ]
77
71
78
72
Run ` Get-Command -Module tmp_* `
79
73
80
74
> [ !NOTE]
81
75
> The module name should begin with ` tmp_ ` , if you have installed modules with the same prefix,
82
76
> their cmdlets will also be surfaced.
83
77
84
- ![ Screenshot of an Azure Cloud Shell running the command Get-Command -Module tmp_ * .] [ 28 ]
78
+ ![ Screenshot of an Azure Cloud Shell running the command Get-Command -Module tmp_ * .] [ 27 ]
85
79
86
80
### Deep integration with open source tooling
87
81
@@ -90,119 +84,127 @@ and Chef InSpec. Try it out from the example walkthroughs.
90
84
91
85
### Pre-installed tools
92
86
93
- <!--
94
- TODO:
95
- - remove obsolete tools
96
- - separate by bash vs. pwsh
97
- - link to docs rather than github
98
- -->
87
+ The most commonly used tools are preinstalled in Cloud Shell.
99
88
100
- Linux tools
89
+ #### Azure tools
90
+
91
+ Cloud Shell comes with the following Azure command-line tools preinstalled:
92
+
93
+ | Tool | Version | Command |
94
+ | ------------------------- | -------- | ------------------------------ |
95
+ | [ Azure CLI] [ 08 ] | 2.45.0 | ` az --version ` |
96
+ | [ Azure PowerShell] [ 06 ] | 9.4.0 | ` Get-Module Az -ListAvailable ` |
97
+ | [ AzCopy] [ 04 ] | 10.15.0 | ` azcopy --version ` |
98
+ | [ Azure Functions CLI] [ 01 ] | 4.0.3971 | ` func --version ` |
99
+ | [ Service Fabric CLI] [ 03 ] | 11.2.0 | ` sfctl --version ` |
100
+ | [ Batch Shipyard] [ 09 ] | 3.9.1 | ` shipyard --version ` |
101
+ | [ blobxfer] [ 10 ] | 1.11.0 | ` blobxfer --version ` |
102
+
103
+ You can verify the version of the language using the command listed in the table.
104
+
105
+ #### Linux tools
101
106
102
107
- bash
103
108
- zsh
104
109
- sh
105
110
- tmux
106
111
- dig
107
112
108
- Azure tools
109
-
110
- - [ Azure CLI] [ 09 ]
111
- - [ AzCopy] [ 04 ]
112
- - [ Azure Functions CLI] [ 05 ]
113
- - [ Service Fabric CLI] [ 03 ]
114
- - [ Batch Shipyard] [ 10 ]
115
- - [ blobxfer] [ 11 ]
113
+ #### Text editors
116
114
117
- Text editors
118
-
119
- - code (Cloud Shell editor)
115
+ - Cloud Shell editor (code)
120
116
- vim
121
117
- nano
122
118
- emacs
123
119
124
- Source control
120
+ #### Source control
125
121
126
- - git
122
+ - Git
123
+ - GitHub CLI
127
124
128
- Build tools
125
+ #### Build tools
129
126
130
127
- make
131
128
- maven
132
129
- npm
133
130
- pip
134
131
135
- Containers
132
+ #### Containers
136
133
137
134
- [ Docker Desktop] [ 15 ]
138
- - [ Kubectl] [ 19 ]
139
- - [ Helm] [ 17 ]
135
+ - [ Kubectl] [ 20 ]
136
+ - [ Helm] [ 19 ]
140
137
- [ DC/OS CLI] [ 14 ]
141
138
142
- Databases
139
+ #### Databases
143
140
144
141
- MySQL client
145
142
- PostgreSql client
146
- - [ sqlcmd Utility] [ 09 ]
143
+ - [ sqlcmd Utility] [ 08 ]
147
144
- [ mssql-scripter] [ 18 ]
148
145
149
- Other
146
+ #### Other
150
147
151
148
- iPython Client
152
149
- [ Cloud Foundry CLI] [ 13 ]
153
- - [ Terraform] [ 25 ]
154
- - [ Ansible] [ 22 ]
155
- - [ Chef InSpec] [ 23 ]
156
- - [ Puppet Bolt] [ 21 ]
157
- - [ HashiCorp Packer] [ 24 ]
158
- - [ Office 365 CLI] [ 20 ]
159
-
160
- ### Language support
161
-
162
- | Language | Version |
163
- | ---------- | --------------------- |
164
- | .NET Core | [ 6.0.402] [ 16 ] |
165
- | Go | 1.9 |
166
- | Java | 1.8 |
167
- | Node.js | 8.16.0 |
168
- | PowerShell | [ 7.2] [ 08 ] |
169
- | Python | 2.7 and 3.7 (default) |
150
+ - [ Terraform] [ 24 ]
151
+ - [ Ansible] [ 23 ]
152
+ - [ Chef InSpec] [ 12 ]
153
+ - [ Puppet Bolt] [ 22 ]
154
+ - [ HashiCorp Packer] [ 11 ]
155
+ - [ Office 365 CLI] [ 21 ]
156
+
157
+ ### Preinstalled developer languages
158
+
159
+ Cloud Shell comes with the following languages preinstalled:
160
+
161
+ | Language | Version | Command |
162
+ | ---------- | ------------- | ------------------ |
163
+ | .NET Core | [ 6.0.405] [ 16 ] | ` dotnet --version ` |
164
+ | Go | 1.17.13 | ` go version ` |
165
+ | Java | 11.0.18 | ` java --version ` |
166
+ | Node.js | 16.18.1 | ` node --version ` |
167
+ | PowerShell | [ 7.3.2] [ 07 ] | ` pwsh -Version ` |
168
+ | Python | 3.9.14 | ` python --version ` |
169
+ | Ruby | 3.1.3p185 | ` ruby --version ` |
170
+
171
+ You can verify the version of the language using the command listed in the table.
170
172
171
173
## Next steps
172
174
173
- - [ Bash in Cloud Shell Quickstart] [ 31 ]
174
- - [ PowerShell in Cloud Shell Quickstart] [ 30 ]
175
- - [ Learn about Azure CLI] [ 06 ]
176
- - [ Learn about Azure PowerShell] [ 07 ]
175
+ - [ Bash in Cloud Shell Quickstart] [ 30 ]
176
+ - [ PowerShell in Cloud Shell Quickstart] [ 29 ]
177
+ - [ Learn about Azure CLI] [ 05 ]
178
+ - [ Learn about Azure PowerShell] [ 06 ]
177
179
178
180
<!-- link references -->
181
+ [ 01 ] : ../azure-functions/functions-run-local.md
179
182
[ 02 ] : ../key-vault/general/manage-with-cli2.md#prerequisites
180
183
[ 03 ] : ../service-fabric/service-fabric-cli.md
181
184
[ 04 ] : ../storage/common/storage-use-azcopy-v10.md
182
- [ 05 ] : ../ azure-functions/functions-run-local.md
183
- [ 06 ] : /cli /azure/
184
- [ 07 ] : /powershell/azure
185
- [ 08 ] : /powershell/scripting/whats-new/what-s-new-in-powershell-72
186
- [ 09 ] : /sql/tools/sqlcmd-utility
187
- [ 10 ] : https://batch-shipyard .readthedocs.io/en/latest/
188
- [ 11 ] : https://blobxfer.readthedocs.io/en/latest/
189
- [ 12 ] : https://github.com/Azure/CloudShell/issues
185
+ [ 05 ] : /cli/ azure/
186
+ [ 06 ] : /powershell /azure
187
+ [ 07 ] : /powershell/scripting/whats-new/what-s-new-in-powershell-73
188
+ [ 08 ] : /sql/tools/sqlcmd-utility
189
+ [ 09 ] : https://batch-shipyard.readthedocs.io/en/latest/
190
+ [ 10 ] : https://blobxfer .readthedocs.io/en/latest/
191
+ [ 11 ] : https://developer.hashicorp.com/packer/docs
192
+ [ 12 ] : https://docs.chef.io/
190
193
[ 13 ] : https://docs.cloudfoundry.org/cf-cli/
191
194
[ 14 ] : https://docs.d2iq.com/dkp/2.3/azure-quick-start
192
195
[ 15 ] : https://docs.docker.com/desktop/
193
196
[ 16 ] : https://dotnet.microsoft.com/download/dotnet/6.0
194
- [ 17 ] : https://helm.sh/docs/
197
+ [ 17 ] : https://github.com/Azure/CloudShell/issues
195
198
[ 18 ] : https://github.com/microsoft/mssql-scripter/blob/dev/doc/usage_guide.md
196
- [ 19 ] : https://kubernetes.io/docs/user-guide/kubectl-overview/
197
- [ 20 ] : https://pnp.github.io/office365-cli/
198
- [ 21 ] : https://puppet.com/docs/bolt/latest/bolt.html
199
- [ 22 ] : https://www.ansible.com/microsoft-azure
200
- [ 23 ] : https://docs.chef.io/
201
- [ 24 ] : https://developer.hashicorp.com/packer/docs
202
- [ 25 ] : https://www.terraform.io/docs/providers/azurerm/
203
- [ 26 ] : media/features/azure-drive.png
204
- [ 27 ] : media/features/exchangeonline.png
205
- [ 28 ] : media/features/exchangeonlinecmdlets.png
206
- [ 29 ] : persisting-shell-storage.md
207
- [ 30 ] : quickstart-powershell.md
208
- [ 31 ] : quickstart.md
199
+ [ 19 ] : https://helm.sh/docs/
200
+ [ 20 ] : https://kubernetes.io/docs/user-guide/kubectl-overview/
201
+ [ 21 ] : https://pnp.github.io/office365-cli/
202
+ [ 22 ] : https://puppet.com/docs/bolt/latest/bolt.html
203
+ [ 23 ] : https://www.ansible.com/microsoft-azure
204
+ [ 24 ] : https://www.terraform.io/docs/providers/azurerm/
205
+ [ 25 ] : media/features/azure-drive.png
206
+ [ 26 ] : media/features/exchangeonline.png
207
+ [ 27 ] : media/features/exchangeonlinecmdlets.png
208
+ [ 28 ] : persisting-shell-storage.md
209
+ [ 29 ] : quickstart-powershell.md
210
+ [ 30 ] : quickstart.md
0 commit comments