动手实验 | 熟悉 AWS CloudShell 的功能和用法


  实验目标

熟悉 AWS CloudShell 的功能和用法,验证 CloudShell 环境中预安装的各种 shell 工具,软件包,查看软件包的版本,测试文件的上传下载等

  作业步骤

本次采用AWS Console界面完成作业。
步骤一:打开 CloudShell 控制台,熟悉界面和操作菜单
1. 选择一个 AWS 区域
2. 在该区域中,打开 CloudShell 控制台,查看可用的文件上传下载等菜单

步骤二:测试文件的上传下载,CloudShell 计算环境的删除、重启等动作
1. CloudShell 控制台右上侧,选择动作菜单
2. 依次尝试各种功能

...

 结果验证

1. 切换到其它 Powershell

[cloudshell-user@ip-10-138-173-15 ~]$ pwsh
PowerShell 7.4.5
PS /home/cloudshell-user> exit
[cloudshell-user@ip-10-138-173-15 ~]$ zsh

2. 验证安装的软件包
[cloudshell-user@ip-10-138-173-15]~% pwsh --version
PowerShell 7.4.5
[cloudshell-user@ip-10-138-173-15]~% cdk --version
2.158.0 (build 4b8714d)
[cloudshell-user@ip-10-138-173-15]~% aws --version
aws-cli/2.18.11 Python/3.12.6 Linux/6.1.112-122.189.amzn2023.x86_64 exec-env/CloudShell exe/x86_64.amzn.2023
[cloudshell-user@ip-10-138-173-15]~% eb --version
EB CLI 3.21.0 (Python 3.9.16 (main, Jul  5 2024, 00:00:00) 
[GCC 11.4.1 20230605 (Red Hat 11.4.1-2)])
[cloudshell-user@ip-10-138-173-15]~% ecs-cli --version
ecs-cli version 1.21.0 (bb0b8f0)
[cloudshell-user@ip-10-138-173-15]~% python3 --version
Python 3.9.16
[cloudshell-user@ip-10-138-173-15]~% git --version
git version 2.40.1
[cloudshell-user@ip-10-138-173-15]~% jq --version
jq-
[cloudshell-user@ip-10-138-173-15]~% nano --version
  GNU nano, version 5.8
  (C) 1999-2011, 2013-2021 Free Software Foundation, Inc.
  (C) 2014-2021 the contributors to nano
  Compiled options: --enable-utf8
[cloudshell-user@ip-10-138-173-15]~% vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 08 2023 00:00:00)
Included patches: 1-2153