# AWS CloudShell

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/aws-cloudshell

> AWS CloudShell is a browser-based shell that provides command-line access to AWS services, enabling users to manage and interact with AWS resources directly from their web browser without needing to install or configure CLI tools locally.

## 8 key features of AWS CloudShell

AWS CloudShell provides a pre-installed AWS CLI environment accessible directly from your browser at no extra cost, including support for several programming languages, pre-installed tools, persistent storage, availability across multiple regions, and browser-based access for efficient AWS management and operations.

1. **Pre-installed AWS Command Line Interface (CLI)**: AWS CloudShell comes with the AWS Command Line Interface pre-installed, enabling users to manage and control AWS services directly from a browser without needing any local setup.
2. **No Additional Cost for Usage**: AWS CloudShell is provided at no additional charge, although you are billed for the AWS resources that you use with the CloudShell to interact with other AWS services.
3. **Language Support**: CloudShell supports several programming languages including Python, Node.js, and Java, allowing you to manage your resources using the language you are most comfortable with.
4. **Pre-Installed Software**: The environment comes pre-installed with a variety of software and tools, such as Git, Docker, and the AWS CLI, making it a ready-to-use solution for many AWS tasks.
5. **Persistent Storage**: AWS CloudShell provides users with 1 GB of persistent storage mounted as a home directory, which is maintained across sessions, making it easy to save scripts, configuration files, and other data.
6. **Region Availability**: CloudShell is available in multiple AWS regions, allowing users to manage resources in various regions directly from the cloud shell without needing to reconfigure their CLI environment.
7. **Browser-Based Access**: With AWS CloudShell, you can access a command-line shell from your web browser without needing to install or configure any additional software on your local machine.
8. **Shell Choice**: Run AWS CLI commands using Bash, PowerShell, or Z shell without downloading or installing command-line tools.

## Where AWS CloudShell is used

AWS CloudShell is utilized for executing AWS CLI commands, running scripts and automation, accessing AWS services with SDKs, and providing a platform for learning and experimenting with AWS, all directly from a browser.

1. **Executing AWS CLI Commands**: AWS CloudShell provides a browser-based shell from which you can directly execute AWS CLI commands to manage AWS services. This eliminates the need for setting up and configuring the AWS CLI on your local machine, enabling quick and easy access to manage your AWS resources. It's ideal for ad-hoc operational tasks and automation scripts.
2. **Running Scripts and Automation**: With AWS CloudShell, you can run shell scripts and automation scripts directly in the cloud. This is particularly useful for developers and system administrators for tasks such as infrastructure provisioning with AWS CloudFormation, troubleshooting, and deploying updates. It supports various programming languages and tools pre-installed in the environment.
3. **Accessing AWS Services with SDKs**: AWS CloudShell comes with pre-installed AWS SDKs for Python and Node.js. This enables developers to quickly write and test scripts that interact with AWS services without any setup required. It facilitates the development and testing of applications that utilize AWS services directly from your web browser.
4. **Learning and Experimenting with AWS**: For new users and learners, AWS CloudShell provides an excellent platform to experiment with AWS services without the overhead of installing or configuring software. It acts as an interactive learning environment where one can explore AWS service APIs, try out new commands, and gain practical experience with the AWS ecosystem.

## How AWS CloudShell is priced

AWS CloudShell is free to use with up to 1 GB of persistent storage, with fees applicable for additional storage as per standard S3 rates.

- **No Additional Charge**: There is no additional charge for AWS CloudShell, no minimum fees, and no required upfront commitments. You pay for other AWS resources you use with CloudShell to create and run applications.
- **Data Transfer**: Data transfer is billed at standard AWS data transfer rates.

## Services AWS CloudShell works with

- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: Provides secure access management and role assumption for executing commands and managing resources.
- **[Amazon Aurora](https://blowstack.com/tools/cloud-services-hub/amazon-aurora)**: AWS CloudShell can open a database connection from the Aurora console using a VPC environment configured to reach the selected database. You can use the shell's database client to run SQL against an Aurora MySQL or Aurora PostgreSQL database without setting up a separate administration host.
- **[Amazon Aurora Serverless](https://blowstack.com/tools/cloud-services-hub/amazon-aurora-serverless)**: AWS CloudShell's database connection feature in the RDS console can connect to Aurora Serverless databases using a CloudShell VPC environment. This provides an interactive SQL session without requiring a publicly accessible database endpoint or a separate client machine.
- **[Amazon Elastic Container Service (Amazon ECS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-container-service-(amazon-ecs))**: AWS CloudShell provides the browser-based terminal used when you start ECS Exec from the Amazon ECS console. It opens an interactive session inside a running container, subject to ECS Exec configuration and permissions.
- **[Amazon ElastiCache](https://blowstack.com/tools/cloud-services-hub/amazon-elasticache)**: AWS CloudShell can be launched through the ElastiCache console's connection workflow to access a cache from a VPC environment. You can use the cache command-line client in that environment to test connectivity and run cache commands.
- **[Amazon Keyspaces (for Apache Cassandra)](https://blowstack.com/tools/cloud-services-hub/amazon-keyspaces-(for-apache-cassandra))**: AWS CloudShell has an integrated connection experience in the Amazon Keyspaces console that initializes cqlsh-expansion and connects to a selected keyspace. You can run CQL statements without installing and configuring a Cassandra client locally.
- **[Amazon RDS](https://blowstack.com/tools/cloud-services-hub/amazon-rds)**: AWS CloudShell can connect to supported RDS databases directly through the RDS console's connection workflow. The workflow configures a CloudShell VPC environment and launches a database client so you can run SQL without provisioning a separate administration instance.
- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: AWS CloudShell supports VPC environments associated with a selected VPC, subnet, and security groups. These environments let you work with private resources, such as a database that has no public endpoint, using network interfaces created in your VPC.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: AWS CloudShell records its supported API activity in CloudTrail, including environment and session operations. You can use these events to audit who created, started, or deleted CloudShell environments.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: AWS CloudShell uses AWS KMS encryption keys to protect data stored in its environments at rest. CloudShell manages this encryption automatically rather than requiring you to supply a customer-managed key.
- **[AWS Management Console](https://blowstack.com/tools/cloud-services-hub/aws-management-console)**: AWS CloudShell is embedded in the AWS Management Console and can be opened from its toolbar or in a separate browser tab. It automatically receives the credentials associated with your console session, providing an authenticated shell without a separate local credential setup.

## What is AWS CloudShell

AWS CloudShell is a browser-based, pre-authenticated shell environment provided by Amazon Web Services (AWS) for managing AWS resources directly from your web browser. This innovative service enables developers, sysadmins, and DevOps professionals to interact with AWS services using a rich set of command-line tools and utilities without the hassle of installing and configuring these tools on their local machines.

AWS CloudShell embeds the flexibility and power of command-line scripting into the convenience of a web browser, making it an invaluable tool for anyone looking to manage their AWS environment more efficiently.

One of the key features of AWS CloudShell is its simplicity and ease of use. Accessible directly from the AWS Management Console, it requires no setup or downloads to start. This on-the-go accessibility not only accelerates tasks that require AWS CLI or other command-line tools but also ensures that these tasks can be performed from any device with internet access. This feature is particularly beneficial for users who frequently switch between different machines or work environments.

The default concurrent-shell quota is 10 per account in each supported Region and is adjustable.

AWS CloudShell is not just about accessibility; it is also about providing a consistent and secure environment for cloud management tasks. The environment comes pre-configured with AWS Command Line Interface (CLI), as well as popular programming languages such as Python, Node.js, and PowerShell, allowing users to script and automate their workflows effortlessly.

CloudShell creates a compute environment based on Amazon Linux 2023.

Additionally, since AWS CloudShell automatically manages the authentication against your AWS account using the same credentials as your AWS Management Console, users can securely run commands or scripts without the need for additional configuration steps.

Cost efficiency is another significant advantage of using AWS CloudShell. AWS offers this service at no additional charge, with users only paying for the AWS resources they manage using CloudShell. This cost-effective approach allows organizations of any size to benefit from the power of cloud computing without significant upfront investment.

CloudShell has a default monthly usage quota of 200 hours per account in each supported Region. This quota is adjustable.

Furthermore, AWS CloudShell supports a persistent storage feature, where users are allocated a small amount of storage space that remains available across sessions. This means that scripts, programs, or any files created within a CloudShell session can be saved to this persistent storage area and accessed in future sessions, enhancing the usability of the environment for continuous work.

Persistent storage is Region-specific. After 120 days without using CloudShell in a Region, its persistent data is automatically deleted; launching CloudShell again in that Region prevents removal.

CloudShell VPC environments do not have persistent storage. Their $HOME directory is deleted when the environment times out or is deleted or restarted. Inactivity timeouts are 20–30 minutes, or 10 minutes in AWS GovCloud (US) Regions.

In summary, AWS CloudShell presents a powerful and accessible tool for anyone looking to streamline their management of AWS resources. By eliminating the need for local installations and configurations, providing secure and immediate access to a pre-authenticated command line environment, and offering this capability at no additional cost, AWS CloudShell significantly lowers the barriers to efficient cloud management and automation, embodying the principles of accessibility, efficiency, and security that are central to cloud computing.
