DEV Community

Cover image for How AWS CloudShell can help you ?
Avinash Dalvi for AWS Community Builders

Posted on • Edited on • Originally published at internetkatta.com

How AWS CloudShell can help you ?

Today, I was doing some experiments on EC2 instances. While doing the experiment I faced one issue: launch failure. It is like launching template failed, to debug this and to know about what is this error, I went through AWS troubleshooting documentation and in that document it was mentioned about trying out describe-instance-type-offerings command to see what instance types are offering. I was not using my personal machine where my AWS account or credentials are configured. I was thinking what should I do now ? πŸ€”πŸ€”
thinking-think-about-it.gif

Then I saw a symbol on top navigation of AWS UI about launching an online AWS cloud console UI. Wow, it's superb... Now I no need worry about accessing AWS CLI even if I am not in front of my personal device. If I can access my AWS account from a browser then I can access AWS CLI.

Interesting facts about AWS CloudShell is it was launched around Dec 2020 but I got to know now. Somebody said "Problem come with solution and solution come with learning"

Screenshot 2021-09-20 at 11.33.15 PM.png

Let me walkthrough about AWS CloudShell. This is how its looks a like πŸ‘‡πŸ»

Screenshot 2021-09-20 at 11.41.27 PM.png

Benefits of AWS CloudShell :

  • No extra credentials to manage
  • No cost ( πŸ˜…πŸ˜… ) - There is no additional charge for AWS CloudShell.
  • Automatically manage your credentials
  • Customisable
  • Familiar tools ( Similar like our Windows or Linux or Mac terminal πŸ‘πŸ»)
  • 1 GB of persistent storage ( storage enables you to store your frequently used scripts/commands and configuration files between AWS CloudShell sessions)

Screenshot 2021-09-20 at 11.24.11 PM.png

What comes under customisation of AWS CloudShell :

  • Row layout
  • Column layout Screenshot 2021-09-21 at 12.00.03 AM.png
  • Font size
  • Light or Dark mode
  • Enabling safe paste ( This can ask for permission before pasting command or text)

Screenshot 2021-09-21 at 12.04.08 AM.png

Things to Know:

  • Each CloudShell session will timeout after 20 minutes or so of inactivity, and can be reestablished by refreshing the window. You will see something like this error πŸ‘‡πŸ»

Screenshot 2021-09-20 at 11.51.56 PM.png

  • AWS CloudShell is available today only in the us-east-1, us-east-2, us-west-2,eu-west-1, ap-south-1, ap-southeast-2, ap-northeast-2 and eu-central-1 Regions. Other region support on road map.
  • AWS CloudShell supports Python and Node runtimes, Bash, PowerShell, jq, git, the ECS CLI, the SAM CLI, npm, and pip.
  • Concurrent 10 tabs you can open in each region.
  • Default output of pwd is /home/cloudshell-user
[cloudshell-user@ip-10-1-94-160 ~]$ pwd
/home/cloudshell-user
[cloudshell-user@ip-10-1-94-160 ~]$ 
Enter fullscreen mode Exit fullscreen mode
  • You can download files from the terminal or upload files to the terminal. Screenshot 2021-09-21 at 12.03.25 AM.png
  • CloudShell home directory ($HOME) and files, scripts, and tools saved in $HOME will persist between sessions

Thanks to AWS services for providing such good tools. Hope you like my blog about AWS CloudShell. If you like my blog please don't forget to like the article, It will encourage me to write more such AWS Cloud related articles. You can reach out to me over my twitter handle @aviboy2006

References:

Top comments (1)

Collapse
 
techmaharaj profile image
Atulpriya Sharma

I liked the no cost pun you put it out there! ;) :P