| description | k9s like CLI for AWS and GCP |
|---|
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.
{% embed url="https://drive.google.com/file/d/1Nc-b4g8F9F7V1ARi6LFo0vglbqKLOGZQ/view?usp=share_link" %}
Install
brew install one2nc/cloudlens/cloudlens
Run
cloudlens
| Services | Description | Alias |
|---|---|---|
| S3 | View all S3 buckets and their contents | s3 |
| EC2 | view all instances and their associated metadata, including JSON data | ec2 |
| EC2 Snapshot | view a list of all EC2 snapshots | ec2:s |
| EC2 Image | See a list of all EC2 images | ec2:i |
| ECS Clusters | View all ECS Clusters | ecs:c |
| VPC | view all VPC's and their associated metadata, including JSON data | vpc |
| Security Group | Security Groups and their associated metadata | sg |
| IAM users | view all IAM users and their associated metadata | iam:u |
| IAM Groups | view all IAM users groups | iam:g |
| IAM Roles | view all IAM Roles | iam:r |
| EBS | View all available EBS volumes | ebs |
| SQS | view a list of all SQS queues | sqs |
| Lambda | view a list of all Lambda functions | lamda |
| Services | Description | Alias |
|---|---|---|
| Storage | View all storage buckets and their contents | storage |
| VM | view all instances and their associated metadata, including JSON data | vm |
| VM Snapshot | view a list of all VM snapshots | vm:S |
| VM Image | See a list of all VM images | vm:I |
| Disk | View all available disks | disk |
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.
Prompt
To access the Help Page, press the "?" key while on the prompt. This will display all available commands and services for you to view.
Help Page
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.
Resources Tab
You can switch between the dropdown options using the tab button.
Dropdowns
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.
S3 Page
S3 Details Page
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 Page
EC2 Details Page
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 Snapshot Page
EC2 Snapshot Details Page
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.
EC2 Image Page
EC2 Image Details Page
To acess the ECS Clusters page, enter ecs:c in your prompt and press Enter. This will display a list of all deployed Clusetrs.
ECS Cluster Page
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.
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.
VPC Page
VPC Details Page
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.
Security Group Page
Security Group Details Page
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 Users
IAM User Policy
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 Group
Group Policy
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
IAM Role Page
IAM Role Policy Page
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.
EBS Page
EBS Details Page
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.
SQS Page
SQS Details Page
View all your Lambda functions easily by entering 'lambda' command in your terminal prompt.
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.
Storage Page
Storage Details Page
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 Page
VM Details Page
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 Snapshot Page
VM Snapshot Details Page
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.
VM Image Page
VM Image Details Page
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.
Disk Page
Disk Details Page






































