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
0
votes
2answers
34 views
Counting objects from AWS and warning if too many
I'm trying to create bash script. When I run the AWS command I get a "Total Objects" on the bottom of the results. I want to trigger a warning if its greater than 50 objects.
aws s3 ls test.domain....
0
votes
0answers
21 views
can I send e-mails from Amazon? [on hold]
I wasn't able to register for SES (Amazon Simple E-mail Service), but, astonishingly, was able to just e-mail myself from alpine to my gmail account.
The FQDN is registered with www.no-ip.com and I ...
1
vote
1answer
26 views
iptables is preventing ssh to aws ec2 instance
I have a home laptop running Windows 7 and have just set up an Amazon aws ec2 instance running Ubuntu. The Ubuntu instance has the public IP address 34.195.109.193. I use PuTTY to ssh to the ec2 ...
11
votes
1answer
1k views
How is an Elastic IP address different from a static IP address?
More of a Amazon Web Services EC2 question, hopefully not too off topic. I have a vanilla Ubuntu instance with them, and powered it off. On reboot couldn't ssh to the FQDN because the external IP ...
0
votes
1answer
28 views
Roles may not be assumed by root accounts
How do I use the thufir profile I created, and not use the AWS root account?
I'm on page 12 of the AWS Command Line Interface User Guide:
thufir@doge:~$
thufir@doge:~$ cat .aws/config
[default]
...
3
votes
1answer
17 views
how to invoke awscli from pip install?
Having installed the AWS CLI with pip install --user awscli what's the syntaxt to invoke awscli? It's listed here:
thufir@doge:~$
thufir@doge:~$ pip list
DEPRECATION: The default format will switch ...
0
votes
1answer
30 views
symlinks creates duplicate folder name
I have purchased an ebs volume to keep all my wordpress uploads. My wordpress files are in /var/www/html and in order to link between the upload folder here and in ebs volume, i created a symlink as ...
1
vote
0answers
96 views
Unable to install bind-utils in RHEL 7.3, dependency error on bind-license
I'm trying to install dig through bind-utils on an AWS EC2 RHEL 7.3 instance, but I get a dependency error.
Requires: bind-license = 32:9.9.4-37.el7
but
Installed: 32:bind-license-9.9.4-38.el7_3....
0
votes
0answers
16 views
AWS security group for lftp torrent download
I have an EC2 micro instance set up in AWS and can SSH into it. Installed lftp and intend to download a torrent.
What ports (apart from the one I use for SSH) should be opened via security groups(s) ?...
3
votes
0answers
24 views
How to run Amazon CLI “glacier” under Python 2.7 on Centos6?
On Centos 6 after installing Amazon's CLI tools using pip:
# glacier vaults
Result:
ssl.SSLError: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify ...
2
votes
1answer
66 views
Using Docker in production
I'm working on a [legacy] project with a build pipeline that generates RPMs that are picked up by Spinnaker to Bake an AMI that will in turn run on an AWS EC2 machine.
I proposed to use Docker ...
1
vote
1answer
43 views
How to get private IP address of EC2 after spinning the AWS from local machine/ at Jenkins outside AWS
Assume we already spin the AWS using cloudformation plugin from Jenkins outside AWS and now, how to get private IP address after spinning the AWS at my local machine/jenkins using any API methods? I ...
2
votes
0answers
96 views
How to run start up scripts on Amazon linux?
I'm trying to create some script that should run on start.
Now I've created some myScript file under the /etc/init.d/
and then run sudo chkconfig --add myScript;
chkconfig --list myScript output is:...
1
vote
0answers
40 views
Reverse SSH - Raspberry Pi and AWS
I have a Raspberry Pi that is connected to the internet via a USB modem.
Due to my ISP, I unfortunately cannot get the public IP address of my dongle itself, and I get the actual cellphone towers.
I ...
0
votes
0answers
7 views
How to calculate the same key fingerprint as AWS does?
I am generating key with Puttygen and see it's "fingerprint" in pyttygen window.
Then I upload this (public part) key to AWS and see absolutely different "fingerprint"
How can I calculate ...
0
votes
0answers
29 views
mysqld_safe restarting, but mysqld remains dead
I'm relatively new to Sys Admin, looking for assistance w/ a problem on my Amazon Linux EC2 server running Wordpress.
Occasionally, the database goes down. To start debugging, I check mysqld status. ...
1
vote
1answer
41 views
authentication requires a valid Date when I connect to AWS S3
I want to download(GET) file from Amazon AWS S3, and I want to write the commands into a shell script.
But I always get the error message:AWS authentication requires a valid Date or x-amz-date header....
1
vote
1answer
38 views
Unknown Binary Blob in /var/log/syslog
Our one of the production ubuntu14.04 system become unreachable in AWS, we restarted it via AWS console. After restarting the system, we were able to connect to it.
We checked the /var/log/syslog and ...
0
votes
0answers
12 views
Install oracle on AWS EC2 micro instant running redhat - specific to EC2 instant
I'm trying to install oracle on AWS EC2 instant. This is an oracle instant and micro type. I followed the step provided here.
http://www.davidghedini.com/pg/entry/install_oracle_11g_xe_on
While I ...
-3
votes
1answer
122 views
how to redirect all outgoing traffic from default eth0 to eth1 in centos 6
In my AWS AMI Centos server i have deployed VPC with 2 subnet eth0 10.0.0.1 with internet gateway and eth1 10.10.0.1with NAT Gateway via Public ip, my problem is i have given my NAT gateway Public ip ...
0
votes
2answers
70 views
How to download a file from aws server using SSH?
Environment:
Remote: AWS - RHEL 7.2
Local: Ubuntu 16.04
I SSH into the AWS box directly using a .pem file for authentication, something along the lines of:
ssh -i /home/<user>/<path>/<...
1
vote
0answers
100 views
AWS ubuntu instance Connection refused
I am a beginner in AWS and I've successfully setup an ubuntu instance.
I ssh'ed into it and installed the LAMP stack and Composer.
The next evening when I tried to connect I received a connection ...
0
votes
0answers
14 views
Do I need to restart the machine after the machine joined a realm?
I am configuring the authentication & authorization for Hadoop security.
I need Kerberos implementation system for authentication and LDAP implementation system for username group mapping, ...
3
votes
0answers
26 views
WordPress high Steal time on Linux Ubuntu 16.04.1
I have a dynamic Wordpress website with multiple plugins, installed over an AWS EC2 t2.micro Instance with a Linux Ubuntu 16.04.
At some point of working on the admin panel on different occasions, ...
2
votes
1answer
35 views
handy script to reduce hardlink count?
I'm transitioning a large fileset from a filesystem with a high _PC_LINK_MAX (maximum number of hardlinks per inode) to a lower one.
In particular, I'm messing about with Amazon EFS, which has a ...
0
votes
0answers
71 views
Aws instance ssh connection refused
I am facing problem of ssh connection in one of mine aws ubuntu instance .
Problem is when I try to coonect with my key file through putty it's showing connection refused . Before few days ago it's ...
0
votes
0answers
30 views
mysql::router losing connection during data import
I have a small AWS EC2 instance that is a fairly simple LAMP setup. I am experimenting with migrating the MySQL install to a remote AWS RDS instance, however I wish to mask the remote IP so that the ...
1
vote
1answer
91 views
Linux NFS re-export
I am centralizing a Linux instance in AWS as a file server hosting documents and other application files. Vpn tunnel occurs from AWS Linux instance to on prem Linux Server. I am using NFS v4 to ...
1
vote
1answer
74 views
Branch File Server Caching- Linux
We want to centralize our Linux file server in the cloud (AWS). We don't want a full copy of each file to be downloaded every time there is a change to that file. I am somewhat familiar with Windows ...
2
votes
1answer
21 views
Setting up LVM partitions on an existing machine without LVM preinstalled
I have a few machines running debian, already up and using their filesystem, the / partition is mounted directly on the partition.
With minimum damage to the fs and minimum downtime, how can I set it ...
-1
votes
1answer
64 views
deleted folder and files details on AWS EC2 Ubuntu instance
I have AWS EC2 Ubuntu instance. I found some missing details like source code from application and some files. Now, i want to identify which user and when it's deleted from server. So, i need details ...
1
vote
1answer
120 views
how do I know if and why linux is killing my processes?
I'm working on one of amazon's linux distros (4.4.11-23.53.amzn1.x86_64). (1gb ram)on that instance
I am running node.js with the forever module. (It makes sure to restart the node.js process if it ...
0
votes
0answers
31 views
ssh: permission denied (publickey) after restoring to a backup that was known to work at the time of backup [duplicate]
So I have a few servers set up behind a bastion. I usually hop from bastion -> server A -> server B using agent forwarding. One day I try to log into server B and for no reason apparent to me I gives ...
1
vote
0answers
373 views
iptables - Map port on the host to a port in a Docker container
I am running a Docker container inside AWS Elastic Beanstalk, running Amazon's 'Amazon Linux', which I believe is a CentOS derivative.
In my development environment, I'd like to enable debugging on ...
0
votes
1answer
25 views
Pageres not working on Amazon Linux
I have Amazon Linux and I installed npm using epel repository. After npm I installed pageres with
npm install --global pageres-cli
I already have a phantomjs version 1.9.8
When I try to run pageres ...
1
vote
0answers
81 views
Accessing Dropbox login page through lynx / elinks via ssh on aws
I'm trying to install Dropbox in an entirely text-based Linux environment, following the instructions available on Dropbox wiki, which states:
Use a command-line browser (lynx)
Navigate to the ...
-1
votes
1answer
375 views
Puppet: command not found in Debian 8
I have just installed puppet master package in Debian 8 using apt-get but my puppet command is not working.
root@admin:/etc/puppet# puppet
-bash: puppet: command not found
root@admin:/etc/puppet# pwd
...
0
votes
1answer
111 views
Non-Interactive input
I am trying to run a bash script which downloads and runs another script. The second script contains questions that must be answered by input. I have already attempted to use expect but it fails ...
-2
votes
1answer
62 views
Gather data from 100 AWS servers [closed]
I have 100 servers running on AWS. I need to easily get how much data each user on the remote systems are using and output it to a text file. How could I best accomplish this?
0
votes
1answer
141 views
Inbound and Outbound ports need to open for NFS in AWS
What are the required ports (Inbound and Outbound) that need to be opened in AWS while configuring NFS? While mounting, I'm getting the timeout error. I'm using Ubuntu 16 as server and client.
1
vote
1answer
256 views
Duplicity + Amazon S3 Glacier. How Much “Unfreezing” to Resume Backup
It's been a couple of months since I last did a Duplicity backup [to Amazon S3] and, in the meantime thanks to an automatic 30-day rule I have on my Amazon buckets, my S3 backup has been moved from ...
3
votes
1answer
196 views
Why does port 3000 work but no other ports do?
Possible noob question: I run a program to start a website on a linux server (I'm using Amazon Web Services EC2 virtual server) and I run it from port 3000, so that I can type (ipaddress:3000) into ...
1
vote
1answer
64 views
What ip address shall I use? public IP or private ip? [closed]
In AWS environment, we usually have two ip address, public one and private one.
When we login on to the host, we use public ip, and we edit hosts file, we use private ip, is it right? What is the ...
2
votes
1answer
993 views
headless firefox failed on aws amazon linux
I have followed the procedures as described in [https://lambda-linux.io/blog/2015/01/28/announcing-firefox-browser-support-for-amazon-linux/
However, when I tried to start up firefox, I am still ...
0
votes
1answer
128 views
Install Java 1.4.2 on recent Amazon Linux [duplicate]
I need Java 1.4.2 on a up-to-date Amazon Linux 2015.09 server. I've tried to install j2sdk-1_4_2_19-linux-ia64-rpm.bin. When I execute this file, I get an error message:
line 442: ./install.sfx.12314:...
1
vote
1answer
651 views
Apache server at new AWS EC2 instance is not reachable
I am not able to access my web server I recently set up on Ubuntu AWS EC2 instance:
client:~ user$ curl yyy.yyy.yyy.yyyy
curl: (7) Failed to connect to yyy.yyy.yyy.yyyy port 80: Operation timed out
...
2
votes
0answers
74 views
AWS ELB Latency issue
I have two c3.2xlarge EC2 machines with Ubuntu environment both in us-west-2a AZ. Both contains same code with mySQL database from AWS RDS (db.r3.2xlarge). Both instances are added to an ELB. Both has ...
4
votes
2answers
2k views
Getting Public IP address of EC2 instance from outside using AWS-cli [closed]
I am trying to make use of Amazon's elasticity and bring instances online and off using the AWS cli. But as you know, every time you offline a system, and bring it back to life, it comes with a new IP ...
3
votes
0answers
108 views
Cant SSH in to cloned EC2 server from public network [closed]
I created a new AWS EC2 instance, using the AMI image, configured it to my liking, and saved an image, (Call this svr01). Then I created another EC2 instance, using that same image ((Call this svr02). ...
1
vote
1answer
330 views
Apache can't access file while is has permission
I don't want to allow others read access, so I have added my user and the apache user to a group called apachme and then set that group to all the files and folders I want apache to have access to, ...