Questions tagged with AWS CloudShell
Content language: English
Sort by most recent
Instance launch failed
This account is currently blocked and not recognized as a valid account. Please contact aws-verification@amazon.com if you have questions.
* **Initializing requests
* Succeeded
* Creating security groups
* Succeeded
* Creating security group rules
* Succeeded
* Launch initiation
* Failed**



Hi Guys, I'm very new to this, and I come from a UNIX BASH background.
I'm playing around in CloudShell, and if I double-click on a text string, I would expect it to highlight that string. In actual fact, it *nearly highlights that string instead.
Let's say I have the string: "I really like badgers".
If I were to double click on "badgers", the highlighting would visually shunt to the left by two characters, so this would be highlit: "e badge". However, if I then copy and paste this, it would paste the string "badgers".
Similarly, If I MANUALLY tried to drag highlight the word "badgers", it would not highlight the last two characters, like this: "badge". When I copy/paste that it would paste the phrase "dgers".
Can anyone else verify this bug?
Does the CloudShell IP change each time I login?
How can I find the IP Address?
What I am trying to do is block the SSH on lightsail to the IP of cloudshell so I can have my cloudshell scp files over?
Unable to start the environment. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell. System error: Environment was in state: CREATION_FAILED. Expected environment to be in state: RUNNING. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell.
I opened a support ticket with billing and they said they can't help and to post here on repost.
I am getting a {message Forbidden} error while I am trying to send HTTP request to IoT core using Postman.
I get the **device data endpoint address** using the command below using AWS cloudshell.
aws iot describe-endpoint --output text --endpoint-type iot:Data-ATS
URL for posting the request in Postman is below:
https://device_data_endpoint_address:443/topics/test/cust-auth/topic?qos=0&actionToken=allow
Followed this link:
https://docs.aws.amazon.com/iot/latest/developerguide/custom-auth-tutorial.html
But getting message forbidden error
I get this error when trying to access CloudShell
```
Unable to start the environment. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell. System error: Environment was in state: CREATION_FAILED. Expected environment to be in state: RUNNING. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell.
```
I tried to use this command:
`aws s3api list-objects-v2 --bucket BUCKETNAME --query 'Contents[?LastModified>=`2022-12-28`].Key && sort_by(Contents, &Size)[-5:]'`
And while it searches for 5 files ordered by max size, the files may be last modified before 2022-12-28, it seems that part of the query is just being ignored.
What am I doing wrong? With the command above I expected to see files ordered by max size that were modified AFTER 2022-12-28.
Thank you in advance.
I'm trying to find any code in cli which I can execute in cloudshell to extract the LIST of ALL Web ACLs and the all the rules inside of those Web ACLs using some for loop.
The output should be in text or it can be in csv format.
In both ways using AWS WAF Classic or the new AWS WAF.
I receive next error message: **Unable to start the environment. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell. System error: Environment was in state: CREATION_FAILED. Expected environment to be in state: RUNNING. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell.**
I tried to run it in Chrome, it is my default browser, and Safari - not working
I tried both root and iam account (iam account got administrative rights, and additionally I added for CloudShell) as well that I checked policy simulator (it has no problems) - not working
I restarted and refreshed page and logged out and also changed region - not working
What else I can try?
Thank you
Unable to start the environment. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell. System error: Environment was in state: CREATION_FAILED. Expected environment to Give me solution.
I am a new AWS user. This is the first time I tried starting the CloudShell. I get the following error:
```
Unable to start the environment. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell. System error: Environment was in state: CREATION_FAILED. Expected environment to be in state: RUNNING. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell.
```

I tried to run CloudShell while logged in as the root user as well as a non-root user with AdministratorAccess . I tried the policy simulator and it says that the user should have access to CloudShell. I tried to run CloudShell on Firefox and Chrome. I also tried changing regions but I get the same error every time.
I've seen several similar posts here and none of them seem to be resolved:
https://repost.aws/questions/QUe4pWoMP2TqGDW6f4CXomvA/can-not-start-cloud-shell
https://repost.aws/questions/QUPaqlvTw2RHi7OTrPVCzLsg/cloudshell-wont-start
https://repost.aws/questions/QUufc-elFvSvqYlbJw95RI6Q/unable-to-start-the-environment-to-retry-refresh-the-browser-or-restart-by-selecting-actions-restart-aws-cloud-shell
https://repost.aws/questions/QUH54A371dRvej5J1G_yZogw/error-when-launching-aws-cloud-shell-unable-to-start-the-environment
https://repost.aws/questions/QUl4tcVsElQZGEpnJ7JaCJfw/unable-to-start-cloudshell
Does anyone know what could be causing this?