mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
32 lines
1003 B
Plaintext
32 lines
1003 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * rosa_planning/rosa-cloud-expert-prereq-checklist.adoc
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="mos-checklist-aws-cli_{context}"]
|
|
= AWS CLI (`aws`)
|
|
|
|
[role="_abstract"]
|
|
The AWS CLI tool allows you to interact with AWS resources directly.
|
|
|
|
.Procedure
|
|
. Install the link:https://aws.amazon.com/cli/[AWS Command Line Interface].
|
|
. Log in to your AWS account using the AWS CLI: link:https://docs.aws.amazon.com/signin/latest/userguide/command-line-sign-in.html[Sign in through the AWS CLI]
|
|
. Verify your account identity:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ aws sts get-caller-identity
|
|
----
|
|
. Check whether the service role for ELB (Elastic Load Balancing) exists:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ aws iam get-role --role-name "AWSServiceRoleForElasticLoadBalancing"
|
|
----
|
|
+
|
|
If the role does not exist, create it by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ aws iam create-service-linked-role --aws-service-name "elasticloadbalancing.amazonaws.com"
|
|
---- |