AWS CLI (Amazon Web Services Command Line Interface) is a powerful command line tool developed by Amazon to help users manage their AWS services. It can be used to manage AWS services such as EC2, S3, DynamoDB, and many more. It provides a unified experience for managing AWS services from the command line, allowing users to quickly and easily interact with their AWS services. It also provides support for the most common operations, such as creating and managing resources, managing security, and automating complex tasks. AWS CLI is an essential tool for any AWS user, and is especially useful for DevOps teams that need to automate tasks and manage large-scale deployments.

Table of Contents

TOP 50 FAQs asked by developers about aws cli

What is AWS CLI?

AWS CLI (Command Line Interface) is a unified tool to manage your AWS services. It provides a command line interface to access the Amazon Web Services (AWS) public cloud and automates many of the tasks that are normally performed through the AWS Management Console. It can be used to create, manage, and delete resources such as EC2 instances, S3 buckets, DynamoDB tables, and more. The AWS CLI is available for Windows, Mac, and Linux.

How do I set up AWS CLI access keys?

1. Log into your AWS account and navigate to the IAM (Identity and Access Management) console., 10. This will list all of the S3 buckets associated with your account., 2. In the left-hand sidebar, select Users., 3. Select the user you wish to generate access keys for., 4. Select the Security Credentials tab, and then select Create Access Key., 5. Make note of the Access Key ID and Secret Access Key, as you will need them to configure the AWS CLI., 6. Configure the AWS CLI by running the command: aws configure, 7. Enter the Access Key ID and Secret Access Key when prompted., 8. Enter the default region name and output format when prompted., 9. Verify that the AWS CLI is configured correctly by running the command: aws s3 ls

How do I use AWS CLI to manage CloudWatch?

You can use the AWS CLI to manage CloudWatch by using commands to create, delete, and list alarms, as well as to get and set alarm states. You can also use the CLI to set up CloudWatch Logs for monitoring and troubleshooting. To get started, you can use the “aws cloudwatch” command to access a list of all the available commands.

How do I configure AWS CLI?

1. First, you need to install the AWS CLI on your computer. To do this, go to the Amazon Web Services website and download the AWS CLI Installation Package for your operating system., 2. Then, configure the AWS CLI using the command line. To do this, run the command “aws configure” and enter your AWS Access Key ID, AWS Secret Access Key, default region, and output format., 3. Finally, you can use the AWS CLI to manage your AWS resources. To do this, use the commands “aws ” to interact with the service you want. For example, if you want to list all the instances in your AWS account, you can use the command “aws ec2 describe-instances”.

How do I use AWS CLI to manage CloudFront?

2. List all existing distributions:. AWS CLI can be used to manage CloudFront distributions in the following ways:. 5. Delete an existing distribution:. aws cloudfront list-distributions. aws cloudfront delete-distribution –id . aws cloudfront create-distribution –origin-domain-name example.com. aws cloudfront get-distribution –id . aws cloudfront update-distribution –id –default-root-object index.html. 3. Get information about a particular distribution:. 1. Create a new CloudFront distribution:. 4. Update an existing distribution:

How do I create a new AWS user using AWS CLI?

1. Log into your AWS account and open the AWS CLI., 2. Run the command below to create a new user:, 3. Associate the new user with an access key and secret key by running the command below:, 4. Assign the user a policy by running the command below:, 5. Test the new user’s access by running the command below:, 6. Finally, delete the access key and secret key once you are done testing the user:, aws iam create-access-key –user-name , aws iam create-user –user-name , aws iam delete-access-key –user-name –access-key-id , aws iam put-user-policy –user-name –policy-name –policy-document , aws sts get-caller-identity –user-name

How do I create a VPC using AWS CLI?

You can create a VPC using the AWS CLI with the following command:. aws ec2 create-vpc –cidr-block . Replace with the CIDR block you wish to use for the VPC.

What are the basic commands of AWS CLI?

1. aws configure – This command allows you to configure access keys and other settings for the AWS CLI., 10. aws sts – This command allows you to manage AWS Security Token Service (STS) access keys., 2. aws s3 – This command allows you to manage Amazon S3 buckets and objects., 3. aws ec2 – This command allows you to manage Amazon EC2 instances., 4. aws autoscaling – This command allows you to manage Amazon EC2 Auto Scaling groups and launch configurations., 5. aws iam – This command allows you to manage AWS Identity and Access Management (IAM)., 6. aws cloudformation – This command allows you to manage AWS CloudFormation stacks and templates., 7. aws lambda – This command allows you to manage AWS Lambda functions., 8. aws elb – This command allows you to manage Amazon Elastic Load Balancers., 9. aws rds – This command allows you to manage Amazon Relational Database Service (RDS) instances.

How do I manage Auto Scaling Groups using AWS CLI?

aws autoscaling describe-auto-scaling-groups. 3. Update an Auto Scaling Group:. 4. Delete an Auto Scaling Group:. 2. List Auto Scaling Groups:. 1. Create an Auto Scaling Group:. You can manage Auto Scaling Groups using the AWS CLI with the following commands:. aws autoscaling create-auto-scaling-group –auto-scaling-group-name –launch-configuration-name –min-size –max-size –desired-capacity . aws autoscaling update-auto-scaling-group –auto-scaling-group-name –min-size –max-size –desired-capacity . aws autoscaling delete-auto-scaling-group –auto-scaling-group-name

How do I use AWS CLI to manage Kinesis?

• Describe an app: aws kinesis-application describe-application –application-name . • Delete an app: aws kinesis-application delete-application –application-name . • Create an app: aws kinesis-application create-application –application-name . • Get stream tags: aws kinesis list. • List streams: aws kinesis list-streams. • Delete a stream: aws kinesis delete-stream –stream-name . • Create a stream: aws kinesis create-stream –stream-name –shard-count . • Describe a stream: aws kinesis describe-stream –stream-name . • List applications: aws kinesis-application list-applications. You can use the AWS CLI to manage Kinesis streams and shards, create, delete, and modify Kinesis applications, and get and set Kinesis stream tags. To get started, use the following commands:

How do I use AWS CLI to manage EMR?

aws emr describe-cluster –cluster-id . • Terminating an EMR Cluster:. • Creating a new EMR Cluster:. • Listing all EMR Clusters:. AWS CLI can be used to manage EMR clusters by issuing commands such as:. aws emr list-clusters. • Describing a specific EMR Cluster:. • Adding a step to an EMR Cluster:. aws emr terminate-clusters –cluster-ids . aws emr create-cluster –name . aws emr add-steps –cluster-id –steps

How do I use AWS CLI to manage Direct Connect?

You can use the AWS CLI to manage Direct Connect by using the `aws directconnect` commands. For example, to create a Direct Connect connection, you can use the `aws directconnect create-connection` command. To list all of the Direct Connect connections, you can use the `aws directconnect describe-connections` command. For more information on the available AWS CLI commands for Direct Connect, please refer to the AWS CLI Documentation.

How do I upgrade AWS CLI?

1. Check the current version of the AWS CLI you have installed., 2. Install the latest version of the AWS CLI., 3. Verify the installation of the new version., You can check the version of AWS CLI that you have installed by running the command aws –version., You can install the latest version of the AWS CLI by running the command pip install –upgrade awscli., You can verify the installation of the new version by running the command aws –version again.

How do I use AWS CLI to manage ELB?

• Create an ELB: aws elb create-load-balancer. • Add instances to ELB: aws elb register-instances-with-load-balancer. • Describe an ELB: aws elb describe-load-balancer-attributes. • List existing ELBs: aws elb describe-load-balancers. • Update listeners for ELB: aws elb modify-load-balancer-listeners. • Delete an ELB: aws elb delete-load-balancer. AWS CLI can be used to manage ELB by using the following commands:

How do I use AWS CLI to manage CodePipeline?

You can use the AWS CLI to manage CodePipeline by using the various commands available in the AWS CLI. For example, you can use the aws codepipeline list-pipelines command to list all the pipelines in your account. You can also use the aws codepipeline get-pipeline command to retrieve details about a particular pipeline. Additionally, you can use the aws codepipeline create-pipeline command to create a new pipeline and the aws codepipeline update-pipeline command to update an existing pipeline.

How do I use AWS CLI for S3?

1. Install the AWS Command Line Interface (CLI): Before you can use the AWS CLI for Amazon S3, you must install the AWS CLI, configure it with your AWS credentials, and set up a default region. To do this, refer to the AWS Command Line Interface User Guide., 2. Configure the AWS CLI for Amazon S3: To use the AWS CLI for Amazon S3, you must configure the AWS CLI with your AWS credentials and a default region. To do this, refer to the AWS CLI User Guide., 3. Use the AWS CLI for Amazon S3: Once you have installed and configured the AWS CLI, you can use the aws s3 command to manage Amazon S3 buckets and objects. For example, you can use the aws s3 cp command to copy files from your local machine to an Amazon S3 bucket, or use the aws s3 ls command to list the contents of a bucket. For more information, refer to the AWS CLI S3 Reference.

How do I delete an AWS user using AWS CLI?

You can delete an AWS user using the AWS CLI command “aws iam delete-user”. This command will delete the specified user and all of the associated access keys, signing certificates, and attached policies.

How do I use AWS CLI to manage WAF?

The AWS CLI can be used to manage WAF through a series of command line tools. These include creating, updating, and deleting web ACLs, creating and managing rules, and adding and removing IP addresses from a web ACL’s list of IP addresses to block. Additionally, the AWS CLI can be used to list the WAFs associated with an account, retrieve the details of a particular WAF, and view WAF metrics and insights.

How do I use AWS CLI to manage SNS?

1. Configure the AWS Command Line Interface (CLI) with your AWS credentials., 2. Use the aws sns create-topic command to create an SNS topic., 3. Use the aws sns list-topics command to list all topics associated with your account., 4. Use the aws sns subscribe command to subscribe an endpoint to a topic., 5. Use the aws sns publish command to publish a message to a topic., 6. Use the aws sns list-subscriptions command to list all subscriptions associated with a topic., 7. Use the aws sns delete-topic command to delete an SNS topic.

What is the difference between AWS CLI and AWS SDK?

AWS SDK (Software Development Kit) is a set of libraries and tools that allow you to build applications that interact with AWS services. It provides APIs and code libraries to help developers interact with AWS services more easily.. AWS CLI (Command Line Interface) is a tool that allows you to manage various AWS services from the command line. It provides a set of simple, easy-to-use commands that can be used to interact with AWS services.

How do I connect to an RDS instance using AWS CLI?

1. Install the AWS CLI:, 2. Configure the AWS CLI:, 3. Connect to the RDS instance:, Download the AWS CLI MSI installer from https://awscli.amazonaws.com/AWSCLIV2.msi and then follow the on-screen instructions., Run the following command in your terminal:, a. On Windows:, a. Run the following command in your terminal:, a. Run the following command in your terminal:, aws configure, aws rds describe-db-instances, aws rds describe-db-instances –db-instance-identifier

How do I use AWS CLI to manage CloudTrail?

1. Create a CloudTrail trail:, 2. Enable a CloudTrail trail:, 3. View CloudTrail Trails:, 4. Download CloudTrail Logs:, 5. Stop a CloudTrail trail:, You can use the AWS CLI to create a CloudTrail trail by running the following command:, You can use the AWS CLI to download CloudTrail logs by running the following command:, You can use the AWS CLI to enable a CloudTrail trail by running the following command:, You can use the AWS CLI to stop a CloudTrail trail by running the following command:, You can use the AWS CLI to view the CloudTrail trails in your account by running the following command:, aws cloudtrail create-trail –name –s3-bucket-name , aws cloudtrail describe-trails, aws cloudtrail get-trail-status –name –include-management-events, aws cloudtrail start-logging –name , aws cloudtrail stop-logging –name <

How do I use AWS CLI to manage Glacier?

1. To upload files to Glacier, use the “aws glacier upload-archive” command., 2. To retrieve files from Glacier, use the “aws glacier initiate-job” command., 3. To delete files from Glacier, use the “aws glacier delete-archive” command., 4. To view details about a Glacier vault, use the “aws glacier describe-vault” command., 5. To list all Glacier vaults, use the “aws glacier list-vaults” command., 6. To list all jobs in a Glacier vault, use the “aws glacier list-jobs” command., 7. To retrieve an inventory of all files in a Glacier vault, use the “aws glacier initiate-inventory-retrieval” command.

How do I use AWS CLI to manage WorkSpaces?

• Delete a WorkSpace: aws workspaces delete-workspaces. The AWS CLI is a powerful command line tool that can be used to manage and control WorkSpaces. It can be used to create, view, modify, and delete WorkSpaces, as well as manage user accounts, access control, network settings, and more. To get started, you’ll need to install the CLI and configure it to work with your AWS account. Once the CLI is installed and configured, you can use the following commands to manage and control WorkSpaces:. • Modify a WorkSpace: aws workspaces modify-workspaces. • View a WorkSpace: aws workspaces describe-workspaces. • Network settings: aws workspaces manage-network-settings. • Access control: aws workspaces manage-access-control. • Create a WorkSpace: aws workspaces create-workspaces. • Manage user accounts: aws workspaces manage-users

How do I manage EC2 instances using AWS CLI?

1. Use the aws ec2 describe-instances command to list all your EC2 instances:, 2. Use the aws ec2 start-instances command to start one or more instances:, 3. Use the aws ec2 stop-instances command to stop one or more instances:, 4. Use the aws ec2 terminate-instances command to terminate one or more instances:, aws ec2 describe-instances, aws ec2 start-instances –instance-ids i-1234567890abcdef0, aws ec2 stop-instances –instance-ids i-1234567890abcdef0, aws ec2 terminate-instances –instance-ids i-1234567890abcdef0

How do I use AWS CLI to manage ECS?

2. Create an ECS service:. $ aws ecs create-service –cluster my-ecs-cluster –service-name my-ecs-service –task-definition my-task-definition –desired-count 1. $ aws ecs create-cluster –cluster-name my-ecs-cluster. 1. Create an ECS cluster:. 3. Start an ECS service:. $ aws ecs start-task –cluster my-ecs-cluster –task-definition my-task-definition –count 1. To use AWS CLI to manage ECS, you will need to configure the AWS CLI on your machine, and then use the appropriate AWS CLI commands to create, manage, and scale your ECS services. For example, the following commands can be used to create and run an ECS service:

How do I use AWS CLI to manage Cognito?

To manage your Amazon Cognito user pools using the AWS Command Line Interface (CLI), you can use the following commands:. aws cognito-idp create-user-pool –pool-name . 3. Add a user to the user pool:. aws cognito-idp admin-create-user –user-pool-id –username . aws cognito-idp list-users –user-pool-id . aws cognito-idp admin-delete-user –user-pool-id –username . aws cognito-idp admin. 6. Update a user’s profile information:. aws cognito-idp create-user-pool-client –user-pool-id –client-name . 5. Delete a user from the user pool:. 2. Create a user pool client:. 1. Create and configure a user pool:. 4. Get a list of users in the user pool:

How do I use AWS CLI to manage KMS?

aws kms delete-key –key-id . aws kms encrypt –key-id –plaintext

. aws kms list-keys. AWS CLI can be used to manage KMS by using the following commands:. 4. Encrypting and decrypting data with a KMS key:. 1. Listing all KMS keys:. 5. Deleting a KMS key:. aws kms describe-key. 2. Creating a KMS key:. aws kms create-key. aws kms decrypt &#8211;ciphertext-blob <ciphertext-blob>. 3. Describing a KMS key:</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_create_a_snapshot_of_an_EBS_volume_using_AWS_CLI">How do I create a snapshot of an EBS volume using AWS CLI?</span></h3><div class="et_pb_toggle_content clearfix"><p>aws ec2 create-snapshot &#8211;volume-id <volume-id>. You can create a snapshot of an EBS volume using the AWS CLI with the following command:. Replace <volume-id> with the ID of the EBS volume you want to take a snapshot of.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_OpsWorks">How do I use AWS CLI to manage OpsWorks?</span></h3><div class="et_pb_toggle_content clearfix"><p>• aws opsworks create-layer. • aws opsworks start-instance. • aws opsworks describe-layers. • aws opsworks create-stack. • aws opsworks create-instance. • aws opsworks describe-instances. • aws opsworks delete-stack. • aws opsworks stop-instance. The AWS CLI can be used to manage OpsWorks by using the following commands:. • aws opsworks describe-stacks. • aws opsworks deploy-app. • aws opsworks describe-deployments</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_IAM">How do I use AWS CLI to manage IAM?</span></h3><div class="et_pb_toggle_content clearfix"><p>You can use the AWS CLI to manage IAM by using commands such as &#8220;aws iam create-user&#8221;, &#8220;aws iam delete-user&#8221;, &#8220;aws iam list-users&#8221;, &#8220;aws iam list-roles&#8221;, &#8220;aws iam create-role&#8221;, &#8220;aws iam attach-role-policy&#8221;, and more. Additionally, you can use the AWS CLI to manage policies, groups, and access keys.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_IAM_roles">How do I use AWS CLI to manage IAM roles?</span></h3><div class="et_pb_toggle_content clearfix"><p>1. To create an IAM role using the AWS CLI, use the create-role command., 2. To attach a policy to an IAM role, use the attach-role-policy command., 3. To view information about an IAM role, use the get-role command., 4. To delete an IAM role, use the delete-role command., 5. To list all IAM roles, use the list-roles command., 6. To update an IAM role, use the update-role command.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_install_AWS_CLI">How do I install AWS CLI?</span></h3><div class="et_pb_toggle_content clearfix"><p>1. Install the AWS CLI using the bundled installer, 2. Install the AWS CLI using pip, a. Download the AWS CLI Bundled Installer, a. Install Python and pip, if necessary, b. Install the AWS CLI using pip, b. Run the installer, c. Verify that the AWS CLI installed correctly</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_SQS">How do I use AWS CLI to manage SQS?</span></h3><div class="et_pb_toggle_content clearfix"><p>aws sqs create-queue &#8211;queue-name &#8220;my-queue&#8221;. You can find a full list of available commands in the AWS CLI documentation.. AWS CLI can be used to manage SQS queues and messages. You can use the AWS CLI to create, delete, and list queues; send, receive, and delete messages; set queue attributes; and configure dead letter queues. For example, to create a queue you can use the create-queue command:. To send a message to the queue you can use the send-message command:. aws sqs send-message &#8211;queue-url &#8220;https://sqs.us-east-2.amazonaws.com/123456789012/my-queue&#8221; &#8211;message-body &#8220;Hello world!&#8221;</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_SES">How do I use AWS CLI to manage SES?</span></h3><div class="et_pb_toggle_content clearfix"><p>1. Create and manage email identities: The create-identity and list-identities commands can be used to create and manage email identities in SES.. AWS CLI can be used to manage Amazon SES in the following ways:. 2. Manage reputation metrics: The get-identity-dkim-attributes, get-identity-mail-from-domain-attributes, get-identity-notification-attributes, and get-identity-verification-attributes commands can be used to manage reputation metrics.. 5. Send emails: The send-email, send-raw-email, and send-templated-email commands can be used to send emails.. 3. Manage sending authorization: The list-identity-policies, set-identity-dkim-enabled, set-identity-mail-from-domain, set-identity-notification-topic, and set-identity-headers-in-notifications commands can be used to manage sending authorization.. 4. Manage email templates: The create-template, list-templates, and delete-template commands can be used to manage email templates.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_Storage_Gateway">How do I use AWS CLI to manage Storage Gateway?</span></h3><div class="et_pb_toggle_content clearfix"><p>aws storagegateway update-gateway. aws storagegateway create-gateway. aws storagegateway describe-gateway. 4. Delete a Storage Gateway:. aws storagegateway delete-gateway. 1. Create a Storage Gateway:. 5. List Storage Gateways:. To manage Storage Gateway using AWS CLI, you can use the following commands:. 3. Update a Storage Gateway:. aws storagegateway list-gateways. 2. Describe a Storage Gateway:</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_Route53">How do I use AWS CLI to manage Route53?</span></h3><div class="et_pb_toggle_content clearfix"><p>3. Get information about a hosted zone:. 2. Get a list of hosted zones:. aws route53 list-hosted-zones. To manage Route53 using the AWS CLI, you need to first configure the AWS CLI with your AWS access key and secret key. Once configured, you can use the following commands to manage Route53:. aws route53 list-record-sets &#8211;hosted-zone-id <zone ID>. 6. Delete a record set:. 1. Create a hosted zone:. aws route53 create-record-set &#8211;hosted-zone-id <zone ID> &#8211;name <name> &#8211;type <type> &#8211;ttl <ttl> &#8211;resource-records <resource records>. aws route53 get-hosted-zone &#8211;id <zone ID>. aws route53 delete-record-set &#8211;hosted-zone-id <zone ID> &#8211;name <name> &#8211;type. aws route53 create-hosted-zone &#8211;name <domain name> &#8211;caller-reference <reference>. 4. Create a record set:. 5. Get a list of record sets in a hosted zone:</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_API_Gateway">How do I use AWS CLI to manage API Gateway?</span></h3><div class="et_pb_toggle_content clearfix"><p>AWS CLI can be used to manage API Gateway in a variety of ways. Here are some examples of AWS CLI commands you can use to manage API Gateway:. • Update a resource: aws apigateway update-resource. • Create a resource: aws apigateway create-resource. • Update an API: aws apigateway update-rest-api. • List deployments: aws apigateway get-deployments. • Create a method: aws apigateway put-method. • List APIs: aws apigateway get-rest-apis. • Create a new API: aws apigateway create-rest-api. • Create a stage: aws apigateway create-stage. • Deploy an API: aws apigateway create-deployment. • Update a method: aws apigateway update-method. • List stages: aws apigateway get-stages. • Delete a method: aws apigateway delete-. • Delete a resource: aws apigateway delete-resource. • Delete a stage: aws apigateway delete-stage. • Delete an API: aws apigateway delete-rest-api</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_manage_Elastic_Load_Balancers_using_AWS_CLI">How do I manage Elastic Load Balancers using AWS CLI?</span></h3><div class="et_pb_toggle_content clearfix"><p>&#8211; aws elb delete-load-balancer. &#8211; aws elb register-instances-with-load-balancer. &#8211; aws elb set-load-balancer-policies-of-listener. &#8211; aws elb modify-load-balancer-attributes. &#8211; aws elb create-load-balancer. You can manage Elastic Load Balancers using the AWS CLI by running commands such as:. &#8211; aws elb describe-load-balancers. &#8211; aws elb configure-health-check. &#8211; aws elb attach-load-balancer-to-subnets. &#8211; aws elb set-load-balancer-listener-ssl-certificate</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_CloudSearch">How do I use AWS CLI to manage CloudSearch?</span></h3><div class="et_pb_toggle_content clearfix"><p>AWS CLI can be used to manage CloudSearch by using the commands available in the AWS CLI. For example, the aws cloudsearch list-domain-names command can be used to list all CloudSearch domains in your account. Additionally, the aws cloudsearch create-domain command can be used to create a new CloudSearch domain. Further documentation on the available commands can be found in the AWS CLI documentation.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_Inspector">How do I use AWS CLI to manage Inspector?</span></h3><div class="et_pb_toggle_content clearfix"><p>• ListFindings. • ListAssessmentTargets. • DescribeRulesPackages. • DescribeAssessmentTargets. • ListAssessmentRuns. • ListTagsForResource. • ListRulesPackages. • DescribeFindings. • DescribeAssessmentRuns. • GetTelemetryMetadata. You can use the AWS CLI to manage Inspector with the following commands:. • StartAssessmentRun. • StopAssessmentRun</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_DynamoDB">How do I use AWS CLI to manage DynamoDB?</span></h3><div class="et_pb_toggle_content clearfix"><p>You can use the AWS CLI to manage DynamoDB by performing various operations on tables, items, and indexes. To get started, you can use the aws dynamodb commands to create, update, delete, and list tables. You can also use the aws dynamodb get-item, put-item, update-item, and delete-item commands to manage items in your tables. Finally, you can use the aws dynamodb create-index, delete-index, and list-indexes commands to manage indexes on your tables.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_manage_CloudFormation_stacks_using_AWS_CLI">How do I manage CloudFormation stacks using AWS CLI?</span></h3><div class="et_pb_toggle_content clearfix"><p>The AWS CLI provides a set of commands for managing CloudFormation stacks. The commands can be used to create, update, delete, and list stacks.. To create a stack, you can use the “aws cloudformation create-stack” command. To update a stack, you can use the “aws cloudformation update-stack” command. To delete a stack, you can use the “aws cloudformation delete-stack” command. To list all of your CloudFormation stacks, you can use the “aws cloudformation list-stacks” command.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_Redshift">How do I use AWS CLI to manage Redshift?</span></h3><div class="et_pb_toggle_content clearfix"><p>Using AWS CLI to manage Redshift requires the installation of the AWS Command Line Interface (CLI) and the AWS Redshift CLI. Once both are installed, you can manage your Redshift cluster by running commands such as “aws redshift describe-clusters” or “aws redshift delete-cluster”. Other commands are available to manage cluster security groups, tags, and snapshots, as well as to create and modify clusters. Refer to the AWS CLI documentation for a full list of supported Redshift commands.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_list_all_my_AWS_resources_using_AWS_CLI">How do I list all my AWS resources using AWS CLI?</span></h3><div class="et_pb_toggle_content clearfix"><p>You can use the AWS CLI command “aws resourcegroup list-resources” to list all resources in your AWS account. You can also use the “aws resourcegroup list-types” command to list all available resource types.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_list_all_my_AWS_CLI_commands">How do I list all my AWS CLI commands?</span></h3><div class="et_pb_toggle_content clearfix"><p>You can view a list of all the available AWS CLI commands by running the command &#8216;aws help&#8217;.</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_manage_roles_and_policies_using_AWS_CLI">How do I manage roles and policies using AWS CLI?</span></h3><div class="et_pb_toggle_content clearfix"><p>• List IAM Role Policies: aws iam list-role-policies. • Attach a Policy to an IAM Role: aws iam put-role-policy. • List IAM Policies: aws iam list-policies. • Create an IAM Role: aws iam create-role. • Describe an IAM Policy: aws iam get-policy. • Create an IAM Policy: aws iam create-policy. • Delete an IAM Policy: aws iam delete-policy. • Detach a Policy from an IAM Role: aws iam delete-role-policy. You can manage roles and policies using the AWS CLI by using the following commands:. • Delete an IAM Role: aws iam delete-role</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_CodeDeploy">How do I use AWS CLI to manage CodeDeploy?</span></h3><div class="et_pb_toggle_content clearfix"><p>• To create a new deployment: `aws deploy create-deployment`. • To list deployments: `aws deploy list-deployments`. • To list all application revisions: `aws deploy list-application-revisions`. • To delete a deployment: `aws deploy delete-deployment`. • To view the details of a deployment: `aws deploy get-deployment`. You can use AWS CLI to manage CodeDeploy by using the following commands:. • To deploy an application revision: `aws deploy deploy-application`</p></div></div><div class="et_pb_toggle et_pb_module et_pb_accordion_item et_pb_accordion_item_0 et_pb_toggle_open"><h3 class="et_pb_toggle_title"><span id="How_do_I_use_AWS_CLI_to_manage_Lambda">How do I use AWS CLI to manage Lambda?</span></h3><div class="et_pb_toggle_content clearfix"><p>• Get Event Source Mapping: aws lambda get-event-source-mapping. • Create a Lambda Function: aws lambda create-function. • Update a Lambda Function: aws lambda update-function-code. • Delete a Lambda Function: aws lambda delete-function. • Invoke a Lambda Function: aws lambda invoke. • Get Function Configuration: aws lambda get-function-configuration. • Create an Event Source Mapping: aws lambda create-event-source-mapping. • Delete an Event Source Mapping: aws lambda delete-event-source-mapping. AWS CLI can be used to manage Lambda by using the following commands:. • List Lambda Functions: aws lambda list-functions</p></div></div></div><div class="wp-block-divi-layout"><div class="et_pb_section et_pb_section_0 et_section_regular" ><div class="et_pb_row et_pb_row_0"><div class="et_pb_column et_pb_column_4_4 et_pb_column_0 et_pb_css_mix_blend_mode_passthrough et-last-child"><div class="et_pb_module et_pb_accordion et_pb_accordion_0"></div></div></div></div></div><p><script data-no-optimize="1">!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).LazyLoad=e()}(this,function(){"use strict";function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,a=arguments[e];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t}).apply(this,arguments)}function i(t){return e({},it,t)}function o(t,e){var n,a="LazyLoad::Initialized",i=new t(e);try{n=new CustomEvent(a,{detail:{instance:i}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent(a,!1,!1,{instance:i})}window.dispatchEvent(n)}function l(t,e){return t.getAttribute(gt+e)}function c(t){return l(t,bt)}function s(t,e){return function(t,e,n){e=gt+e;null!==n?t.setAttribute(e,n):t.removeAttribute(e)}(t,bt,e)}function r(t){return s(t,null),0}function u(t){return null===c(t)}function d(t){return c(t)===vt}function f(t,e,n,a){t&&(void 0===a?void 0===n?t(e):t(e,n):t(e,n,a))}function _(t,e){nt?t.classList.add(e):t.className+=(t.className?" ":"")+e}function v(t,e){nt?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}function g(t){return t.llTempImage}function b(t,e){!e||(e=e._observer)&&e.unobserve(t)}function p(t,e){t&&(t.loadingCount+=e)}function h(t,e){t&&(t.toLoadCount=e)}function n(t){for(var e,n=[],a=0;e=t.children[a];a+=1)"SOURCE"===e.tagName&&n.push(e);return n}function m(t,e){(t=t.parentNode)&&"PICTURE"===t.tagName&&n(t).forEach(e)}function a(t,e){n(t).forEach(e)}function E(t){return!!t[st]}function I(t){return t[st]}function y(t){return delete t[st]}function A(e,t){var n;E(e)||(n={},t.forEach(function(t){n[t]=e.getAttribute(t)}),e[st]=n)}function k(a,t){var i;E(a)&&(i=I(a),t.forEach(function(t){var e,n;e=a,(t=i[n=t])?e.setAttribute(n,t):e.removeAttribute(n)}))}function L(t,e,n){_(t,e.class_loading),s(t,ut),n&&(p(n,1),f(e.callback_loading,t,n))}function w(t,e,n){n&&t.setAttribute(e,n)}function x(t,e){w(t,ct,l(t,e.data_sizes)),w(t,rt,l(t,e.data_srcset)),w(t,ot,l(t,e.data_src))}function O(t,e,n){var a=l(t,e.data_bg_multi),i=l(t,e.data_bg_multi_hidpi);(a=at&&i?i:a)&&(t.style.backgroundImage=a,n=n,_(t=t,(e=e).class_applied),s(t,ft),n&&(e.unobserve_completed&&b(t,e),f(e.callback_applied,t,n)))}function N(t,e){!e||0<e.loadingCount||0<e.toLoadCount||f(t.callback_finish,e)}function C(t,e,n){t.addEventListener(e,n),t.llEvLisnrs[e]=n}function M(t){return!!t.llEvLisnrs}function z(t){if(M(t)){var e,n,a=t.llEvLisnrs;for(e in a){var i=a[e];n=e,i=i,t.removeEventListener(n,i)}delete t.llEvLisnrs}}function R(t,e,n){var a;delete t.llTempImage,p(n,-1),(a=n)&&--a.toLoadCount,v(t,e.class_loading),e.unobserve_completed&&b(t,n)}function T(o,r,c){var l=g(o)||o;M(l)||function(t,e,n){M(t)||(t.llEvLisnrs={});var a="VIDEO"===t.tagName?"loadeddata":"load";C(t,a,e),C(t,"error",n)}(l,function(t){var e,n,a,i;n=r,a=c,i=d(e=o),R(e,n,a),_(e,n.class_loaded),s(e,dt),f(n.callback_loaded,e,a),i||N(n,a),z(l)},function(t){var e,n,a,i;n=r,a=c,i=d(e=o),R(e,n,a),_(e,n.class_error),s(e,_t),f(n.callback_error,e,a),i||N(n,a),z(l)})}function G(t,e,n){var a,i,o,r,c;t.llTempImage=document.createElement("IMG"),T(t,e,n),E(c=t)||(c[st]={backgroundImage:c.style.backgroundImage}),o=n,r=l(a=t,(i=e).data_bg),c=l(a,i.data_bg_hidpi),(r=at&&c?c:r)&&(a.style.backgroundImage='url("'.concat(r,'")'),g(a).setAttribute(ot,r),L(a,i,o)),O(t,e,n)}function D(t,e,n){var a;T(t,e,n),a=e,e=n,(t=It[(n=t).tagName])&&(t(n,a),L(n,a,e))}function V(t,e,n){var a;a=t,(-1<yt.indexOf(a.tagName)?D:G)(t,e,n)}function F(t,e,n){var a;t.setAttribute("loading","lazy"),T(t,e,n),a=e,(e=It[(n=t).tagName])&&e(n,a),s(t,vt)}function j(t){t.removeAttribute(ot),t.removeAttribute(rt),t.removeAttribute(ct)}function P(t){m(t,function(t){k(t,Et)}),k(t,Et)}function S(t){var e;(e=At[t.tagName])?e(t):E(e=t)&&(t=I(e),e.style.backgroundImage=t.backgroundImage)}function U(t,e){var n;S(t),n=e,u(e=t)||d(e)||(v(e,n.class_entered),v(e,n.class_exited),v(e,n.class_applied),v(e,n.class_loading),v(e,n.class_loaded),v(e,n.class_error)),r(t),y(t)}function $(t,e,n,a){var i;n.cancel_on_exit&&(c(t)!==ut||"IMG"===t.tagName&&(z(t),m(i=t,function(t){j(t)}),j(i),P(t),v(t,n.class_loading),p(a,-1),r(t),f(n.callback_cancel,t,e,a)))}function q(t,e,n,a){var i,o,r=(o=t,0<=pt.indexOf(c(o)));s(t,"entered"),_(t,n.class_entered),v(t,n.class_exited),i=t,o=a,n.unobserve_entered&&b(i,o),f(n.callback_enter,t,e,a),r||V(t,n,a)}function H(t){return t.use_native&&"loading"in HTMLImageElement.prototype}function B(t,i,o){t.forEach(function(t){return(a=t).isIntersecting||0<a.intersectionRatio?q(t.target,t,i,o):(e=t.target,n=t,a=i,t=o,void(u(e)||(_(e,a.class_exited),$(e,n,a,t),f(a.callback_exit,e,n,t))));var e,n,a})}function J(e,n){var t;et&&!H(e)&&(n._observer=new IntersectionObserver(function(t){B(t,e,n)},{root:(t=e).container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}))}function K(t){return Array.prototype.slice.call(t)}function Q(t){return t.container.querySelectorAll(t.elements_selector)}function W(t){return c(t)===_t}function X(t,e){return e=t||Q(e),K(e).filter(u)}function Y(e,t){var n;(n=Q(e),K(n).filter(W)).forEach(function(t){v(t,e.class_error),r(t)}),t.update()}function t(t,e){var n,a,t=i(t);this._settings=t,this.loadingCount=0,J(t,this),n=t,a=this,Z&&window.addEventListener("online",function(){Y(n,a)}),this.update(e)}var Z="undefined"!=typeof window,tt=Z&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),et=Z&&"IntersectionObserver"in window,nt=Z&&"classList"in document.createElement("p"),at=Z&&1<window.devicePixelRatio,it={elements_selector:".lazy",container:tt||Z?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"litespeed-loading",class_loaded:"litespeed-loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},ot="src",rt="srcset",ct="sizes",lt="poster",st="llOriginalAttrs",ut="loading",dt="loaded",ft="applied",_t="error",vt="native",gt="data-",bt="ll-status",pt=[ut,dt,ft,_t],ht=[ot],mt=[ot,lt],Et=[ot,rt,ct],It={IMG:function(t,e){m(t,function(t){A(t,Et),x(t,e)}),A(t,Et),x(t,e)},IFRAME:function(t,e){A(t,ht),w(t,ot,l(t,e.data_src))},VIDEO:function(t,e){a(t,function(t){A(t,ht),w(t,ot,l(t,e.data_src))}),A(t,mt),w(t,lt,l(t,e.data_poster)),w(t,ot,l(t,e.data_src)),t.load()}},yt=["IMG","IFRAME","VIDEO"],At={IMG:P,IFRAME:function(t){k(t,ht)},VIDEO:function(t){a(t,function(t){k(t,ht)}),k(t,mt),t.load()}},kt=["IMG","IFRAME","VIDEO"];return t.prototype={update:function(t){var e,n,a,i=this._settings,o=X(t,i);{if(h(this,o.length),!tt&&et)return H(i)?(e=i,n=this,o.forEach(function(t){-1!==kt.indexOf(t.tagName)&&F(t,e,n)}),void h(n,0)):(t=this._observer,i=o,t.disconnect(),a=t,void i.forEach(function(t){a.observe(t)}));this.loadAll(o)}},destroy:function(){this._observer&&this._observer.disconnect(),Q(this._settings).forEach(function(t){y(t)}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var e=this,n=this._settings;X(t,n).forEach(function(t){b(t,e),V(t,n,e)})},restoreAll:function(){var e=this._settings;Q(e).forEach(function(t){U(t,e)})}},t.load=function(t,e){e=i(e);V(t,e)},t.resetStatus=function(t){r(t)},Z&&function(t,e){if(e)if(e.length)for(var n,a=0;n=e[a];a+=1)o(t,n);else o(t,e)}(t,window.lazyLoadOptions),t});!function(e,t){"use strict";function a(){t.body.classList.add("litespeed_lazyloaded")}function n(){console.log("[LiteSpeed] Start Lazy Load Images"),d=new LazyLoad({elements_selector:"[data-lazyloaded]",callback_finish:a}),o=function(){d.update()},e.MutationObserver&&new MutationObserver(o).observe(t.documentElement,{childList:!0,subtree:!0,attributes:!0})}var d,o;e.addEventListener?e.addEventListener("load",n,!1):e.attachEvent("onload",n)}(window,document);</script><script data-no-optimize="1">var litespeed_vary=document.cookie.replace(/(?:(?:^|.*;\s*)_lscache_vary\s*\=\s*([^;]*).*$)|^.*$/,"");litespeed_vary||fetch("/wp-content/plugins/litespeed-cache/guest.vary.php",{method:"POST",cache:"no-cache",redirect:"follow"}).then(e=>e.json()).then(e=>{console.log(e),e.hasOwnProperty("reload")&&"yes"==e.reload&&(sessionStorage.setItem("litespeed_docref",document.referrer),window.location.reload(!0))});</script><script data-optimized="1" type="litespeed/javascript" data-src="https://mycloudnotes.com/wp-content/litespeed/js/17377730452c5198da10422772ddb71e.js?ver=860a6"></script><script>const litespeed_ui_events=["mouseover","click","keydown","wheel","touchmove","touchstart"];var urlCreator=window.URL||window.webkitURL;function litespeed_load_delayed_js_force(){console.log("[LiteSpeed] Start Load JS Delayed"),litespeed_ui_events.forEach(e=>{window.removeEventListener(e,litespeed_load_delayed_js_force,{passive:!0})}),document.querySelectorAll("iframe[data-litespeed-src]").forEach(e=>{e.setAttribute("src",e.getAttribute("data-litespeed-src"))}),"loading"==document.readyState?window.addEventListener("DOMContentLoaded",litespeed_load_delayed_js):litespeed_load_delayed_js()}litespeed_ui_events.forEach(e=>{window.addEventListener(e,litespeed_load_delayed_js_force,{passive:!0})});async function litespeed_load_delayed_js(){let t=[];for(var d in document.querySelectorAll('script[type="litespeed/javascript"]').forEach(e=>{t.push(e)}),t)await new Promise(e=>litespeed_load_one(t[d],e));document.dispatchEvent(new Event("DOMContentLiteSpeedLoaded")),window.dispatchEvent(new Event("DOMContentLiteSpeedLoaded"))}function litespeed_load_one(t,e){console.log("[LiteSpeed] Load ",t);var d=document.createElement("script");d.addEventListener("load",e),d.addEventListener("error",e),t.getAttributeNames().forEach(e=>{"type"!=e&&d.setAttribute("data-src"==e?"src":e,t.getAttribute(e))});let a=!(d.type="text/javascript");!d.src&&t.textContent&&(d.src=litespeed_inline2src(t.textContent),a=!0),t.after(d),t.remove(),a&&e()}function litespeed_inline2src(t){try{var d=urlCreator.createObjectURL(new Blob([t.replace(/^(?:<!--)?(.*?)(?:-->)?$/gm,"$1")],{type:"text/javascript"}))}catch(e){d="data:text/javascript;base64,"+btoa(t.replace(/^(?:<!--)?(.*?)(?:-->)?$/gm,"$1"))}return d}</script></body><br /></html></p></div></div><div class="post-footer"><div class="social-icons ed-social-share-icons"><p class="share-title">Share:</p> <a href="http://www.facebook.com/sharer.php?u=https://mycloudnotes.com/aws_cli_faqs/&#038;t=Frequently%20Asked%20Questions%20about%20AWS%20CLI" class="social-share-link" title="Share &quot;Frequently Asked Questions about AWS CLI&quot; via Facebook" data-network-name="facebook" data-share-title="Frequently Asked Questions about AWS CLI" data-share-url="https://mycloudnotes.com/aws_cli_faqs/"> <span class="et-extra-icon et-extra-icon-facebook et-extra-icon-background-hover" ></span> </a><a href="http://twitter.com/intent/tweet?text=Frequently%20Asked%20Questions%20about%20AWS%20CLI%20https://mycloudnotes.com/aws_cli_faqs/" class="social-share-link" title="Share &quot;Frequently Asked Questions about AWS CLI&quot; via Twitter" data-network-name="twitter" data-share-title="Frequently Asked Questions about AWS CLI" data-share-url="https://mycloudnotes.com/aws_cli_faqs/"> <span class="et-extra-icon et-extra-icon-twitter et-extra-icon-background-hover" ></span> </a><a href="http://www.linkedin.com/shareArticle?mini=true&#038;url=https://mycloudnotes.com/aws_cli_faqs/&#038;title=Frequently%20Asked%20Questions%20about%20AWS%20CLI" class="social-share-link" title="Share &quot;Frequently Asked Questions about AWS CLI&quot; via LinkedIn" data-network-name="linkedin" data-share-title="Frequently Asked Questions about AWS CLI" data-share-url="https://mycloudnotes.com/aws_cli_faqs/"> <span class="et-extra-icon et-extra-icon-linkedin et-extra-icon-background-hover" ></span> </a><a href="#" class="social-share-link" title="Share &quot;Frequently Asked Questions about AWS CLI&quot; via Email" data-network-name="basic_email" data-share-title="Frequently Asked Questions about AWS CLI" data-share-url="https://mycloudnotes.com/aws_cli_faqs/"> <span class="et-extra-icon et-extra-icon-basic_email et-extra-icon-background-hover" ></span> </a></div></div></article><nav class="post-nav"><div class="nav-links clearfix"><div class="nav-link nav-link-prev"> <a href="https://mycloudnotes.com/aws_budget_faqs/" rel="prev"><span class="button">Previous</span><span class="title">Frequently Asked Questions about AWS BUDGET</span></a></div><div class="nav-link nav-link-next"> <a href="https://mycloudnotes.com/aws_chatbot_faqs/" rel="next"><span class="button">Next</span><span class="title">Frequently Asked Questions about AWS CHATBOT</span></a></div></div></nav><div class="et_extra_other_module related-posts"><div class="related-posts-header"><h3>Related Posts</h3></div><div class="related-posts-content clearfix"><div class="related-post"><div class="featured-image"><a href="https://mycloudnotes.com/an_introduction_to_aws_cloudshell/" title="An Introduction to AWS CloudShell" class="post-thumbnail"> <img data-lazyloaded="1" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iMjY0IiB2aWV3Qm94PSIwIDAgNDAwIDI2NCI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0iI2NmZDRkYiIvPjwvc3ZnPg==" width="400" height="264" data-src="https://mycloudnotes.com/wp-content/uploads/2023/03/Arch_AWS-CloudShell_64@5x-400x264.png" alt="An Introduction to AWS CloudShell" /><span class="et_pb_extra_overlay"></span> </a></div><h4 class="title"><a href="https://mycloudnotes.com/an_introduction_to_aws_cloudshell/">An Introduction to AWS CloudShell</a></h4><p class="date"><span class="updated">March 7, 2023</span></p></div><div class="related-post"><div class="featured-image"><a href="https://mycloudnotes.com/an_introduction_to_aws_control_tower/" title="An Introduction to AWS CONTROL TOWER" class="post-thumbnail"> <img data-lazyloaded="1" src="data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs=" data-src="https://mycloudnotes.com/wp-content/themes/Extra/images/post-format-thumb-text.svg" alt="An Introduction to AWS CONTROL TOWER" /><span class="et_pb_extra_overlay"></span> </a></div><h4 class="title"><a href="https://mycloudnotes.com/an_introduction_to_aws_control_tower/">An Introduction to AWS CONTROL TOWER</a></h4><p class="date"><span class="updated">August 20, 2023</span></p></div><div class="related-post"><div class="featured-image"><a href="https://mycloudnotes.com/an_introduction_to_aws_iot_1_click/" title="An Introduction to AWS IOT 1 CLICK" class="post-thumbnail"> <img data-lazyloaded="1" src="data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs=" data-src="https://mycloudnotes.com/wp-content/themes/Extra/images/post-format-thumb-text.svg" alt="An Introduction to AWS IOT 1 CLICK" /><span class="et_pb_extra_overlay"></span> </a></div><h4 class="title"><a href="https://mycloudnotes.com/an_introduction_to_aws_iot_1_click/">An Introduction to AWS IOT 1 CLICK</a></h4><p class="date"><span class="updated">August 20, 2023</span></p></div><div class="related-post"><div class="featured-image"><a href="https://mycloudnotes.com/an_introduction_to_aws_well_architected_tool/" title="An Introduction to AWS WELL ARCHITECTED TOOL" class="post-thumbnail"> <img data-lazyloaded="1" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iMjY0IiB2aWV3Qm94PSIwIDAgNDAwIDI2NCI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0iI2NmZDRkYiIvPjwvc3ZnPg==" width="400" height="264" data-src="https://mycloudnotes.com/wp-content/uploads/2023/03/Arch_AWS-Well-Architected-Tool_64@5x-400x264.png" alt="An Introduction to AWS WELL ARCHITECTED TOOL" /><span class="et_pb_extra_overlay"></span> </a></div><h4 class="title"><a href="https://mycloudnotes.com/an_introduction_to_aws_well_architected_tool/">An Introduction to AWS WELL ARCHITECTED TOOL</a></h4><p class="date"><span class="updated">March 10, 2023</span></p></div></div></div><section id="comment-wrap"><div id="comments" class="nocomments"></div><div id="respond" class="comment-respond"><h3 id="reply-title" class="comment-reply-title"><span>Leave a reply</span> <small><a rel="nofollow" id="cancel-comment-reply-link" href="/aws_cli_faqs/#respond" style="display:none;">Cancel reply</a></small></h3><form action="https://mycloudnotes.com/wp-comments-post.php" method="post" id="commentform" class="comment-form"><p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p><p class="comment-form-comment"><label for="comment">COMMENT</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p><p class="comment-form-author"><label for="author">Name <span class="required">*</span></label> <input id="author" name="author" type="text" value="" size="30" maxlength="245" autocomplete="name" required="required" /></p><p class="comment-form-email"><label for="email">Email <span class="required">*</span></label> <input id="email" name="email" type="text" value="" size="30" maxlength="100" aria-describedby="email-notes" autocomplete="email" required="required" /></p><p class="comment-form-url"><label for="url">Website</label> <input id="url" name="url" type="text" value="" size="30" maxlength="200" autocomplete="url" /></p><p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" /> <label for="wp-comment-cookies-consent">Save my name, email, and website in this browser for the next time I comment.</label></p><p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post Comment" /> <input type='hidden' name='comment_post_ID' value='1056' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /></p><p style="display: none !important;"><label>&#916;<textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100"></textarea></label><input type="hidden" id="ak_js_1" name="ak_js" value="36"/></p></form></div></section></div><div class="et_pb_extra_column_sidebar"><div id="search-2" class="et_pb_widget widget_search"><h4 class="widgettitle"></h4><form role="search" method="get" class="search-form" action="https://mycloudnotes.com/"> <label> <span class="screen-reader-text">Search for:</span> <input type="search" class="search-field" placeholder="Search &hellip;" value="" name="s" /> </label> <input type="submit" class="search-submit" value="Search" /></form></div><div id="recent-posts-2" class="et_pb_widget widget_recent_entries"><h4 class="widgettitle">Recent Posts</h4><ul><li> <a href="https://mycloudnotes.com/aws_cloud_hsm_faqs/">Frequently Asked Questions about AWS CLOUD HSM</a></li><li> <a href="https://mycloudnotes.com/aws_cloud_map_faqs/">Frequently Asked Questions about AWS CLOUD MAP</a></li><li> <a href="https://mycloudnotes.com/aws_elb_faqs/">Frequently Asked Questions about AWS ELB</a></li><li> <a href="https://mycloudnotes.com/an_introduction_toaws-athena/">An Introduction to AWS ATHENA</a></li><li> <a href="https://mycloudnotes.com/an_introduction_to_aws_codestar/">An Introduction to AWS CODESTAR</a></li></ul></div><div id="recent-comments-2" class="et_pb_widget widget_recent_comments"><h4 class="widgettitle">Recent Comments</h4><ul id="recentcomments"></ul></div></div></div></div></div><footer id="footer" class="footer_columns_3"><div id="footer-bottom"><div class="container"><p id="footer-info">Designed by <a href="http://www.elegantthemes.com" title="Premium WordPress Themes">Elegant Themes</a> | Powered by <a href="http://www.wordpress.org">WordPress</a></p><div id="footer-nav"><ul class="et-extra-social-icons" style=""></ul></div></div></div></footer></div> <script type="litespeed/javascript" data-src="https://www.googletagmanager.com/gtag/js?id=G-6YSB6F4VSC"></script> <script type="litespeed/javascript">window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)} gtag('js',new Date());gtag('config','G-6YSB6F4VSC')</script> <script data-no-optimize="1">!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).LazyLoad=e()}(this,function(){"use strict";function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,a=arguments[e];for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t}).apply(this,arguments)}function i(t){return e({},it,t)}function o(t,e){var n,a="LazyLoad::Initialized",i=new t(e);try{n=new CustomEvent(a,{detail:{instance:i}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent(a,!1,!1,{instance:i})}window.dispatchEvent(n)}function l(t,e){return t.getAttribute(gt+e)}function c(t){return l(t,bt)}function s(t,e){return function(t,e,n){e=gt+e;null!==n?t.setAttribute(e,n):t.removeAttribute(e)}(t,bt,e)}function r(t){return s(t,null),0}function u(t){return null===c(t)}function d(t){return c(t)===vt}function f(t,e,n,a){t&&(void 0===a?void 0===n?t(e):t(e,n):t(e,n,a))}function _(t,e){nt?t.classList.add(e):t.className+=(t.className?" ":"")+e}function v(t,e){nt?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}function g(t){return t.llTempImage}function b(t,e){!e||(e=e._observer)&&e.unobserve(t)}function p(t,e){t&&(t.loadingCount+=e)}function h(t,e){t&&(t.toLoadCount=e)}function n(t){for(var e,n=[],a=0;e=t.children[a];a+=1)"SOURCE"===e.tagName&&n.push(e);return n}function m(t,e){(t=t.parentNode)&&"PICTURE"===t.tagName&&n(t).forEach(e)}function a(t,e){n(t).forEach(e)}function E(t){return!!t[st]}function I(t){return t[st]}function y(t){return delete t[st]}function A(e,t){var n;E(e)||(n={},t.forEach(function(t){n[t]=e.getAttribute(t)}),e[st]=n)}function k(a,t){var i;E(a)&&(i=I(a),t.forEach(function(t){var e,n;e=a,(t=i[n=t])?e.setAttribute(n,t):e.removeAttribute(n)}))}function L(t,e,n){_(t,e.class_loading),s(t,ut),n&&(p(n,1),f(e.callback_loading,t,n))}function w(t,e,n){n&&t.setAttribute(e,n)}function x(t,e){w(t,ct,l(t,e.data_sizes)),w(t,rt,l(t,e.data_srcset)),w(t,ot,l(t,e.data_src))}function O(t,e,n){var a=l(t,e.data_bg_multi),i=l(t,e.data_bg_multi_hidpi);(a=at&&i?i:a)&&(t.style.backgroundImage=a,n=n,_(t=t,(e=e).class_applied),s(t,ft),n&&(e.unobserve_completed&&b(t,e),f(e.callback_applied,t,n)))}function N(t,e){!e||0<e.loadingCount||0<e.toLoadCount||f(t.callback_finish,e)}function C(t,e,n){t.addEventListener(e,n),t.llEvLisnrs[e]=n}function M(t){return!!t.llEvLisnrs}function z(t){if(M(t)){var e,n,a=t.llEvLisnrs;for(e in a){var i=a[e];n=e,i=i,t.removeEventListener(n,i)}delete t.llEvLisnrs}}function R(t,e,n){var a;delete t.llTempImage,p(n,-1),(a=n)&&--a.toLoadCount,v(t,e.class_loading),e.unobserve_completed&&b(t,n)}function T(o,r,c){var l=g(o)||o;M(l)||function(t,e,n){M(t)||(t.llEvLisnrs={});var a="VIDEO"===t.tagName?"loadeddata":"load";C(t,a,e),C(t,"error",n)}(l,function(t){var e,n,a,i;n=r,a=c,i=d(e=o),R(e,n,a),_(e,n.class_loaded),s(e,dt),f(n.callback_loaded,e,a),i||N(n,a),z(l)},function(t){var e,n,a,i;n=r,a=c,i=d(e=o),R(e,n,a),_(e,n.class_error),s(e,_t),f(n.callback_error,e,a),i||N(n,a),z(l)})}function G(t,e,n){var a,i,o,r,c;t.llTempImage=document.createElement("IMG"),T(t,e,n),E(c=t)||(c[st]={backgroundImage:c.style.backgroundImage}),o=n,r=l(a=t,(i=e).data_bg),c=l(a,i.data_bg_hidpi),(r=at&&c?c:r)&&(a.style.backgroundImage='url("'.concat(r,'")'),g(a).setAttribute(ot,r),L(a,i,o)),O(t,e,n)}function D(t,e,n){var a;T(t,e,n),a=e,e=n,(t=It[(n=t).tagName])&&(t(n,a),L(n,a,e))}function V(t,e,n){var a;a=t,(-1<yt.indexOf(a.tagName)?D:G)(t,e,n)}function F(t,e,n){var a;t.setAttribute("loading","lazy"),T(t,e,n),a=e,(e=It[(n=t).tagName])&&e(n,a),s(t,vt)}function j(t){t.removeAttribute(ot),t.removeAttribute(rt),t.removeAttribute(ct)}function P(t){m(t,function(t){k(t,Et)}),k(t,Et)}function S(t){var e;(e=At[t.tagName])?e(t):E(e=t)&&(t=I(e),e.style.backgroundImage=t.backgroundImage)}function U(t,e){var n;S(t),n=e,u(e=t)||d(e)||(v(e,n.class_entered),v(e,n.class_exited),v(e,n.class_applied),v(e,n.class_loading),v(e,n.class_loaded),v(e,n.class_error)),r(t),y(t)}function $(t,e,n,a){var i;n.cancel_on_exit&&(c(t)!==ut||"IMG"===t.tagName&&(z(t),m(i=t,function(t){j(t)}),j(i),P(t),v(t,n.class_loading),p(a,-1),r(t),f(n.callback_cancel,t,e,a)))}function q(t,e,n,a){var i,o,r=(o=t,0<=pt.indexOf(c(o)));s(t,"entered"),_(t,n.class_entered),v(t,n.class_exited),i=t,o=a,n.unobserve_entered&&b(i,o),f(n.callback_enter,t,e,a),r||V(t,n,a)}function H(t){return t.use_native&&"loading"in HTMLImageElement.prototype}function B(t,i,o){t.forEach(function(t){return(a=t).isIntersecting||0<a.intersectionRatio?q(t.target,t,i,o):(e=t.target,n=t,a=i,t=o,void(u(e)||(_(e,a.class_exited),$(e,n,a,t),f(a.callback_exit,e,n,t))));var e,n,a})}function J(e,n){var t;et&&!H(e)&&(n._observer=new IntersectionObserver(function(t){B(t,e,n)},{root:(t=e).container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}))}function K(t){return Array.prototype.slice.call(t)}function Q(t){return t.container.querySelectorAll(t.elements_selector)}function W(t){return c(t)===_t}function X(t,e){return e=t||Q(e),K(e).filter(u)}function Y(e,t){var n;(n=Q(e),K(n).filter(W)).forEach(function(t){v(t,e.class_error),r(t)}),t.update()}function t(t,e){var n,a,t=i(t);this._settings=t,this.loadingCount=0,J(t,this),n=t,a=this,Z&&window.addEventListener("online",function(){Y(n,a)}),this.update(e)}var Z="undefined"!=typeof window,tt=Z&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),et=Z&&"IntersectionObserver"in window,nt=Z&&"classList"in document.createElement("p"),at=Z&&1<window.devicePixelRatio,it={elements_selector:".lazy",container:tt||Z?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"litespeed-loading",class_loaded:"litespeed-loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},ot="src",rt="srcset",ct="sizes",lt="poster",st="llOriginalAttrs",ut="loading",dt="loaded",ft="applied",_t="error",vt="native",gt="data-",bt="ll-status",pt=[ut,dt,ft,_t],ht=[ot],mt=[ot,lt],Et=[ot,rt,ct],It={IMG:function(t,e){m(t,function(t){A(t,Et),x(t,e)}),A(t,Et),x(t,e)},IFRAME:function(t,e){A(t,ht),w(t,ot,l(t,e.data_src))},VIDEO:function(t,e){a(t,function(t){A(t,ht),w(t,ot,l(t,e.data_src))}),A(t,mt),w(t,lt,l(t,e.data_poster)),w(t,ot,l(t,e.data_src)),t.load()}},yt=["IMG","IFRAME","VIDEO"],At={IMG:P,IFRAME:function(t){k(t,ht)},VIDEO:function(t){a(t,function(t){k(t,ht)}),k(t,mt),t.load()}},kt=["IMG","IFRAME","VIDEO"];return t.prototype={update:function(t){var e,n,a,i=this._settings,o=X(t,i);{if(h(this,o.length),!tt&&et)return H(i)?(e=i,n=this,o.forEach(function(t){-1!==kt.indexOf(t.tagName)&&F(t,e,n)}),void h(n,0)):(t=this._observer,i=o,t.disconnect(),a=t,void i.forEach(function(t){a.observe(t)}));this.loadAll(o)}},destroy:function(){this._observer&&this._observer.disconnect(),Q(this._settings).forEach(function(t){y(t)}),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var e=this,n=this._settings;X(t,n).forEach(function(t){b(t,e),V(t,n,e)})},restoreAll:function(){var e=this._settings;Q(e).forEach(function(t){U(t,e)})}},t.load=function(t,e){e=i(e);V(t,e)},t.resetStatus=function(t){r(t)},Z&&function(t,e){if(e)if(e.length)for(var n,a=0;n=e[a];a+=1)o(t,n);else o(t,e)}(t,window.lazyLoadOptions),t});!function(e,t){"use strict";function a(){t.body.classList.add("litespeed_lazyloaded")}function n(){console.log("[LiteSpeed] Start Lazy Load Images"),d=new LazyLoad({elements_selector:"[data-lazyloaded]",callback_finish:a}),o=function(){d.update()},e.MutationObserver&&new MutationObserver(o).observe(t.documentElement,{childList:!0,subtree:!0,attributes:!0})}var d,o;e.addEventListener?e.addEventListener("load",n,!1):e.attachEvent("onload",n)}(window,document);</script><script data-optimized="1" type="litespeed/javascript" data-src="https://mycloudnotes.com/wp-content/litespeed/js/17377730452c5198da10422772ddb71e.js?ver=860a6"></script><script>const litespeed_ui_events=["mouseover","click","keydown","wheel","touchmove","touchstart"];var urlCreator=window.URL||window.webkitURL;function litespeed_load_delayed_js_force(){console.log("[LiteSpeed] Start Load JS Delayed"),litespeed_ui_events.forEach(e=>{window.removeEventListener(e,litespeed_load_delayed_js_force,{passive:!0})}),document.querySelectorAll("iframe[data-litespeed-src]").forEach(e=>{e.setAttribute("src",e.getAttribute("data-litespeed-src"))}),"loading"==document.readyState?window.addEventListener("DOMContentLoaded",litespeed_load_delayed_js):litespeed_load_delayed_js()}litespeed_ui_events.forEach(e=>{window.addEventListener(e,litespeed_load_delayed_js_force,{passive:!0})});async function litespeed_load_delayed_js(){let t=[];for(var d in document.querySelectorAll('script[type="litespeed/javascript"]').forEach(e=>{t.push(e)}),t)await new Promise(e=>litespeed_load_one(t[d],e));document.dispatchEvent(new Event("DOMContentLiteSpeedLoaded")),window.dispatchEvent(new Event("DOMContentLiteSpeedLoaded"))}function litespeed_load_one(t,e){console.log("[LiteSpeed] Load ",t);var d=document.createElement("script");d.addEventListener("load",e),d.addEventListener("error",e),t.getAttributeNames().forEach(e=>{"type"!=e&&d.setAttribute("data-src"==e?"src":e,t.getAttribute(e))});let a=!(d.type="text/javascript");!d.src&&t.textContent&&(d.src=litespeed_inline2src(t.textContent),a=!0),t.after(d),t.remove(),a&&e()}function litespeed_inline2src(t){try{var d=urlCreator.createObjectURL(new Blob([t.replace(/^(?:<!--)?(.*?)(?:-->)?$/gm,"$1")],{type:"text/javascript"}))}catch(e){d="data:text/javascript;base64,"+btoa(t.replace(/^(?:<!--)?(.*?)(?:-->)?$/gm,"$1"))}return d}</script></body></html> <!-- Page optimized by LiteSpeed Cache @2023-09-26 19:34:47 --> <!-- Page cached by LiteSpeed Cache 5.6 on 2023-09-26 19:34:47 --> <!-- Guest Mode --> <!-- QUIC.cloud UCSS in queue -->