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

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

Unable to pass AWS CLI commands in double quotes in json syntax

I'm working with the below script,getting syntax error as unable to fetch credentials from secrets manager. "username":"AWS CLI command of access Key i have entered", "...
code userit's user avatar
0 votes
0 answers
12 views

How to Open Private Webpages on a Bitnami Lightsail Instance via SSH

I have a Bitnami Lightsail instance on AWS with Debian OS, where I have successfully installed the Google Chrome browser. My goal is to create a web application similar to Facebook or WhatsApp Web, ...
androidXP's user avatar
  • 101
-1 votes
1 answer
11 views

Configuring an AWS E2 proxy for SSH-tunnelling your web browser

How can a (local) web browser SSH-tunnel traffic over AWS E2?
bs-'s user avatar
  • 35
1 vote
2 answers
33 views

DCV Viewer on Fedora 38 instalation error

I'm trying to install the Nice DCV 2023 Client such that I can remote into my remote workstation. Several installers are available, for distros like Ret Hat, SUSE, Ubuntu, but not for Fedora. ...
aijLag's user avatar
  • 13
0 votes
0 answers
15 views

Could not override the umask value for AWS Session Manager ssm-user

Currently when I connect to an EC2 instance through SSM from AWS console it connects with default user : ssm-user. The umask value for this user is 022. I am trying to update the default umask value ...
Rob Wilkinson's user avatar
0 votes
0 answers
13 views

Fargate Linux Github Runner cannot find specific URL (nslookup) from private network over VPN

I run the Worker container (Fargate Worker: https://docs.gitlab.com/runner/configuration/runner_autoscale_aws_fargate/). My problem is that the container (Gitlab-runner) is running on Fargate ('awsvpc'...
Ömer Sezer's user avatar
0 votes
1 answer
249 views

Debian 12 + AWS VPN client

I got debian 12 I am trying to set AWS VPN client version 3.4.0 # apt show awsvpnclient Package: awsvpnclient Version: 3.4.0 Status: install ok installed Priority: optional Section: misc Maintainer: ...
JPG's user avatar
  • 141
0 votes
0 answers
39 views

aws efs and container caps to be able to run `mount nfs` inside the container manually

I'm running a pod inside aws eks 1.26. I need to mount aws efs via kubectl exec operation and fail if the POD is not started with privileged container. What priviliges are required for the container ...
DmitrySemenov's user avatar
0 votes
0 answers
29 views

Generating reports while implementing GoAccess: Is it done correctly?

Trying to implement GoAccess to my WordPress sites that are hosted on AWS Lightsail (Plesk Ubuntu instance). Here is the tutorial by DigitalOcean I am following: Before transferring the HTML file from ...
Splendid Digital Solutions's user avatar
1 vote
1 answer
40 views

Linux system logs

In one of our AWS Linux virtual machines, the ca-certificate.crt file has been modified, and our private CA has been deleted. How can I determine who made these changes and deletions?
Ahmed's user avatar
  • 11
0 votes
1 answer
241 views

is Openssh 7.4p1 (CentOS) up to date with remediating vulnerabilities?

Currently using Amazon Linux 2, and our VA tool is stating that it has found multiple vulnerabilites with openSSH7.4p1, stating that the vulnerabilities have been patched with a later version of ...
User51432's user avatar
0 votes
0 answers
88 views

Where is Rsyslog programname set?

I am using AWS Elasticbeanstalk to run my java web application. In EC2 node under /etc/rsyslog.d/web.conf if $programname == 'web' then { *.=warning;*.=err;*.=crit;*.=alert;*.=emerg /var/log/web....
Jeevi's user avatar
  • 101
0 votes
0 answers
15 views

AWS 1 VPC for 2 EC2 Instances, 1 of which is an OpenVPN server for which the other needs to connect to

As described in the title, how can I connect my OpenVPN server to another running EC2 instance (Both operating in the same region and VPC) such that all API commands sent through the running EC2 ...
Nick's user avatar
  • 1
0 votes
0 answers
3k views

aws s3 copy failing with fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

Copying a file from S3 bucket to EC2 Instance.EC2 Instance is in the same region us-east-2 as S3 Bucket in.S3 Bucket is ACL disabled and Allowed for public access. # /usr/local/bin/aws s3 cp s3://...
dbadmin's user avatar
  • 23
2 votes
1 answer
2k views

AWS EC2 Amazon Linux 2023: Installing PHP 7.4

I cannot seem to be able to find php7.4 as a package on Amazon Linux 2023. The latest version is PHP 8.1 but the application I'm using has compatibility issues with the latest version of PHP; hence ...
TechMafioso's user avatar
0 votes
0 answers
14 views

Kubernetes Pod on AWS - Can't get the Pod outside of the AWS

I'm trying to pull docker image from DockerHub. When I create a Pod with the deployment code below I get Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for ...
YakyAK's user avatar
  • 13
0 votes
0 answers
14 views

Using AWS LocalCreds (~/.aws) with hardened systemd file, possible?

As you may be aware, AWS SDKs provide for reading credentials from ~/.aws/credentials and config from ~/.aws/config. However I am unclear as to how (if ?) I can use this facility in conjunction with a ...
Little Code's user avatar
0 votes
0 answers
10 views

AWS Cloud EC2 server creating Automated backup of configuration files

Automated backup of configuration files (15) a. The backup location will be /root b. The backup should be done weekly i. /etc/passwd ii. /etc/group iii. /etc/fstab iv. /etc/yum.repos.d (...
shane's user avatar
  • 1
2 votes
1 answer
367 views

AWS VPN Client on Ubuntu (18.04 — 23.04) and Debian (8 — 12, sid): Unknown error ocurred

I've tried to launch AWS Client VPN on all Ubuntu releases, starting with 18.04 and up to 23.04 an everywhere I got Unknown error ocurred. Try again.. I've tried to launch it on all releases of Debian ...
Yaroslav Minieiev's user avatar
0 votes
0 answers
59 views

Failed to locate executable /~/.nvm/versions/node/v18.15.0/bin/node: No such file or directory

What is supposed to be the appropriate node executable path to use. My machine runs on windows but i am using Amazon linux as the app is hosted on an AWS EC2 intance. Whenever i start the app from ...
Sanmi Akande's user avatar
0 votes
0 answers
278 views

Why is systemd service failing on Amazon Linux 2?

I have a Node.js application cloned on an AWS EC2 instance running Amazon Linux 2. I can execute the project's server.js file just fine: [ec2-user@ip-*********** portfolio_v3]$ nvm use 16 Now using ...
Aaron Parisi's user avatar
0 votes
1 answer
409 views

Get parent of all matching value in JSON using jq

I am new to jq and I have a scenario to get the parent(at a particular level) of any matching value in the json file. Below is the sample data. { "DevOps": { "us-east-1"...
Murali SP's user avatar
0 votes
0 answers
71 views

Need help in bash script to auto increment the value of tags

I have written a simple bash script for adding tags while launching new servers. #!/bin/bash instance_id=$(curl -s http://169.254.169.254/latest/meta-data/instance-id) aws ec2 create-tags --resources $...
code userit's user avatar
-2 votes
1 answer
74 views

Which files are safe to delete?

so I used ncdu to help free up some storage and for the following log: --- / ----------------------------------------------------------------------------------------------------------------------------...
Mansidak's user avatar
0 votes
1 answer
303 views

port forward with openVPN to access local machine remotely

I have an OpenVPN server set up on my AWS Linux instance and I can successfully use the OpenVPN client to connect to the server using an .ovpn configuration file. My question is how can I set up port ...
seriously's user avatar
  • 103
0 votes
1 answer
780 views

What's the risk of running net.ipv4.route.flush

I'm setting up a Linux box through AWS and I'm exploring sysctl. When I run ip route I can see that there are already routes on the machine refering to 169.X.X.X addresses. Questions: What does ...
N. J's user avatar
  • 137
0 votes
2 answers
485 views

Where to set new UUID for PV & VG of LVM

I have 2 instances running on AWS. Instance A (main instance) and Instance B (rescue instance). I detached volume from Instance A and attached it to Instance B to perform some changes why because I am ...
Pritesh Vikram's user avatar
-8 votes
3 answers
102 views

I need to convert a large space-separated list of Debian packages into a newline-separated list [duplicate]

In a Amazon s3 bucket we have Debian packages stored in different folders. Each folder contains different amounts of files. While calling Debian packages from the s3 bucket (AWS) the packages are ...
Jaraar's user avatar
  • 1
0 votes
0 answers
72 views

Remove Unlisted Application

I am running Fedora 37 on my home computer, and have attempted to install Amazon Workspaces via Flatpak, which was successful (package: ‘app/com.amazon.Workspaces/x86_64/stable’). I was having issues ...
DankyNanky's user avatar
0 votes
2 answers
143 views

Could not add AWS codepipeline as a source for codebuild

want to create codebuild project, but i neeed build source to be codepipeline, not a specific codecommit branch, so that i want to force codebuild to get the source from the codepipeline source stage ...
karim's user avatar
  • 1
0 votes
1 answer
56 views

Stucked while testing for a file transfer speed of 10 TB of file from server1 to server 2

I'm doing a testing of transferring 10 TB of files from one server to other server via AWS. I have mounted the file system: lsblk file -s /dev/sdb mkfs -t xfs /dev/sdb mkdir /data mount /dev/sdb /data ...
user123 codebit's user avatar
1 vote
1 answer
169 views

IP Fragmentation with Jumbo frames

Is it possible to enable IP fragmentation for packet size greater than 9k when the mtu is configured as 9k? If yes, how can this be achieved in Linux?
Adarsh's user avatar
  • 133
1 vote
0 answers
549 views

Can no longer SSH to AWS EC2 instance

We have an AWS EC2 instance running Amazon Linux 2. This instance was running fine up until a couple days ago. Then we used an Ansible playbook to install a new version of our software. We have used ...
pacoverflow's user avatar
0 votes
1 answer
52 views

Keybindings in nanorc won't work in AWS EC2 Linux

I'm connected to a aws linux vm via ssh as you can see below. I want rebind key codes in .nanorc e.g. bind ^C copy main. But if I reopen nano I got message that there are mistakes in .nanorc. Those ...
Hölderlin's user avatar
  • 1,170
0 votes
0 answers
116 views

Download from multiple backup apt repository in ubuntu

I have AWS auto scaling group which scales out in peak hours. I'm facing unhealthy instances due to do AWS's apt servers being unresponsive sometimes. Err:68 http://ap-northeast-1.ec2.archive.ubuntu....
prashant kandel's user avatar
0 votes
1 answer
262 views

504 Gateway Time Out on Load Testing on Apache Instance

I have a Laravel app deployed over Apache Instance Instance Config is as follows, T3A.2xLarge (vCPU = 4, Memory 16 GIB) I have increased apache timeout to 600 Seconds, configured mpm_prefork as ...
Kashyap Patel's user avatar
1 vote
1 answer
215 views

Unable to make outbound connections on port 443

I have an old server on CentOS 5, with cPanel installed, hosted on Amazon AWS EC2: uname -a Linux 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux It wasn'...
synweap15's user avatar
  • 121
0 votes
0 answers
22 views

AWS CLI downloading lambda package as few bytes?

url=$(aws lambda get-function --function-name my_func --query 'Code.Location' --output text) When I do wget url, it shows: --2022-11-21 11:09:03-- http://url/ Resolving url (url)... 23.217.x.x, 23....
user avatar
0 votes
0 answers
101 views

Can't open display on AWS Linux 2

I'm new to AWS and Linux, and I'm having trouble opening up xeyes (or anything else) on the GUI. I've tried setting $DISPLAY=:0.0, =:1 and the result from running env | grep SSH and taking the IP ...
Sonny's user avatar
  • 1
0 votes
1 answer
110 views

Can't connect to any EC2 Linux instance

I'm facing a very simple issue here; I'm not able to connect to my Linux (bitnami-redmine-5.0.3-4-r06-linux-debian-11-x86_64) Virtual Machine. I've created another sister VM to check, and can't ...
mr. anderson's user avatar
1 vote
1 answer
106 views

bash unable to interpret cli command that uses curly braces in GitHub Ubuntu

What specific syntax needs to be changed in the aws s3api cli command below in order for the bash shell to interpret the command properly? The environment is an ubuntu-latest GitHub runner executing a ...
CodeMed's user avatar
  • 5,109
1 vote
0 answers
704 views

pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ([Errno 99] Cannot assign requested address)")

I have a streamlit app that requires connection to MariaDB. When I run docker-compose up I get this error: pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' ([...
divyashie's user avatar
3 votes
1 answer
2k views

Postfix Error while loading shared libraries: libmysqlclient.so.18

When I try to start postfix I get these errors: /usr/sbin/postconf: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such...r directory /usr/bin/...
SeniorDeveloper's user avatar
0 votes
0 answers
98 views

AWS ECS issue with cloudMap service

i have created an ECS service and during creation i have enabled service discovery, which in its turn create a namespace in cloudmap service, then cloudmap have created a DNS record for my ecs service,...
karim's user avatar
  • 1
0 votes
0 answers
70 views

Custom aws wrapper script in CloudFormation/Pipeline

I need to write an aws custom wrapper script but not sure how. Here is the direction: I would probably write an aws wrapper script. The "aws" shell script would sit in your PATH before the ...
ianhalfpenny's user avatar
1 vote
0 answers
442 views

How to fix clipboard problem in Amazon Linux 2 (CentOS)?

I have an AWS workstation with Linux on it and the "system" clipboard is not working so I cannot copy-paste text (ctrl+c/v etc.) between the applications running inside this workstation. I ...
wi2ard's user avatar
  • 61
0 votes
1 answer
666 views

Cannot install Microsoft SQL Server to Ubuntu AWS /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.30' not found

I am trying to install SQL server onto a Ubuntu machine on AWS and it has been nothing but trouble. I get stuck on the last step, configuring the server after selecting edition and setting an ...
Aguso1133's user avatar
0 votes
0 answers
40 views

AWS Cloudformation provisioning EC2s with FIPS-140 working but Secretsmanager is not

I have been working on updating our CF Stack across multiple applications to be FIPS-140 enabled; which is working fine for enabling FIPS on the AMI bake jobs. However, once the application is ...
ianhalfpenny's user avatar
0 votes
0 answers
205 views

Keyboard layout change on Amazon Linux 2 with MATE connected with windows RDP client

I'm connecting an AWS EC2 Linux 2 instance via windows RDP using the MATE interface. However, I cannot change the keyboard layout. I have tried these: Using preferences I added my layout and removed ...
icezzzz's user avatar
0 votes
0 answers
143 views

"ERR_CONNECTION_TIMED_OUT" error to launch a webserver with private IP

I need to create an EC2 instance (Linux web server) with a private IP address (10.x.x.x) that can be accessible via Corporate VPN only. I created a private VPC CIDR 10.10.10.0/24, and created an EC2 ...
Jack's user avatar
  • 11

1
2 3 4 5
9