aws cli_学习AWS CLI:AWS CLI概述(AWS命令行界面)

aws cli

This article is the first article in the series of Learn AWS CLI. Here we will talk about the overview, installation, and configuration of CLI tools in Windows.

本文是Learn AWS CLI系列文章中的第一篇。 在这里,我们将讨论Windows中CLI工具的概述,安装和配置。

介绍 (Introduction)

You might be aware that organizations are expanding their infrastructure footprints in the Cloud. Amazon Web Services(AWS ) is a leader among other cloud providers.

您可能知道组织正在扩展其在云中的基础架构范围。 Amazon Web Services(AWS)是其他云提供商中的领导者。

We can learn AWS RDS through many articles published on SQLShack.

我们可以通过在SQLShack上发表的许多文章来学习AWS RDS

AWS provides two ways of infrastructure configurations.

AWS提供了两种基础架构配置方式。

  • Using the AWS web console: It is a graphical method to connect to various AWS resources, their configuration, modification, etc. It is simple to use and does not require knowledge of scripting 使用AWS Web控制台:这是一种图形方法,可连接到各种AWS资源,它们的配置,修改等。它使用简单,不需要脚本知识
  • AWS Command Line Interface: Usually, the script provides you with the flexibility to manage multiple AWS resources, infrastructures effectively. For example, we can use the script to deploy multiple resources without the need to go through a complete configuration wizard each time AWS命令行界面:通常,该脚本为您提供了有效管理多种AWS资源和基础架构的灵活性。 例如,我们可以使用脚本来部署多个资源,而无需每次都经过完整的配置向导

Let’s get started and get an overview of AWS Command Line Interface, aka AWS CLI and its configuration steps.

让我们开始并大致了解AWS Command Line Interface,AWS CLI及其配置步骤。

先决条件 (Prerequisites)

You should visit Amazon Web Service Console and create an AWS account. You can create a free tier account to explore AWS resources without any cost and with a limitation.

您应该访问Amazon Web Service 控制台并创建一个AWS账户。 您可以创建一个免费套餐帐户来探索AWS资源,而无需花费任何费用,并且有一定的限制。

Prerequisites

You should go through AWS free tier usage to learn about free tier account usage and limitations.

您应该阅读AWS免费套餐使用情况,以了解免费套餐帐户的使用情况和限制。

  • URL, download Python and install it. I am using Python 3.7.5 version in this article URL ,下载Python并安装。 我在本文中使用的是Python 3.7.5版本

AWS CLI概述 (Overview of AWS CLI)

It is an open-source tool to communicate with AWS resources and services using a command-line interface. We can manage all AWS services and control their behavior using this tool. We can also use CLI to automate AWS infrastructure resource and service management.

它是一个开源工具,可使用命令行界面与AWS资源和服务进行通信。 我们可以使用此工具管理所有AWS服务并控制其行为。 我们还可以使用CLI来自动化AWS基础设施资源和服务管理。

We can install it on Windows, Linux, macOS and Docker containers.

我们可以将其安装在Windows,Linux,macOS和Docker容器上。

在Windows操作系统上安装AWS CLI (Install AWS CLI on Windows operating system)

We can install AWS CLI on Windows using a standalone installer

  • 3
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要升级AWS CLI,你可以使用以下步骤进行操作: 1. 首先,验证AWS CLI是否已正确安装。你可以在命令行窗口中运行`aws --version`来检查已安装的版本。 2. 如果你已经安装了AWS CLI,你可以通过运行以下命令来升级它:`pip install --upgrade awscli`。这将使用pip工具来升级AWS CLI到最新版本。请确保你已经安装了Python和pip,并且使用的是管理员权限或适当的用户权限来执行此命令。 3. 安装完成后,你可以再次运行`aws --version`来验证AWS CLI是否已成功升级到最新版本。 4. 另外,你还可以考虑使用AWS CLI别名存储库中的awscli-aliases工具来简化AWS CLI的使用。确保你使用的是版本1.11.24或更高版本的AWS CLI,并参考相关的安装和升级信息。 请注意,升级AWS CLI时可能会出现一些依赖关系或配置问题。如果遇到任何问题,请参考AWS CLI的官方文档或寻求AWS支持来获取帮助。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [在 macOS 上安装 AWS CLI](https://blog.csdn.net/sinat_38036426/article/details/93026334)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [aws cli入门之简介](https://blog.csdn.net/qq_27868061/article/details/122378455)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [awscli-aliases, AWS CLI别名存储库.zip](https://download.csdn.net/download/weixin_38743968/11758709)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值