accesskey_tools: An Alibaba Cloud operations and maintenance tool for automation

Introduction

accesskey_tools is a powerful cloud computing operation and maintenance tool, which provides automated operation and maintenance solutions for cloud computing environments. This article will introduce you to the functions and uses of accesskey_tools, focusing on its automated operation features such as automatic creation of ECS servers, batch execution of commands, and execution of scheduled task commands.

advantage

Without logging into the cloud platform, the API can be called through AccessKey ID and AccessKey Secret, allowing for a high degree of API-driven customization.

Manage and automate operation and maintenance of server ECS instances in batches. Execute commands and scheduled tasks in batches.

Easily select region, image type, machine configuration and other information, eliminating tedious manual operations.

Operation and maintenance tool description

install

git clone https://github.com/kohlersbtuh15/accesskey_tools

cd aliyun

pip3 install -r requirements.txt

Create ecs instance machines in batches

python3 aliyun_create_ecs.py

Select various configurations of the machine according to the prompts, such as availability zone, image version, machine configuration, network and other information.

ecs instance command execution

python3 aliyun_ecs_exec.py

Run the corresponding script and enter the required information as prompted.

Execute commands in batches

python3 aliyun_ecs_exec_batch.py

Run the corresponding script and enter the required information as prompted.There are explanations of the required parameters in the code comments. Select the corresponding parameters and fill them in as needed.

Summarize

This article introduces the accesskey_tools operation and maintenance tool, emphasizing its high degree of customization driven by API. Using the API of accesskey_tools, you can easily select region, image type, machine configuration and other information, eliminating tedious manual operations and achieving a higher degree of automated batching and scalability. We will continue to update the operation and maintenance tools of other cloud vendors (cloud environment red team utilization tools) in the future. You can submit issues on github, and we will reply or add required functions when you see them.

Project url for github: https://github.com/kohlersbtuh15/accesskey_tools

Last updated