AWS CLI
AWS CLI is a command line interface (CLI) that allows users to perform operations on Amazon's AWS (Amazon Web Services) cloud service using commands. It allows operations related to resource management of cloud services, which are usually performed using a console on a web browser, to be executed as Linux commands. Therefore, it can be used to connect Genkai to cloud services, for example, by automatically performing a series of investigations using shell scripts.
AWS ParallelCluster is a tool for managing clusters on AWS. It allows you to create clusters on demand with the configuration you need, and remove them when they are no longer needed.
Please note that the Genkai account contract does not include cloud service resources. the center does not accept requests for contracting cloud services on behalf of or using cloud services. ct the following for information on using AWS.
Contact AWSModule
Module name | Version |
---|---|
awscli | 2.16.8 |
aws_pcluster | 3.9.1 |
Preparation
AWS account creation and acquisition of access key and secret key
To use the AWS CLI or AWS ParallelCluster, you must first create an AWS account and its root user access key and secret key. Please refer to the procedures below. For more secure usage, it is recommended to use AWS as a user other than the root user. In this case, create a separate IAM user and obtain its access key and secret key.
- Create an AWS account
- Create access keys for the root user
- Create an IAM user in your AWS account
- How an IAM administrator can manage IAM user access keys
AWS settings
Run the following command on Genkai and enter the access key and secret key of the AWS user, and also specify the default region for using each AWS service and the output format of each AWS CLI command execution result. If you have nothing to specify, just press Enter as is.
|
Running AWS CLI commands
Select a module
To start using AWS CLI, log in to Genkai and select the awscli module with the following command.
|
Run AWS CLI commands
The AWS CLI allows you to perform various operations on AWS by specifying AWS CLI command names for the aws
command.
The names of the AWS CLI commands that can be executed can be viewed below.
|
You can also browse the usage of each AWS CLI command by specifying help
after each command.
For example, the following command will show you how to use the s3
command.
|
Running AWS ParallelCluster commands
Select a module
To start using AWS ParallelCluster, log in to Genkai and select the aws_pcluster module with the following command.
|
Run AWS ParallelCluster commands
The AWS CLI allows you to perform various operations for managing clusters on AWS by specifying command names for the pcluster
command.
The names of the ParallelCluster commands that can be executed can be viewed below.
|
You can also browse the usage of each ParallelCluster command by specifying -h
after each command.
For example, the following command will show you how to use the create-cluster
command.
|
Reference
Please see below for detailed instructions on using the AWS CLI and AWS ParallelCluster.