Questions tagged [amazon-web-services]

Amazon web service questions are on topic here only if the question is about the operating system or using a PC application hosted there. Otherwise, other sites on the network may be more appropriate

Filter by
Sorted by
Tagged with
0
votes
2answers
45 views

cannot ssh to my new instance of EC2/AWS

I am new to AWS up in front. I launched an Ubuntu instance in EC2. I created keypair. Initially I opened TCP/80, TCP/22 from all IP's. For debugging I opened all the ports in the fire wall. When I ...
0
votes
2answers
168 views

Route so that AWS instance appears on internal network and vice-versa

I have an AWS Lightsail instance to which I'd like route all traffic from my network directed to a specific (i.e.: 192.168.1.225) IP address and from which I'd like to route all traffic directed to ...
0
votes
1answer
19 views

AWS resources created in CLI not showing up in GUI

I created AWS resources around a Fargate service (and the service itself) in the AWS CLI. This includes a VPC, a subnet, a task definition, and a container repository. When I open the GUI, I don't ...
0
votes
2answers
132 views

login to EC2 shows the IP of my NAT instance instead of my private IP

We have a NAT instance with private and public subnet, and created a tunneling connection from our office network to the NAT instance so we can access EC2s resources in AWS. The connection is working, ...
0
votes
1answer
1k views

Ansible: Using EC2 external inventory script gives a Syntax Error

I'm trying to follow this to fetch inventory in us-east-1 region. I downloaded the EC2 External Inventory script and made it executable. My ~/.boto looks like following. [Credentials] ...
0
votes
0answers
22 views

Problems connecting an AWS Windows server to an AWS MS-SQL database

I have a Python Django Admin application which I can run on my Windows 10 laptop against an AWS MS-SQL database. I then create an AWS Windows server, setup stuff as per my laptop, and try and run the ...
0
votes
1answer
153 views

AWS No internet when setting up two interfaces in same subnet

I need to setup an elastic network interface (ENI) in AWS which I need to attach to different EC2 instances runing Ubuntu 16.04 from time to time. I have it set up already and attached it to an EC2 ...
0
votes
1answer
41 views

How to install Postgre SQL DB instance in AWS? Where I can find Postgresql installation package for AWS?

I have a AWS account where I want to install Postgre SQL DB instance for a POC project. Is there any Postgreq SQL installation package available for AWS? What are my steps to do so?
0
votes
1answer
116 views

MSCVR100.dll missing on EC2 Instance When Trying to Run NGINX

I'm trying to run NGINX with an RTMP module on an Amazon EC2 instance, but when I try to, I get an error message saying; The program can't start because MSCVR100.dll is missing from your computer. ...
0
votes
1answer
95 views

How do I enable 5000 port on my server using security group?

I checked all question to enable port. Tried with sudo ufw allow 5000 sudo iptables -A INPUT -p tcp --dport 5000 -j ACCEPT Also enabled port on my security group. Outbound inbound Still when I ...
2
votes
0answers
257 views

AWS S3 CLI: sum bytes in all top-level prefixes with a single --query?

I have an S3 bucket with a bunch of top-level prefixes. I have a relatively inefficient way of summing the bytes across top-level prefixes: Get the list of prefixes via aws s3 ls [bucket name], ...
3
votes
0answers
530 views

Issues Updating aws ec2 Instance

Whenever I try to update my EC2 instance, I get the following error: Loaded plugins: priorities, update-motd, upgrade-helper amzn-main ...
2
votes
1answer
957 views

Anyway of finding connected devices on my vpn router from the VPN server itself?

I've setup my own OpenVpn server on AWS using an EC2 instance and I have a router with OpenWRT configured to connect to the VPN Server. Now, I want to have some EC2 running network scans such as NMAP ...
0
votes
1answer
780 views

Clone git bare repository behind private vpn

I'm working on a basic project under an aws network. The project use a tipical vpn with a public subnet with an elb that forward traffic to a private subnet where the code resides. I used to work on ...
0
votes
0answers
34 views

Open connection over peering VPC

I'm on aws and have 3 vpc connected in a so called "flying V" model https://docs.aws.amazon.com/en_us/vpc/latest/peering/peering-configurations-full-access.html#one-to-two-vpcs-full-access, 1 admin ...
0
votes
2answers
2k views

Amazon Web Service (AWS) VPC private subnet instance 'Permission denied (publickey).' - ssh from osx

I’m connecting to an Amazon Web Service (AWS) EC2 instance in a virtual private server’s private subnet via a NAT instance and getting the following error: Permission denied (publickey) This is ...
1
vote
0answers
295 views

Amazon Mechanical Turk Command Line Tools - A JNI error has occurred [closed]

I'm trying to install and use Amazon Mechanical Turk Command Line Tools, which I just downloaded from https://requester.mturk.com/developer/tools/clt I'm trying to run them from a Administrator ...
0
votes
1answer
406 views

How to auto upload a file to s3

How can I upload a json file to my s3 in easiest way? Basically there is a json file in a webpage and I want to keep copy it every 5 minutes and upload to my s3.
1
vote
0answers
412 views

Docker container permission denied on startup

I have 2 AWS instances with percona cluster running in docker containers. After someone rebooted one of instances I needed to repair a large amount of things. But I can't restart percona cluster on ...
0
votes
1answer
233 views

openVPN on AWS free tier via RoadWarrior - connecting, but no internet

My new home internet is too slow for a personal openVPN server for protecting myself when not at home, so I decided to use the amazon AWS free tier server I got a few months back and never did ...
0
votes
0answers
174 views

Jenkins on EC2 AWS service: getting '[ec2-user: command not found' error

I am installing Jenkins on EC2 instance. I have followed all the steps from the AWS document provided at https://d1.awsstatic.com/Projects/P5505030/aws-project_Jenkins-build-server.pdf . I am stuck at ...
1
vote
1answer
28 views

CORS issue with one machine

I have a VM where I have installed my Angular 6 based UI and Node + Express(I have enable CORS using app.use(cors());) based REST API. Both are hosted on IIS 8.5 in the VM on AWS. I have 2 laptops ...
0
votes
1answer
82 views

Configuring an auto-renewing certificate for an Azure based cloud application

I'm porting a tool that I originally developed for AWS to Kubernetes under Azure (AKS). It builds a cloud based application consisting of a number of microservices running in AWS Fargate. One of these ...
0
votes
1answer
42 views

AWS redirect www.example.com to non-AWS hosted www.example.net + URL including parameters

I'm looking for the most efficient and cost effective way of setting this up: http://www.example.com or https://www.example.com redirects to https://www.example.net/xyz?foo=bar&baz=qux example....
1
vote
0answers
98 views

MongooseIM SSL connection via AWS ELB

I have MongooseIM server configured with docker-compose in an EC2 instance in AWS. I intend to give access to some mobile clients with SSL through an ELB (AWS) on port 5222 (module ejabberd_c2s of ...
0
votes
0answers
193 views

How do I configure Tomcat 8 on Windows to allow access from external IPs?

I'm running Tomcat 8 on an Amazon Web Services EC2 instance. The instance's operating system is Windows Server 2012. I am trying to use my local PC's browser to connect to Tomcat on that instance. I ...
0
votes
1answer
722 views

How to fix “Permission denied” when trying to edit a file on aws server?

I have a PHP file on AWS linux server. The address is /var/app/***/a.php. When I try to edit the file using WinSCP, I get the permission denied error. I tried to access the rights to edit using this ...
0
votes
1answer
118 views

How to restrict access to certain subnets on a VPN connection?

Assume a connection between the on-premises datacenter (DC) and the virtual private cloud (VPC), through a virtual private gateway (VGW) over a VPN. Now, will a person sitting on the on-premises DC, ...
1
vote
0answers
58 views

Terraform , need help to import existing ressource to a module ressource

I would like to import an existing resource into my module. This is my "old" vpc file: https://pastebin.com/DVsacfwt My new one using the terraform registry vpc module: https://pastebin.com/KDrA0Db3 ...
1
vote
0answers
76 views

using any utility pip/awscli is throwing error on ubuntu linux system

Team, I have issues using any utility like pip or awscli. any hint how can I fix this? # python --version Python 2.7.12 root@dtl# pip Traceback (most recent call last): File "/usr/local/bin/pip", ...
0
votes
0answers
614 views

How to connect to Oracle database on AWS EC2

I have an Oracle 12C database on an EC2 instance running Oracle Linux 7. The EC2 instance is in a public subnet and it has a public dns name and a public IP address. The listner.ora has proper host ...
0
votes
0answers
714 views

Error on installing awscli in 64 bit windows 10 and Python 3.7

I have tried both msi and pip installation for awscli for windows 10, python 3.7. I am getting the error 'File "C:\Program Files\Python37\Scripts\aws.cmd", line 50, in import awscli....
0
votes
1answer
30 views

Is ssh_from necessary in parallelcluster config?

On the AWS parallelcluster blog they recommend using ssh_from in the parallelcluster config: By default, we will allow SSH inbound from any source IP (0.0.0.0/0), and I want to restrict this to ...
2
votes
2answers
639 views

How do I get the aws cli completion to work with zsh on OS X?

Similar to this question: How do I get the aws cli completion to work with zsh on ubuntu? This command from the aws-cli documentation did not properly setup auto completion. source /usr/local/bin/...
0
votes
0answers
31 views

Cant upload files to EC2, while there's still space left

I have 2 different instances, that have 60GB and 75GB capacity. While my data (train+test) is about 8 GB in total but it gets stuck at around 5.6GB (after 4 hours of uploading). I'm getting charged ...
0
votes
1answer
2k views

How to fix awscli s3 error “The Content-MD5 you specified did not match what we received” (BadDigest)?

Uploading a file over 10 GB to s3 fails with: aws s3 cp 'foo.log.gz' s3://mybucket/2018/12/ --storage-class REDUCED_REDUNDANCY upload failed: ./foo.log.gz to s3://mybucket/2018/12/foo.log.gz An ...
2
votes
3answers
887 views

ERROR: could not load library “/usr/lib64/pgsql/hstore.so”: /lib64/libc.so.6: version `GLIBC_2.14' not found

I’m trying to enable hstore on my PostgreSQL database running on an Amazon Linux AMI. I’ve already jumped through a ton of hurdles and ended up with this error that I can’t get past: ERROR: could ...
0
votes
1answer
126 views

AWS EC2 FTP port 21 not opened on my instance but allowed in security groups

I try to launch a node js application on a ec2 instance. I authorize the port range in my security group: I stop the instance totally and restart it just to be sure. But if I launch the command ...
0
votes
1answer
135 views

Unable to access nginx forwarded port to AWS remote instance

I have an nginx running on my local machine which is serving on port 8080. I can't forward that port through the router, but I do have an AWS Linux instance running, over which I have total control. ...
42
votes
5answers
78k views

Is there any option to use Amazon Cloud Drive from terminal (Linux)?

As you probably know, Amazon did not release any Cloud Drive client for Linux. Is there any other option to access ACD from terminal?
0
votes
1answer
163 views

Using custom rules in amazon security groups issues

So my question is pretty straight forward: I have two ec2-classic instances, say A(with security group sg-A) and B(with security group sg-B) the rules in sg-A is : Type | Protocol | Port Range | ...
1
vote
2answers
5k views

Could not load key file. File 'id_rsa.pub' could not be loaded or does not contain a private key. - File Zilla

While trying to connect to AWS instance using SFTP, it gives me an error while setting the ~/.ssh/id_rsa.pub file for connection. Error - Could not load key file. File 'id_rsa.pub' could not be ...
1
vote
1answer
212 views

Migrate fonts from Ubuntu LTS to Amazon AMI Linux

I want to migrate all the fonts from current server running Ubuntu 14.04 LTS to newest Amazon AMI Linux (AWS EC2). I have copied all font files (respecting locations provided in /etc/fonts/fonts....
1
vote
1answer
2k views

How to upload dependency files to AWS Lambda

I'm trying to make a python-based AWS Lambda function and need to import a module. I followed the instructions in Creating a Deployment Package (Python) on Amazon. When I create and upload the ZIP ...
0
votes
2answers
58 views

Find core used from CPU utilization?

I have average and peak CPU utilization(in percentage) of a linux server with me . Mainly couple of web apps are deployed on the machine. I need to decide what AWS machine suits me based on that. AWS ...
0
votes
1answer
126 views

Create user with password and without ssh key on redhat

I have a very simple question, I have created an instance with aws AMI. I can log into it using my key. But I want to login using a username and password. useradd username -p password This has ...
0
votes
1answer
106 views

How to connect with multi region private subnets through single VPN?

I had created 3 VPC's in three regions and I configured VPC peering between this 3 regions and it's working fine I can ping all the servers from any region through private ip's, I had configured ...
0
votes
1answer
75 views

make new aws ec2 join same IP Range (say 1.2.3.x)

Everytime I create a new EC2 machine on AWS, it got a new random IPv4 public IP. I work behind a firewall that only allow me to go to some very limited IP range, So how could I setting in my AWS ...
-2
votes
1answer
1k views

Amazon (AWS) zagent is it a malware / remote? [closed]

i ran netstat command and found some amazon tcp connections that i don't know zagent1644.h-cdn.com 142.44.212.29 zagent1642.h-cdn.com 145.239.8.193 zagent859.h-cdn.com 217.182.138.56 zagent1678.h-...
1
vote
1answer
389 views

Unable to import my vmdk to EC2 [duplicate]

I am trying to import my vmdk to EC2 as a instance using S3 bucket I am using this syntax ec2-user@ip-10-0-x-x ~$ ec2-import-instance disk1.vmdk -f VMDK -t m1.xlarge -a x86_64 -b import-raj -o ...

1
7 8
9
10 11
18