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资源,而无需花费任何费用,并且有一定的限制。
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