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

9 3

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:

DevCycle image

OpenFeature Multi-Provider: Enabling New Feature Flagging Use-Cases

DevCycle is the first feature management platform with OpenFeature built in. We pair the reliability, scalability, and security of a managed service with freedom from vendor lock-in, helping developers ship faster with true OpenFeature-native feature flagging.

Watch Full Video ๐ŸŽฅ

Top comments (1)

Collapse
 
techmaharaj profile image
Atulpriya Sharma โ€ข

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

Create a simple OTP system with AWS Serverless cover image

Create a simple OTP system with AWS Serverless

Implement a One Time Password (OTP) system with AWS Serverless services including Lambda, API Gateway, DynamoDB, Simple Email Service (SES), and Amplify Web Hosting using VueJS for the frontend.

Read full post

๐Ÿ‘‹ Kindness is contagious

Delve into this thought-provoking piece, celebrated by the DEV Community. Coders from every walk are invited to share their insights and strengthen our collective intelligence.

A heartfelt โ€œthank youโ€ can transform someoneโ€™s dayโ€”leave yours in the comments!

On DEV, knowledge sharing paves our journey and forges strong connections. Found this helpful? A simple thanks to the author means so much.

Get Started