Sunday, April 20, 2025

AWS CloudShell (features ,benefits & Projects ): A terminal in aws that users can freely use.

AWS CloudShell not yet available in all regions.

twtech recommends that users can find the region with AWS CloudShell list here: 

https://docs.aws.amazon.com/cloudshell/latest/userguide/supported-aws-regions.html

Users may switch to one of these available regions for hands-on with AWS CloudShell.

As at April.20.2025

Return to the aws management console.

AWS CloudShell is available in the us-east-2 region. (Ohio)

This work the same as the terminal that has been configures with aws-access keys.

AWS CloudShell is a browser-based shell provided by AWS, pre-authenticated with your AWS credentials, that allows you to run AWS CLI commands, scripts, and interact with AWS services without needing to configure a local environment. It's a powerful tool, especially for DevOps and Cloud Engineers who need quick access to AWS resources from any machine.

 Features of AWS CloudShell

  1. Browser-Based Access
    • No installation required; accessible directly from the AWS Management Console.
    • Available via a simple click on the terminal icon in the console header.
  2. Preconfigured Environment
    • Comes with AWS CLI, AWS SDKs, Terraform, Python, Node.js, Git, Docker, and other popular tools pre-installed.
    • Supports customization via dotfiles or custom scripts.
  3. Persistent Home Directory
    • 1 GB of persistent storage per region.
    • Files saved in your home directory are preserved across sessions.
  4. Automatic Authentication
    • Uses the credentials of the signed-in IAM user, eliminating the need for manual AWS CLI configuration.
  5. Multi-Region Support
    • Available in multiple AWS regions with independent storage per region.
  6. Integrated Security
    • Runs in a secure, isolated environment within your AWS account.
    • IAM policies control access just like any other AWS service.

 Benefits of AWS CloudShell

  1. Rapid Access to AWS CLI
    • Great for troubleshooting, configuration, and scripting on the fly.
    • Ideal for environments where installing CLI tools is restricted.
  2. Improved Developer Productivity
    • Reduces the setup time needed for AWS access.
    • Consistent environment across teams and machines.
  3. Cost-Effective
    • Free to use, with no additional charge beyond the underlying resources you access (e.g., EC2, S3, etc.).
  4. Portability and Convenience
    • Access from any machine with a browser.
    • Useful for remote teams or hybrid work setups.
  5. Safe Experimentation
    • Isolated shell environment allows you to safely test AWS CLI commands before deploying changes.
  6. Supports Automation and Scripting
    • Easily run scripts, automation routines, or Terraform configurations directly from the shell.
Project:

How twtech creates files on CloudShell.

echo twtech-users list > twtechuser.txt

How twtech configures the cloudshell settings.

From:

To:

How twech downloads file(s) from cloudshell to the local machine.

Copy the Absolute path to the file and use it to download.

/home/cloudshell-user/twtechuser.txt


/home/cloudshell-user/twtechuser.txt


Verify in the file in the Download folder of the local machine.

How twtect uploads (migrates) files from a local computer into the cloud (server) using cloudshell.

How twtech Selects the file(s) to upload from the local machine to the server.


How twtech Verifies in the server that the file(s) have been migrated.


How twtech splits cloudshell tab into multiple terminals (columns).


No comments:

Post a Comment

Kubernetes Clusters | Upstream Vs Downstream.

  The terms "upstream" and "downstream" in the context of Kubernetes clusters often refer to the direction of code fl...