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
981
questions
1
vote
1
answer
363
views
Is there a way of adding an Amazon EC2 Instance onto Finder?
Hey is it possible to virtually mount an EC2 Instance in finder? I'm trying to eliminate the use of an external SFTP client (I use Terminus at the moment) and I was wondering if it was possible if I ...
0
votes
1
answer
289
views
How to automatically shutdown *any* idle EC2 instances automatically?
I am trying to build something that will automatically shutdown any idle EC2 instances. I looked up online and the CloudWatch solution only works on a per-instance level, meaning you have to add one ...
1
vote
1
answer
44
views
Cannot allow user to connect after allowing his IP through INBOUND rules
I whitelisted an IP address on EC2 and the site is still prompting username and password, because it's setup so that the browser request the username and password before the page even loads. I am not ...
0
votes
1
answer
242
views
Unreachable domain in AWS Route 53
I currently am having problems setting up a domain that i transferred to aws with route 53. Basically the architecture is pretty straight forward and the same procedure (as far as I can tell) worked ...
2
votes
1
answer
4k
views
AWS EC2 Disable disableApiTermination from the console
I'm new to AWS, I created an EC2 instance and I want to terminate it.
However, when I created it, I set disableApiTermination to True, and now, when I'm trying to terminate it, I receive this message:
...
1
vote
1
answer
1k
views
How can I connect to a MySQL database instance via an EC2 instance
I am trying to connect from my local machine to a MySQL database that is hosted on AWS. The database itself is not publicly accessible (as in, it is configured to refuse outside connections), but is ...
0
votes
2
answers
914
views
How can "PermitRootLogin no" add security
The topic is already discussed here, but I don't fully understand the answers
I am trying to meet some good practice security criteria while setting up a VPS. I am using Ubuntu18 on AWS EC2 which I ...
1
vote
1
answer
638
views
"This operation requires an interactive window station" error when launching GUI via jenkins on aws windows instance
I have a windows ec2 instance which runs a build server for a unity game, controlled by jenkins.
When running unity with the -batchMode command, I can make the game build successfully.
I'd like to run ...
0
votes
0
answers
200
views
Tuning linux filesystem caching for aggressive writing to block storage
I have an Amazon EC2 instance of type c4.8xlarge that I'm using as a target for ongoing rsync processes that are storing my database data files and transaction logs for disaster recovery purposes. ...
0
votes
0
answers
228
views
SCAP Compliance checker error for AWS EC2
I'm try to use Scap Compliance Checker 5.4 on a Windows laptop to scan remotely an EC2 Ubuntu 18.04, but it showed error. There's plenty free space on the EC2, and I gave ubuntu full permission to /...
14
votes
2
answers
26k
views
aws --version error: bash: /usr/bin/aws: No such file or directory
I have an AWS CLI install problem that I found no solution for on the Web.
Namely, I installed awscliv2 as guided by the AWS installation docs. After the install, when I enter the command aws --...
0
votes
0
answers
263
views
Do I need to separate /var and /tmp from the root partition on AWS EC2?
A result of an audit check on the Amazon Linux AMI gave a number of recommendations on the file structure, for example the need to have the root and /var and /tmp on different partitions.
Is this ...
1
vote
1
answer
216
views
Why can't I read this file on a remote AWS server in Powershell?
I launched a couple servers in AWS and I want to read the contents of the a file using Powershell.
On server 1 I create a file called App_configuration.txt and placed in the root of c:\.
The file has ...
1
vote
0
answers
62
views
How to control the connection while uploading to AWS S3?
Is there a way to control the connection while uploading from my servers to the AWS Storage?
to be clear, Azcopy is so powerful to upload to AWS, so most of our bandwidth consumed and this is ...
2
votes
1
answer
221
views
99 % CPU taken up by “ps”
I have an EC2 t2.micro (Linux AMI) instance. Since a few days I noticed that RAM is being 99% used by "ps" .
When that happens :
$ free -m
total used free ...
2
votes
1
answer
187
views
How to fix infinite bash loop (bashrc + bash_profile) when ssh-ing into a server?
I mistakenly have source .bash_profile in the bashrc file and vice versa. Now when I tried to ssh into the machine (ec2), it will stuck at loading bash and get connection closed in a second. Is there ...
0
votes
1
answer
371
views
Execute mysqldump in local machine and fetch the data from the database server behind the server
I have EC2 and RDS on AWS
I want to do mysqldump to fetch the data from RDS
My condition are below
RDS accepts the connection from only EC2 server.
EC2 doesn't have the power to use mysqldump.
So ...
0
votes
1
answer
101
views
Port forwarding killing the springboard server?
I am trying port-forwarding from Local machine ->EC2 ->RDS
What I am doing is like this on local machine
$ssh -f -N -L 3308:my_rds.amazonaws.com:3306 -i ~/.ssh/id_rsa.cina02 ubuntu@my_ec2....
0
votes
0
answers
25
views
Graph many series which are all in one column?
I'm trying to find a quick way to take Cloudwatch metrics and graph them in excel because it's too much data for Cloudwatch to render in one API call. I only need one metric, but I need it from 526 ...
-1
votes
2
answers
49
views
AWS elastic load balancing
I am fairly new to AWS.While learning the AWS course,I get this question.
Will AWS loadbalancer scale up and down? How it happens?
Because ,I understand ec2 would scale up and down based on the ...
0
votes
1
answer
2k
views
Not able to transfer a file through SCP to my aws ec2 ( connection time out /lost connection
It's as simple as I described on the title. I want to upload a .gz file into the ec2 but I get
"connect to host ----- port 22: Connection timed out / connection lost"
I'm really new to this ...
0
votes
0
answers
114
views
Upgrade AWS Windows Server 2019 to Insider Preview
I have an instance of windows server 2019 base running on aws and would like to install the windows server insider preview. Updating the settings for windows update in group policy editor did not ...
0
votes
2
answers
188
views
I am trying to transfer a file from oracle VirtualBox in my computer to AWS EC2 instance
I am trying to transfer a file from oracle VirtualBox in my computer to AWS EC2 instance
used command -
scp /progs/add.sh [email protected]:/file1
where - 18.221.48.189 is public IP of AWS instance
...
0
votes
1
answer
1k
views
FFmpeg multi input and multi output
I have been trying to collect audios from different pulse sources and x11grab video for merging some of them together. Finally all will be pushed to AWS IVS
This is the html for pushing audios to ...
0
votes
1
answer
43
views
How do I keep a table in one Word document that shows the details about AWS EC2 instances updated?
I have an AWS account on which I have a few EC2 instances running. For documentation purposes, I have to maintain a Microsoft Word document where the list of such EC2 instances and its details are ...
2
votes
1
answer
2k
views
No route to host (Host unreachable) while downloading files from ftp server
I am trying to download files from FTP server, in the beginning the code was working properly, but all of a sudden this starting to failing in local machine & servers too..
Here is the FTP url and ...
6
votes
2
answers
21k
views
Unable to run AWS CLI: "ImportError: cannot import name 'docevents' from 'botocore.docs.bcdoc'"
New to linux, I just installed AWS CLI alongside Python3 and boto3 but I get this error when I tried running AWS CLI.
fdostuni@PG022:~$ sudo ./aws/install
You can now run: /usr/local/bin/aws --version
...
0
votes
1
answer
724
views
Why should I use a private subnets to my EC2 instances
I'm taking a course in AWS development. And I'm represented with the following standard diagram:
Where both the data and the EC2 instances are on private subnets. But I don't understand why I should ...
0
votes
0
answers
63
views
Cloning an ubuntu EC2 instance never results in fully working box
I snapshot a box, create an AMI, and launch an instance with that AMI.
I can connect via SSH.
I can't connect via anything else (rdp, vnc etc) which I used to be able to on the original box.
What are ...
1
vote
1
answer
444
views
Unable to create ssh connect to Amazon Lightsail instance
I have problems when trying to transfer data from my local machine to cloud server (Amazon lightsail). My idea was to transfer data from local machine with scp command using private key. However I got ...
0
votes
0
answers
53
views
Weird throttling effect when consuming AWS based services
So here's the thing: I am observing the mentioned effect for some time now and I don't get it. It starts to really annoy me and I cannot get a grip on it. So I am turning to this community with the ...
0
votes
1
answer
494
views
Mail disappeared from Thunderbird while moving thousands of mails
I recently changed hosting provider (small company to AWS) with my domain + e-mail. In the old situation, my sent mail was stored in a folder 'Sent Items'. In the new situation, my sent mail is stored ...
1
vote
1
answer
2k
views
EC2 instance cannot connect to public IP
I'm banging my head against the wall trying to figure out what's wrong with my EC2 VPC connectivity. I have two EC2 instances in the same public subnet with an internet gateway. Both instances have ...
0
votes
1
answer
39
views
Streaming file via HTTP to S3
Currently we have a function on one of our EC2 instances (running C# .NET) that, upon request, opens an HTTP connection to an external site (for the sake of argument, let's say https://www.example.com/...
-1
votes
1
answer
1k
views
error in running ansible-playbook with jenkins
--i have a ansible playbook in ubuntu user and i am able to push this playbook in the remote user
-- now i have install jenkins in this ubuntu(EC2 instance) server , and i have given jenkins all ...
0
votes
2
answers
229
views
Ansible created user on Windows, gets ".EC2AMAZ-ELNOCH3" appended to username
I have created a Windows Server 2019 AMI using Packer, and Ansible as provisioner.
I have added a user jenkins, and copied SSH files (public/private key, known_hosts, authorized_keys) to C:\Users\...
0
votes
1
answer
608
views
Whitelist IP addresses for access to AWS S3 static web hosting
I have seen several references that use a Bucket Policy similar in structure to the following
{
"Version": "2012-10-17",
"Id": "Policy1607646663558",
...
1
vote
1
answer
318
views
FFMPEG produces corrupted video outputs on AWS Lambda only
I've been trying to use ffmpeg with AWS Lambda to transcode videos for web. I myself zipped and uploaded ffmpeg and ffprobe as a layer, after testing both of them on my local machine. The exact same ...
1
vote
1
answer
864
views
Assigning subnet IPs to OpenVPN clients in AWS
I have a working OpenVPN server installed on the EC2 instance inside my VPC. It's used to allow remote users to access services inside private subnet. It's been a sufficient solution so far but ...
3
votes
1
answer
1k
views
unable to delete RDS DBs on AWS
I'm not able to delete a database on RDS.
Deletion protection is not enabled, as per the following screenshot:
Despite that the "Delete" option on the menu is grayed out:
I've tried it ...
1
vote
1
answer
3k
views
AWS lambda update-function-code: Connection was closed before we received a valid response from endpoint URL
Updating AWS Lambda code from the command line. Using command
aws lambda update-function-code --function-name LAMBDA_FUNCTION_NAME \
--zip-file fileb://lambdaFunc.zip --publish
Returns
Connection was ...
0
votes
2
answers
528
views
How to let jenkins manage availability of windows ec2 node?
I have a jenkins ubuntu server and several windows nodes running on ec2. I'd like for the server to turn the windows boxes on and off as they're needed. I think that means using the "launch ...
0
votes
1
answer
152
views
Open an application with "runas a different user" by passing the username pop-up
On a windows laptop, when I open Sql Server Management Studio (SSMS) (or any other application like Visual Studio or mstsc [RDP]) as run as a different user , a pop-up appears asking for credentials ...
0
votes
1
answer
3k
views
Cannot connect to FTP server behind AWS loadbalancer
I have configured AWS EC2 instance to be a FTP servers(Passive Mode) and attached a Load balancer target group to the instances. The loadbalancer listener port is 21. The problem I face is the my ...
0
votes
1
answer
18
views
Is there a way to manage subdomains with multiple models to be review?
In AWS, Is it possible to configure this? How could I make this happen?
http://mydomain.com.br (git branch master)
http://staging1.mydomain.com.br (git branch staging1)
http://staging2.mydomain.com....
1
vote
0
answers
510
views
Why doesn't my AWS Transfer down scoping policy work across users?
Continuing How to restrict user access in AWS Transfer? ...
I want a multi-user SFTP system running out of a single bucket with directory structure of:
/my-bucket/user/user - user can: list
...
1
vote
1
answer
2k
views
How to restrict user access in AWS Transfer?
I'm trying to setup AWS Transfer to host multiple user accounts like:
/my-bucket/<username>
I've defined a base role and a down-scoping role but it's not working to restrict access to only the ...
2
votes
1
answer
1k
views
Configuring what happens when you start an AWS EC2 instance (Windows Server 2019)
I've set up an EC2 instance for cloud gaming. The instance runs Windows Server 2019 and everything works well, except that every time I start the instance I have to RDP in to start Parsec, the program ...
2
votes
1
answer
1k
views
How to deploy to AWS elastic beanstalk with github actions on many environments? (dev, staging, prod)
I'm using this github action to build a docker image from a Node app, then deploy it to elastic beanstalk via ECR.
This works fine for a single environment for the app, but what about adding staging ...
0
votes
1
answer
92
views
AWS - DescribeInstanceTypes for cache instance types
I am using DescribeInstanceTypes AWS EC2 API call to obtain the number of CPUs and memory for a given instance type. For example with an input "t3.micro" I get 1 VCPU / 1 GiB of RAM.
But the ...