Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [aws]

Amazon Web Services (AWS) is a collection of commercial services centered around virtualized, commodity and clustered computing, networking, database and storage, as well as supporting tools that are offered through infrastructure as a service

-1
votes
2answers
25 views

SELinux is preventing $_POST variables on Amazon Linux 2

I began playing with RPM based OSes and I am really impressed. Amazon Linux doesn't include setroubleshoot in any of their repos. I want to use official repos for everything, otherwise I would ...
-1
votes
1answer
48 views

Installation conflicts with httpd on Amazon Linux AMI

When installing 'yum install -y php70 mysql56-server php70-mysqlnd' on an Amazon Linux AMI server, I'm receiving these conflicts: Error: httpd24-tools conflicts with httpd-tools-2.2.34-1.16.amzn1....
0
votes
1answer
40 views

How does a EC2 machine prevents ssh root access with a warning?

I've setup a machine on EC2 running Debian stretch. Upon trying to ssh as root, I get the following message: $ ssh -i "mykey" root@machine Please login as the user "admin" rather than the user "...
0
votes
0answers
35 views

pods going into pending state in k8s

I have cluster autoscaler in my k8s deployment in AWS. The cluster is deployed via kops,, the cluster autoscaler was working fine for weeks,, My cluster is in Mumbai region (ap-south), which has 2AZ. ...
0
votes
0answers
26 views

OpenVPN: Access client LAN from another client

I am using an ASUS router as a VPN client, and would like to access the devices connected to the router from another VPN client. The router has a static VPN IP of 172.27.200.50. The internal IP of ...
1
vote
1answer
62 views

Security review: classifying ssh log-in attempts [closed]

I see my own ssh logins to an AWS EC2 Ubuntu Linux instance as Nov 18 07:32:21 ip-10-20-30-40 sshd[9487]: Accepted publickey for ubuntu from 15.26.37.48 port 46273 ssh2: RSA SHA256:e37A/...
0
votes
0answers
16 views

Distcp from hadoop to aws

I have to transfer files from hadoop cluster to AWS bucket. Below is the command i am using. hadoop distcp -Dmapreduce.job.queuename=root.mr.sbg.sla -Dfs.s3n.proxy.host=qy1prdproxy02.ie.xxx.net -Dfs....
0
votes
3answers
31 views

How can we generate the session token in aws

i have aws access key and secret key with me. i wanted session token to be updated in aws credential file (~/.aws/credentials), how will i get it? I want them to be generated in command line.
0
votes
0answers
19 views

DISTCP from Hadoop to AWS s3 Bucket

I tried the below command to transfer file from hadoop to AWS hadoop distcp -Dmapreduce.job.queuename=root.mr.sbg.sla -fs.s3a.proxy.host=qy1prdproxy02.ie.XXX.net -fs.s3a.proxy.port=80 -fs.s3a....
6
votes
2answers
263 views

Is it possible to get aws account id with only aws access key and secret key in command line (CLI)

Is it possible to get aws account id with only aws access key and secret key in command line (CLI) I have access key and secret key with me. Is it possible to get the account id using those in ...
0
votes
0answers
10 views

k8s worker nodes keeps on terminating an new is spawned every 3 mins

i have deployed a k8s cluster in aws using kops. Below is my cluster spec, i have exact same working cluster in other region,, so i replicated it in other region with same below config,, the thing is ...
0
votes
1answer
17 views

Only copy files from a particular date from s3 storage

I would like to only copy files from S3 that are from today out of a certain bucket with 100s of files. I tried the following: $ aws s3 ls s3://cve-etherwan/ --recursive --region=us-west-2 | grep ...
0
votes
0answers
11 views

How to secure a common tunnel relay server

I would like to use a single AWS server as a relay to access multiple client hosts that each would have a reverse ssh tunnel to the server. I need them to be isolated between each other meaning that ...
0
votes
1answer
29 views

Running multiple screen commands with crontab and log them seperately, giving each a seperate screen name

How can I log the output of multiple screen sessions which are executed by crontab seperately? Currently I am running them in "screen -dm -L " style in crontab but it logs all the sessions to ...
0
votes
1answer
19 views

Host of issues stemming from too many symlink levels errors

Ok. I understand the title can be misleading or confusing... so plz bear with me. On an AWS EC2 instance, I was upgrading imagemagick. Current installation was 6.8.x which is vulnerable, and I was ...
2
votes
0answers
69 views

REPO Error: HTTP Error 403 - Forbidden during firefox-compat install from AWS EC2 instance

tmp]$ sudo yum --enablerepo=epll install firefox-compat Loaded plugins: priorities, update-motd, upgrade-helper Could not retrieve mirrorlist http://repo.lambda-linux.io/2018.03/epll/x86_64/os/mirror....
1
vote
1answer
22 views

mysqldump on mariadb 10 extremely slow [closed]

I'm running a MariaDB 10.1.34 instance on AWS RDS. Instance specs are as follows: Instance Class: db.t2.large Storage: 100GiB gp2 DB Size: 1.2 GiB I'm trying to create a mysqdump from an EC2 ...
1
vote
1answer
43 views

local vs non-local chsh

How do I get chsh in Amazon EC2 (Linux 2)? $ chsh -s /bin/zsh zsh: command not found: chsh Here's what I see: $ ls -ahl /usr/bin/ | grep chsh -rwxr-xr-x 1 root root 16K Jul 27 21:02 lchsh ...
0
votes
2answers
21 views

I want to transfer data from AWS to my physical computer using scp command

My AWS server has public IP address a.b.c.d and my computer has private IP address 192.168.1.25 and public IP address x.y.z.t How do I transfer data using scp command?
1
vote
1answer
44 views

Building QuantLib on Amazon Linux

I am trying to get QuantLib version 1.13 running on Amazon Linux. I found some .rpm files at https://pkgs.org/download/QuantLib, although there is an up to date .rpm for Fedora, there isn't one for ...
0
votes
0answers
35 views

shell script to scan ebs volumes for a text

I have a requirement, where I need to search the attached aws multiple ebs volumes on a Linux Ec2 instances for certain text. For example below are the disk attached. > lsblk NAME MAJ:MIN RM ...
1
vote
1answer
23 views

Increase space on part/lvm or mount

So, long story short, got a server(EC2) with 2 EBS pointed to it. (100G & 200G). Upon investigation, I come across that the /var/www mount has only 50GB assigned. My requirement is to increase ...
0
votes
0answers
23 views

Accessing Amazon Linux 2 repository from Ubuntu EC2 Instance

I am trying to mirror Amazon Linux 2 repository on one of my local Update server which is running Ubuntu 1604 as EC2 Instance in AWS. While mirroring the repo using reposync utility, i am getting ...
0
votes
0answers
8 views

Is it possible to store logs for elastic search remotely?

The goal is to have ELK stack running on cloud such as AWS, however storing log data remotely in our data center. We would like to go with this approach because we have a lot of data and storage is ...
1
vote
1answer
33 views

AWS CLI, pass output of previous command as input for another?

I would like to create a Bash script that will start and stop specific resources in AWS. The problem I have is I would like to create a resource the requires the a specific resource ID that was ...
0
votes
1answer
21 views

(BASH) String to execute is formed correctly, but evaluated with errors

I have been persistently trying to solve an issue with some code that I'd like to use to interact with AWS CLI. After trying for about a week, I decided to try to create the string of the command I'd ...
0
votes
1answer
60 views

Bash environment variables not setting [duplicate]

I am trying to configure the AWS CLI using a bash script. I have the below in my script and it will not set the values. When I echo out the variables names it just shows a blank line. script code ...
0
votes
1answer
28 views

Unable to establish SSH connection between two AMI ec2 instances

Trying to establish ssh connection between two ec2 instances. Copied Host A id_rsa.pub key to Host B's authorized_keys file [root@ip-172-31-9-173 .ssh]# cat id_rsa.pub ssh-rsa ...
0
votes
1answer
262 views

Limiting recursive 'aws s3 ls' searches by number of items in the folder

Here's the scenario: I need to recursively search through tons and tons of folders and subfolders and spit out the results to a log file using the ls command, BUT, I need to stop searching a folder ...
1
vote
1answer
217 views

kops unable to deploy elb for ingress controller

i am unable to deploy nginx ingress in kops 1.9 in aws with this kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml kubectl apply -f https://raw....
1
vote
1answer
755 views

Regex to get single value from Json file using bash

I would like to retrieve a value "tenki-deploy-topic" from the below JSON file content. I used this regex grep -o 'topic[^"]*' output.log, then it gets all the files with the topic, instead, I want to ...
0
votes
1answer
106 views

system-wide timezone question -red hat enterprise 7

For my user account I explicitly export the TZ variable to be america/chicago in my .bash_profile file, so when I type: date, I get the date in CST. However I have not set the TZ variable for any ...
0
votes
0answers
18 views

AWS Polly TTS issue

The SDK polly (text-2-speech) c++ application was working fine, but suddenly stops responding. The credententials are active. I am really stuck on this for the last 2 days, I could not able to move ...
0
votes
1answer
47 views

Why after some time I lose connectivity to my host on IPv6 when using ip6tables?

I was experimenting with ip6tables (version 1.6.0) on EC2 instances using Debian 9 AMI, I noticed that after some time I lose connectivity to the server on the IPv6 address while I can still reach the ...
0
votes
0answers
24 views

span OpenVPN network (from one VPC) to another VPC

Here is the scenario: VPC1 has OpenVPN: OpenVPN is connected to home network. EC2 instances in VPC2 need to connect to home network via OpenVPN in VPC1. EC2 instances in VPC3 need to connect to home ...
2
votes
0answers
160 views

Running docker in docker in AWS Fargate

I am thinking of running docker in docker using https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ Can i run in AWS FARGATE task ? it dont have underlying HOST so was not ...
0
votes
0answers
30 views

Pod fails to come up when crashed in kops env

I am facing this issue while my deployment crashes and tries to recreate it self in kops environment. The thing once crashed the pod get reschedule to a different and tries to mount the PV , but ...
-1
votes
2answers
2k views

“Permission denied (publickey,gssapi-keyex,gssapi-with-mic)” AWS .pem provided

I'm quite new to this and it's the second server that I setup on my own, it should be straight forward and simple but I'm getting this error. Looked all around but the solutions don't meet my ...
1
vote
1answer
949 views

How to increase nvme_core.io_timeout on my c5 EC2 instacnce

We have mesos cluster where we're running centos7 c5 instances on aws. The kernel version is the latest 4.16.1-1. In c5 instance type the volumes uses nvme drivers. The nvme volumes seems to have a ...
0
votes
0answers
232 views

Unable to use persistent volumes in KOPS pod

I am running KOPs cluster in AWS. And have trying to mount a Persistent volume in a Pod, but getting access denied error in logs. I have created the EBS volume of 10G in aws and then created PV and ...
0
votes
1answer
121 views

Kubernetes tiller pod dying issue

My kubernetes is running on top of AWS, I am using helm for templating, the problem is my tiller pod keeps on dying every few hours when there is even not much load on the cluster. I am getting no ...
0
votes
0answers
31 views

AWS EC2 space size issue

Created EC2 instance (Linux 5.5 HVM) under my VPC everything is working fine even able to access instance but when i use df -h command for checking disk space its show only 11GB while i have taken ...
1
vote
0answers
427 views

Slab cache affecting used memory much more than /proc/meminfo suggests

I'm dealing with a memory issue that is affecting hundreds of machines in AWS. They are i3.4xl instances with 120GB of RAM. There is a Java database server running inside a Docker container that ...
0
votes
1answer
995 views

Run a shell command in Python

Environment - PyCharm I am using the below command to get the JSON file:- aws rds describe-db-cluster-snapshots > snapshotdetails.json I am using this Json file to extract some data. I want the ...
0
votes
0answers
14 views

AWS eb worker tier http connections increase

i've set http connections at aws eb worker tier configurations to 100, it is working but i would like to set it to 200 but aws console doesn't allow. i have tried to set MaxKeepAliveRequests inside ...
2
votes
1answer
32 views

Matching the exact string

I am extracting some data from my AWS account using AWS cli. I am not able to extract the exact string. When I am giving the following command: - aws ec2 describe-instances --output text --query '...
0
votes
1answer
575 views

sudo yum remove php linux in aws

When I was trying to upgrade PHP version in amazon web server I got this kind of error. I'm trying to up upgrade PHP version 5.6 to 7.0 in amazon web server and I am using to putty to upgrade. [root@...
2
votes
0answers
120 views

How to mount entire “/” directory of a linux container on a persistentVolume in AWS k8s

Is it possible to use PersistentVolume to mount entire "/" diirectory of a linux container on it. i am trying to mount it, but it fails. i basically want a container, where i would be doing ,...
0
votes
0answers
792 views

How to Setup RDP on AWS EC2 Instance and access it from Windows

I have been trying to get GUI of Linux machines installed on AWS CLoud, for that I have tried installing VNC Server and RDP too, both did not work, after the setup in both the cases - I am able to ...
0
votes
0answers
6 views

Too many header redirection issue in jenkins container

I have setup kubernetes ingress controller, on AWS, i deployed a POD which is serving jenkins service,, i am able to access to jenkins url over internet servicename.domain,com, but when i try to ...