Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"/rstudio/publickey/sc-environments/ec2-instance/${instanceId}" parameter is not created in AWS SSM #27

Open
dengmingtong opened this issue May 10, 2023 · 0 comments

Comments

@dengmingtong
Copy link
Contributor

We create Rstudio workspace using the Rstudio AMI, but I found the "/rstudio/publickey/sc-environments/ec2-instance/${instanceId}" parameter is not created in AWS SSM.

I access to the ec2 of Rstudio AMI, and run set-password manually, got below error:

[ec2-user@ip-172-31-38-65 bin]$ sudo sh "/usr/local/bin/set-password"
Set rstudio-user password
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to localhost port 8787 after 6 ms: Couldn't connect to server
Note: AWS CLI version 2, the latest major version of the AWS CLI, is now stable and recommended for general use. For more information, see the AWS CLI version 2 installation instructions at: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html

usage: aws [options] [ ...] [parameters]
To see help text, you can run:

aws help
aws help
aws help
aws: error: argument --value: expected one argument
Stored rstudio public key in SSM

It seems we cannot connect to localhost:8787 to get public key.
Could you please help to check it?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant