Skip to content

Tag: amazon-web-services

Rails server disk space keeps showing out of space [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions about professional server or networking-related infrastructure administration on Stack Overflow. You can edit the question so it’s on-topic for Stack Overflow. Closed 7 months ago. Improve this question I’m running a rails server with docker on EC2, it has 64G volume.

sudo yum install is giving weird error on AWS Linux ec2 (SyntaxError: invalid syntax)

Machine details: Cloud: AWS OS: Linux 4.14.209-160.335.amzn2.x86_64 #1 SMP Wed Dec 2 23:31:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Error details: Answer I tried to reproduce the issue, and it fails when you run yum with python3 instead of python2: You should use python2, not python3 for yum: It seems that in your instance default python version was changed

Retrieve secrets from AWS Secrets Manager

I have a bunch of secrets (key/value) pairs stored in AWS Secrets Manager. I tried to parse the secrets using jq as: It retrieves the value stored in .PASSWORD, but the problem is I not only want to retrieve the value stored in key but also want to retrieve the key/value in the following manner: By running the above command