👋Cloudlens

k9s like CLI for AWS and GCP

Terminal-ate Your Cloud Worries!

AWS and GCP Console in your terminal! well, almost. Explore AWS and GCP services like EC2, S3, IAM, VPC, VM, Storage etc. from your terminal. If you like k9s for Kubernetes, you'll love cloudlens.

Got 2 minutes? Check out a video overview of cloudlens:

Getting set up

Install
brew install one2nc/cloudlens/cloudlens
Run
cloudlens

AWS Features

GCP Features

Prompt

To view the input prompt, press the : key. From there, you can try different commands to access and view various services.You can use the tab key or the right arrow key for autocomplete to make entering commands faster and easier.

Help

To access the Help Page, press the "?" key while on the prompt. This will display all available commands and services for you to view.

Resources Tab

The resources window located in the top right corner of the terminal provides you with all the necessary commands to browse for a specific service.

You can switch between the dropdown options using the tab button.

AWS Resources

S3

To view the S3 page, use the command s3 in your prompt. Pressing enter will display all the available buckets, folders, and files. You can use the escape key to go back to the previous page.. Additionally, you can download a CSV file using the z command.

EC2

To view the EC2 page, enter the command ec2 in your prompt. Pressing enter will display all available instances. To view specific details about an instance, select it and press enter to display a JSON with the EC2 information. You can use the escape key to navigate back to the previous page. Additionally, you can download a CSV file by using the z command.

EC2 Snapshot

To access the EC2 snapshots page, enter ec2:s in your prompt and press Enter. This will display a list of all available snapshots. Select a snapshot to view its details, then press Enter again. To return to the previous page, press the Escape key.

EC2 Image

To access the EC2 image page, enter ec2:i in your prompt and press Enter. This will display a list of all available images. Select an image to view its details, then press Enter again. To return to the previous page, press the Escape key.

ECS Clusters

To acess the ECS Clusters page, enter ecs:c in your prompt and press Enter. This will display a list of all deployed Clusetrs.

From the ECS cluster page, you can navigate down through various layers:

  • Clusters: Get an overview of available clusters.

  • Services: Explore services associated with each cluster.

  • Tasks: View individual tasks running within these services.

  • Containers: Access detailed information about specific containers.

VPC

To access the VPC management functionality, type vpc in the command prompt to display a list of available VPCs. Selecting a specific VPC and pressing enter will show a JSON file with its information. You can view the VPC's subnets by using the s command and navigate back to the previous page by pressing the escape key. Additionally, you can download a CSV file using the z command.

Security Group

To access the security group management functionality, enter sg in the command prompt to display a list of available security groups. Selecting a specific security group and pressing enter will display a JSON file with its information. To go back to the previous page, press the escape key. You can also download a CSV file using the z command.

IAM Users

To view IAM users, enter iam:u in the command prompt to display a list of users. Selecting a specific user and pressing Shift+P will display their policy. To go back to the previous page, press the escape key. You can also download a CSV file using the z command.

IAM Group

To view IAM groups, enter iam:g in the command prompt to display a list of groups. Selecting a specific group and pressing Shift+P will display its users. To go back to the previous page, press the escape key. You can also download a CSV file using the z command.

IAM Roles

To view IAM roles, enter iam:r in the command prompt and press Enter to display a list of user roles. To view the policy of a specific role, select the role and press Shift+P. To return to the previous page, press the Escape key. To download a CSV file, use the z command

EBS

To view EBS volumes, enter ebs in the command prompt and press Enter to show a list of volumes. Select a volume and press Enter to view its details. To return to the previous page, press the Escape key.

SQS

To view SQS queues, enter sqs in the command prompt and press Enter to display a list of queues. Select a queue and press Enter to view its details. To go back to the previous page, press the Escape key.

Lambda

View all your Lambda functions easily by entering 'lambda' command in your terminal prompt.

GCP Resources

Storage

To view the Storage buckets page, use the command storage in your prompt. Pressing enter will display all the available buckets, folders, and files. You can use the escape key to go back to the previous page.. Additionally, you can download a CSV file using the z command.

VM

To view the VM page, enter the command vm in your prompt. Pressing enter will display all available instances. To view specific details about an instance, select it and press enter to display a JSON with the VM information. You can use the escape key to navigate back to the previous page. Additionally, you can download a CSV file by using the z command.

VM Snapshot

To access the VM snapshots page, enter vm:S in your prompt and press Enter. This will display a list of all available snapshots. Select a snapshot to view its details, then press Enter again. To return to the previous page, press the Escape key.

VM Image

To access the VM image page, enter vm:I in your prompt and press Enter. This will display a list of all available images. Select an image to view its details, then press Enter again. To return to the previous page, press the Escape key.

Disk

To view Disks, enter disk in the command prompt and press Enter to show a list of disks. Select a disk and press Enter to view its details. To return to the previous page, press the Escape key.

Last updated