Skip to content

Commit 48c534d

Browse files
author
Jason.Helmick
committed
Adding roadmap - editing readme
1 parent e1a93d5 commit 48c534d

File tree

3 files changed

+200
-64
lines changed

3 files changed

+200
-64
lines changed

.DS_Store

6 KB
Binary file not shown.

README.md

Lines changed: 107 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,77 @@
11

22
# Microsoft Azure Cloud Shell Image
33

4-
Azure Cloud Shell is a browser-based shell environment which enables Azure customers to manage and configure their Azure services. It provides a [host of tools](https://docs.microsoft.com/azure/cloud-shell/features), including Azure CLI, Azure PowerShell, Ansible, Terraform, Puppet Bolt, kubectl, and many more.
5-
6-
For more details, check out [Overview of Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview#:~:text=Features%201%20Browser-based%20shell%20experience.%20...%202%20Choice,7%20Connect%20your%20Microsoft%20Azure%20Files%20storage.%20).
7-
8-
9-
# About this repository
10-
11-
When you connect to Azure Cloud Shell, we start a container containing a wide variety of tools, and connect your
12-
browser to a shell process running inside that container. This repository contains the Docker files used to build that image.
13-
It does _not_ contain all of the code used for the rest of the Azure Cloud Shell service. The code in this repository may not
14-
match exactly to what is running in the Cloud Shell service at any given time. The service is updated periodically and changes
15-
are gradually rolled out to different regions over time, so there may be a lag of up to 3-4 weeks between a change being made
16-
here and being reflected in all Cloud Shell regions.
4+
Azure Cloud Shell is an interactive, authenticated, browser-accessible shell for managing Azure
5+
resources. As a web-based environment, Cloud Shell provides immediate management access to any
6+
device with a network connection. Azure Cloud Shell provides a
7+
[host of tools](https://docs.microsoft.com/azure/cloud-shell/features), including Azure CLI, Azure
8+
PowerShell, Ansible, Terraform, Puppet Bolt, kubectl, and many more.
9+
10+
For more details, check out
11+
[Overview of Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview#:~:text=Features%201%20Browser-based%20shell%20experience.%20...%202%20Choice,7%20Connect%20your%20Microsoft%20Azure%20Files%20storage.%20).
12+
13+
## Roadmap of planned development
14+
15+
Azure Cloud Shell is continually working with customers to improve Azure resource management by
16+
focusing on the experience and tools most needed by our customers. We invite everyone to view and
17+
provide feedback to our [roadmap](./roadmap/cs-roadmap-2023.md) and future investigations. The Azure
18+
Cloud Shell team respects and enjoys engaging with our customers, please share our
19+
[roadmap](./roadmap/cs-roadmap-2023.md) and provide feedback here in
20+
[Discussions](https://github.com/Azure/CloudShell/discussions) or
21+
[Issues](https://github.com/Azure/CloudShell/issues).
22+
23+
## About this repository
24+
25+
When you connect to Azure Cloud Shell, we start a container containing a wide variety of tools, and
26+
connect your browser to a shell process running inside that container. This repository contains the
27+
Docker files used to build that image. It does _not_ contain all of the code used for the rest of
28+
the Azure Cloud Shell service. The code in this repository may not match exactly to what is running
29+
in the Cloud Shell service at any given time. The service is updated periodically and changes are
30+
gradually rolled out to different regions over time, so there may be a lag of up to 3-4 weeks
31+
between a change being made here and being reflected in all Cloud Shell regions.
1732

1833
This repository has several uses:
1934

20-
1. **Running the Cloud Shell image locally**. If you want a curated set of up-to-date command-line tools suitable for managing an Azure environment, but you want to run the tools locally on your own computer instead of in Cloud Shell, you can build the image and run it yourself.
35+
1. **Running the Cloud Shell image locally**. If you want a curated set of up-to-date command-line
36+
tools suitable for managing an Azure environment, but you want to run the tools locally on your
37+
own computer instead of in Cloud Shell, you can build the image and run it yourself.
2138

22-
1. **Contributing to Cloud Shell.** If you would like to propose a new tool for inclusion in Cloud Shell, you can create an issue or submit a Pull Request to request the tool be added. Please ensure that the PR actually builds within GitHub Actions.
39+
1. **Contributing to Cloud Shell.** If you would like to propose a new tool for inclusion in Cloud
40+
Shell, you can create an issue or submit a Pull Request to request the tool be added. Please
41+
ensure that the PR actually builds within GitHub Actions.
2342

24-
The repository does *not* provide an out-of-the-box replacement for the Cloud Shell service. In addition to the container image here, Azure Cloud Shell consists of a user interface integrated into the portal, a web service which manages the infrastructure on which the containers run, and some additional code used inside the container to connect the shell process to the user interface via websocket.
43+
The repository does *not* provide an out-of-the-box replacement for the Cloud Shell service. In
44+
addition to the container image here, Azure Cloud Shell consists of a user interface integrated into
45+
the portal, a web service which manages the infrastructure on which the containers run, and some
46+
additional code used inside the container to connect the shell process to the user interface via
47+
websocket.
2548

2649
## Running the Cloud Shell image locally
2750

2851
### Differences between running locally and in Cloud Shell
2952

30-
1. **No identity endpoint**. In Cloud Shell, we provide a way to automatically obtain tokens for the user connected to the shell.
31-
We can't provide this when you run locally, so you have to authenticate explicitly before you can access Azure resources.
32-
When using AZ CLI, run `az login`; for PowerShell, run `Connect-AzAccount`.
53+
1. **No identity endpoint**. In Cloud Shell, we provide a way to automatically obtain tokens for the
54+
user connected to the shell. We can't provide this when you run locally, so you have to
55+
authenticate explicitly before you can access Azure resources. When using AZ CLI, run `az login`;
56+
for PowerShell, run `Connect-AzAccount`.
3357

34-
2. **No cloud drive**. We don't mount the Cloud Drive from your Azure Cloud Shell, so you won't have access to files stored there.
58+
1. **No cloud drive**. We don't mount the Cloud Drive from your Azure Cloud Shell, so you won't have
59+
access to files stored there.
3560

36-
3. **Root instead of cloud shell user**. In Azure Cloud Shell you always run as a regular user. When running the image locally, you run as root.
61+
1. **Root instead of cloud shell user**. In Azure Cloud Shell you always run as a regular user. When
62+
running the image locally, you run as root.
3763

38-
# Contributing to Cloud Shell
64+
### Understanding the base.Dockerfile and tools.Dockerfile
3965

66+
The repository contains two Dockerfile, 'base' and 'tools'. Tools is built on top of the base file,
67+
so normally you would just have one Dockerfile and rely on the container registry to cache all the
68+
layers that haven't changed. However we need to cache the base image explicitly to ensure fast
69+
startup time. So the image is split into these two files, and the tools layer starts FROM an
70+
internal repository where the base image is cached, so that we know when we need to update the base.
4071

41-
## Understanding the base.Dockerfile and tools.Dockerfile
42-
43-
The repository contains two Dockerfile, 'base' and 'tools'. Tools is built on top of the base file, so normally you would
44-
just have one Dockerfile and rely on the container registry to cache all the layers that haven't changed. However we need
45-
to cache the base image explicitly to ensure fast startup time. So the image is split into these two files, and the tools
46-
layer starts FROM an internal repository where the base image is cached, so that we know when we need to update the base.
47-
48-
When building or using the image locally, you don't need to worry about that. Just build using the instructions below, and be
49-
aware that changes the the base layer will take longer to release than changes to the tools.
72+
When building or using the image locally, you don't need to worry about that. Just build using the
73+
instructions below, and be aware that changes the the base layer will take longer to release than
74+
changes to the tools.
5075

5176
| Layer | Job |
5277
| ---|---|
@@ -55,41 +80,48 @@ aware that changes the the base layer will take longer to release than changes t
5580

5681
## Building and Testing the image
5782

58-
### Required software
83+
Required software
5984

60-
* Docker
61-
* Bash terminal / Powershell
85+
- Docker
86+
- Bash terminal / Powershell
87+
88+
Building base.Dockerfile image from the root repository
6289

63-
## Building base.Dockerfile image
64-
From the root repository
6590
```bash
6691
docker build -t base_cloudshell -f linux/base.Dockerfile .
6792
```
68-
## Building tools.Dockerfile image
93+
94+
Building tools.Dockerfile image
95+
6996
```bash
7097
docker build -t tools_cloudshell --build-arg IMAGE_LOCATION=base_cloudshell -f linux/tools.Dockerfile .
7198
```
7299

73-
## Running bash in the tools.Dockerfile image
100+
Running bash in the tools.Dockerfile image
101+
74102
```bash
75103
docker run -it tools_cloudshell /bin/bash
76104
```
77105

78-
## Running pwsh in the tools.Dockerfile image
106+
Running pwsh in the tools.Dockerfile image
107+
79108
```bash
80109
docker run -it tools_cloudshell /usr/bin/pwsh
81110
```
82111

83-
## Testing the Cloud Shell image
84-
```
112+
Testing the Cloud Shell image
113+
114+
```bash
85115
docker run --volume /path/to/CloudShell/folder/tests:/tests -it tools_cloudshell /tests/test.sh
86116
```
87117

88-
For more information about bind mounts, please go onto the [Docker documentation](https://docs.docker.com/storage/bind-mounts/). We do expect all the test cases to pass if you would like your changes to be merged.
118+
For more information about bind mounts, please go onto the
119+
[Docker documentation](https://docs.docker.com/storage/bind-mounts/). We do expect all the test
120+
cases to pass if you would like your changes to be merged.
89121

90-
# Contribution Guidelines
122+
## Contribution Guidelines
91123

92-
## Types of issues
124+
### Types of issues
93125

94126
| Issue Type | Action |
95127
| ---|---|
@@ -101,14 +133,17 @@ For more information about bind mounts, please go onto the [Docker documentation
101133
| Security bug | See https://www.microsoft.com/en-us/msrc/faqs-report-an-issue |
102134
| Issue with Cloud Shell in Azure Portal (can't log in, for example) | Open a [support ticket](https://docs.microsoft.com/azure/active-directory/fundamentals/active-directory-troubleshooting-support-howto#:~:text=How%20to%20open%20a%20support%20ticket%20for%20Azure,Troubleshooting%20%2B%20Support%20and%20select%20New%20support%20request.) |
103135

104-
\* For example, if you have an issue within Azure CLI, don't open up an issue with the Cloud Shell repo, open an issue within the Azure CLI repo.
105-
Azure PowerShell is [here](https://github.com/Azure/azure-powershell/issues) and Azure CLI is [here](https://github.com/Azure/azure-cli/issues)
136+
\* For example, if you have an issue within Azure CLI, don't open up an issue with the Cloud Shell
137+
repo, open an issue within the Azure CLI repo. Azure PowerShell is
138+
[here](https://github.com/Azure/azure-powershell/issues) and Azure CLI is
139+
[here](https://github.com/Azure/azure-cli/issues)
106140

107-
## Types of tools
141+
### Types of tools
108142

109-
Cloud Shell aims to provide a core set of tools for Azure and Microsoft 365 devops scenarios, but we can't include everything.
110-
If you just want to use a tool yourself, you can install most utilities into your own home directory inside Cloud Shell.
111-
You only need to update the image if you want _every_ Cloud Shell admin to have the tool available.
143+
Cloud Shell aims to provide a core set of tools for Azure and Microsoft 365 devops scenarios, but we
144+
can't include everything. If you just want to use a tool yourself, you can install most utilities
145+
into your own home directory inside Cloud Shell. You only need to update the image if you want
146+
_every_ Cloud Shell admin to have the tool available.
112147

113148
For a tool to be included in Cloud Shell, it has to be:
114149

@@ -118,37 +153,45 @@ For a tool to be included in Cloud Shell, it has to be:
118153
- lightweight in terms of CPU requirements, size on disk, and memory
119154

120155
Please:
156+
121157
- support fetching tokens from Managed Identity if a tool authenticates to Azure services
122158
- add basic tests to the test suite run by GitHub Actions
123159
- consume the tools from the [Mariner package repo](https://packages.microsoft.com/cbl-mariner/2.0/)
124160

125161
In general we avoid:
126-
- alpha, beta, preview or unstable versions of software.
127-
- tools primarily useful for extensive software development, as opposed to DevOps. Consider [Visual Studio Codespaces](https://visualstudio.microsoft.com/services/visual-studio-codespaces/) for that.
162+
163+
- alpha, beta, preview or unstable versions of software.
164+
- tools primarily useful for extensive software development, as opposed to DevOps. Consider
165+
[Visual Studio Codespaces](https://visualstudio.microsoft.com/services/visual-studio-codespaces/)
166+
for that.
128167

129168
## Cloud Shell Documentation
130169

131-
Please see the [Microsoft Azure Documentation](https://github.com/MicrosoftDocs/azure-docs) for a guide to add to the Azure docs repo.
132-
The Cloud Shell documentation can be found [here](https://github.com/MicrosoftDocs/azure-docs/tree/master/articles/cloud-shell).
170+
Please see the [Microsoft Azure Documentation](https://github.com/MicrosoftDocs/azure-docs) for a
171+
guide to add to the Azure docs repo. The Cloud Shell documentation can be found
172+
[here](https://github.com/MicrosoftDocs/azure-docs/tree/master/articles/cloud-shell).
133173

134-
# Legal
174+
## Legal
135175

136-
This project welcomes contributions and suggestions. Most contributions require you to agree to a
176+
This project welcomes contributions and suggestions. Most contributions require you to agree to a
137177
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
138178
the rights to use your contribution. For details, visit https://cla.microsoft.com.
139179

140180
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
141181
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
142182
provided by the bot. You will only need to do this once across all repos using our CLA.
143183

144-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
145-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
146-
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
184+
This project has adopted the
185+
[Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more
186+
information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
187+
contact [[email protected]](mailto:[email protected]) with any additional questions or
188+
comments.
147189

148-
# Trademarks
190+
## Trademarks
149191

150-
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
151-
trademarks or logos is subject to and must follow
192+
This project may contain trademarks or logos for projects, products, or services. Authorized use of
193+
Microsoft trademarks or logos is subject to and must follow
152194
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
153-
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
154-
Any use of third-party trademarks or logos are subject to those third-party's policies.
195+
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion
196+
or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those
197+
third-party's policies.

0 commit comments

Comments
 (0)