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
2 answers
390 views

How to configure an IPv6 tunnel on AWS?

I'm running openvpn on a dual-stack AWS EC2 instance (Ubuntu 18) in an AWS VPC. Connecting to the VPN software and tunneling IPv6 seems to work fine; I can bring up a VPN link and ping6 around the VPN ...
Brent Baccala's user avatar
0 votes
0 answers
200 views

AWS EC2 windows - secure encryption at rest with password at boot

I'm looking for a way to use encryption at rest at aws for windows instances, but I want the instance to be protected from a hacked admin account (although unlikely due to 2fa) or aws itself (yes, ...
Catscrash's user avatar
0 votes
2 answers
1k views

make new objects in s3 bucket public by default

I have an s3 bucket in which the objects within it need to be made public, right now anytime I upload a new file I have to click on it and then click "make public using acl" I wonder if ...
fred's user avatar
  • 113
1 vote
0 answers
3k views

Yum update Could not contact any CDS load balancers Amazon EC2

In my scenario , for some reason yum has stopped working in my Amazon EC2 instance, located in the us east -1 region. There seems to be something wrong with the path of the repo metadata, is this ...
samtech's user avatar
  • 11
0 votes
1 answer
161 views

HTTPS and HSTS headers issue

In my scenario we currently have www3.example.com routing through a few different paths. Could you please advise how we should correct this to be a better approach, possibly just redirecting even? &...
samtech's user avatar
  • 11
0 votes
2 answers
774 views

Httpd Directory read permissions issue

In my scenario ,I need the 'httpd' directory in '/var/log/' to be readable by the users in 'devs' group (Amazon Linux 2) Could anyone guide me how to accomplish this? We have a few developers who ...
samtech's user avatar
  • 11
1 vote
1 answer
2k views

How do I remove the Apache "/icons/" and "/icons/small/" folder alias?

By default, Apache has two alias folders called /icons/ and /icons/small/ that are full of very old fashioned icons. Both folders are not physical folders in my domain directory on the server, as ...
Justin Levene's user avatar
0 votes
1 answer
1k views

Speed of pushing docker containers extremely low

I have a problem with pushing docker to the registry. A few weeks ago everything was okay, but now it takes a lot of time. For example, pushing one new layer (because all other layers were pushed ...
Yana Hontarenko's user avatar
0 votes
1 answer
664 views

AWS EC2 Instance Virtual Machine having RDP connection & network issue

On AWS, we have an EC2 instance -- a Windows 2019 Virtual Machine. This VM is created in a non-domain standalone VM with Public IP (enabled). After successfully creating it, when I try to RDP from my ...
ToC's user avatar
  • 161
0 votes
1 answer
115 views

What IAM policy is appropriate for gitlab S3 buckets when using KMS encryption?

I'm setting up GitLab with S3 storage backend and would like to use KMS to encrypt the buckets. I'd like to avoid giving out permissions broadly. I'm using terraform to provision these resources. How ...
flickerfly's user avatar
  • 1,051
-1 votes
1 answer
249 views

AWS CLI credentials in the Windows CMD terminal

I found that if you use your AWS CLI programmatic keys in Linux, you can find them using cat ~./aws/credentials Later, you can remove them using rm ~./aws/credentials How can you do the same in the ...
Beginner's user avatar
0 votes
1 answer
400 views

How to use AWS OpenVPN with a domain name and redirect the IP address to the hostname?

I have an AWS OpenVPN deployed in AWS marketplace. I want to connect on URL using domain only https://example.com not accessible via https://132.x.x.x is there a way public IP is not accessible? I ...
daito's user avatar
  • 1
0 votes
1 answer
537 views

AWS Linux Stuck due to screen command - blank screen - how to get out

I am using AWS Linux (Amazon Linux 2 AMI) and I am totally stuck after using the basic "screen" command. I was following an installation guide and one of the steps was to use just the ...
Rebelde2's user avatar
0 votes
0 answers
169 views

How to close or recover a hanging connection to amazon-ec2

I was using aws cli to connect to an EC2 instance. I had network issues and the connection broke. I was left with a hanging connection, both on my side (the cli wouldn't take any keystroke) and on the ...
Roberto Morávia's user avatar
0 votes
1 answer
3k views

How to set up local mail on AWS linux 2

ISTR that in the old days, on most unix boxes you could just mail someone ... and it pretty much just worked. I have a pretty decent understanding of how mail servers work, but ... it turns out I don'...
philolegein's user avatar
0 votes
1 answer
711 views

User-data Powershell script is not populating variable

I have written a Powershell script to initialize, format, assign drive letter etc to a number of EBS volumes attached to a Windows 2019 EC2 instance. <powershell> New-Item C:\...
Allegin's user avatar
1 vote
1 answer
2k views

Use KeePass to generate AWS MFA codes (TOTP / Time-Based One-Time Password)

We use in our team KeePass to store the credentials and the MFA secret key of AWS account root users. Is it possible to use KeePass to directly generate the AWS MFA codes (TOTP / Time-Based One-Time ...
Patrick's user avatar
  • 121
0 votes
1 answer
67 views

Passphrase for ssh keypair '/home/ec2-user/.ssh/lab-3-key' - AWS, ParallelCluster, FDS, Cloud9

I am attempting to run FDS (CFD code for fire simulation) on Cloud9 pcluster using the following tutorial: https://fds-smv-on-pcluster.workshop.aws/oyo/setup/pcluster.html Basically, you install ...
John S.'s user avatar
2 votes
1 answer
450 views

Bitdefender Encrypted Web Scan blocks Same-Site Api Calls

I have a simple secure same-site, cross-origin setup like: Frontend: https://www.example.com API: https://api.example.com On both domains we use SSL certificates issued by Amazon (AWS ACM) Some of our ...
Björn Grambow's user avatar
11 votes
2 answers
2k views

parsing json in bash with pipe operators

I'm using the AWS CLI client to get the status of a snapshot but the output is in JSON. eg. { "DBClusterSnapshots": [ { "AvailabilityZones": [ ...
neubert's user avatar
  • 7,102
0 votes
0 answers
67 views

Need some assistance in setting up Mosquitto for IoT core

I have been attempting to setup a mosquitto server in order to publish data about my IoT devices to the IoT core service. This would then be picked up by Alexa so that someone can say "What is my ...
philm's user avatar
  • 101
0 votes
1 answer
2k views

Wireguard VPN in AWS with split tunnelling not working

Before I kick this off. I have very limited network knowledge so hopefully I explain my situation clearly THE STORY We currently have a very basic implementation of a site in AWS. We followed best ...
Ivan May's user avatar
1 vote
0 answers
421 views

Trying to connect to AWS EC2 instance and getting session denied (publickey)?

I use Windows 10 and can do this successfully in PowerShell: ssh -i "bla.pem" [email protected] However, when I try to do this in VSC Remote Explorer I get: [17:...
cs0815's user avatar
  • 155
-1 votes
1 answer
52 views

why domains like mail.google.com or music.youtube.com not work wit www

If we try to access www.mail.google.com or www.music.youtube.com. They wouldn't work. why? Also if we want how can this be achieved
kannu chopra's user avatar
0 votes
2 answers
6k views

How to send enter 4 times in batch file?

I am going to use AWS CLI to control AWS resources automatically on windows. But I find the problem with AWS configure to press enter from cmd to run the next command. How do I automatically press ...
YLPenny's user avatar
0 votes
1 answer
21 views

How to create a hansdshake for Jenkins when assumeing an IAM role?

I have a desired workflow that looks something like this. Terraform stored in Bitbucket. Push triggers, Jenkins job. (Bur default IAM Role for Jenkins agents can't do some things. Like write IAM ...
Josh Beauregard's user avatar
0 votes
1 answer
448 views

AWS: cannot reach ec2 hosts through Sonicwall VPN

----<--<-<-<------- HQ <- .-> AWS --->-------->-->-->-->--------- . eth0(X1) WAN +---------------------+ . +---------------...
Aethalides's user avatar
2 votes
0 answers
513 views

Not able to ping AWS ec2 IPv6 address

i have t3.small EC2 instance i have associated ipv6 address to it but not able to ping the address . 1.able to ping IPv4 of same instance 2.for reference i have used - https://docs.aws.amazon.com/vpc/...
krishna's user avatar
  • 21
1 vote
1 answer
1k views

"unable to open file" when trying to use PPK key file converted from EC2 PEM key

Unable to connect to EC2 from Linux mint 20. Screen shots for the steps followed attached In PuTTY I followed the steps step 1 : to convert from .pek to .ppk I followed the link pek-ppk sudo puttygen ...
subhashis's user avatar
  • 113
0 votes
1 answer
389 views

What is the advantage of a Docker multi-stage build? what advantage does it provide ( I am not seeing )

Can anyone explain the advantages of multi-stage builds, especially what is going on here in this specific Dockerfile example? ref: Section titled: Create an image from an alternative base image ...
user10664542's user avatar
0 votes
1 answer
216 views

How to create AWS S3 key

I've set up an AWS S3 bucket, and it's working for transfers using the web UI, but I want to be able to use the "aws s3 sync" command. The only way I know how to use that command requires ...
Toby Eggitt's user avatar
0 votes
1 answer
1k views

DNS does not resolve in browser or when pinging but does during dig or curl

I'm using GoDaddy as the registrar and Route 53 (AWS) to handle DNS resolution. Route 53 in turn routes to an AWS Elastic Beanstalk node.js application. The domain resolves to the correct IP address ...
Liam's user avatar
  • 1
1 vote
1 answer
246 views

Is there a way we can way to minimize or eliminate warning when a recipient receives an email from AmazonSES

When we are sending emails using Amazon SES from the application, recipients of the email are seeing warning messages like below: I have tried to find possible things that we can do to avoid ...
BunnY's user avatar
  • 11
0 votes
1 answer
242 views

SSH port forwarding between local networks using Linux and AWS

I've got : A local network A with: Offline Linux device 192.168.0.1 Offline Windows device 192.168.0.2 that connects to port 4444 in Linux 192.168.0.1 Raspberry Pi with two ethernet ports, 192.168.0....
Katu's user avatar
  • 191
1 vote
1 answer
114 views

configure kubectl to provision minikube localy instead of Kubernetes cluster in aws (AWS EKS)

I have Minikube installed on my laptop and I have a Kubernetes cluster on AWS EKS After creating a cluster on AWS I received a command to execute so that my kubectl command manages the cluster on AWS. ...
Tomas.R's user avatar
  • 195
0 votes
1 answer
387 views

I blocked myself from SSH in AWS Lightsail. How can I recover access?

In the case where I mistakenly blocked myself from SSH access by enabling firewall or misconfigure SSH, is there anyway I can re-gain access to such instance? As far as I know, there is no way to ...
qkhanhpro's user avatar
  • 113
0 votes
0 answers
711 views

Connect to VPN within a Windows 10 AWS Workspace

I'm running a Windows 10 AWS Workspace and am wanting to connect to a company VPN from this workspace. I've turned off "Use default gateway on remote network". The Windows VPN interface ...
Joel Christophel's user avatar
0 votes
1 answer
3k views

Wireguard - Disable all internet traffic but only allow to same VPC servers in AWS

I have configured Wireguard in AWS and I was able to connect to the server from client. But what I want is, I don't want to route all internet traffic to Wireguard, so after connect VPN my public IP ...
iOSLover's user avatar
0 votes
2 answers
264 views

does AWS Route 53 have a service like DynDNS or No-IP?

I do local dev on an application that Twilio occasionally needs to make HTTP requests to. To facilitate this I have local.mydomain.com pointing to my computers IP address as it resolves to the outside ...
neubert's user avatar
  • 7,102
0 votes
1 answer
188 views

Openvpn dosn't work under Aws EC2 | connects but no sending or receiving any real data

So I had this problem a while ago on AWS EC2 - I'm still learning about networking and VPS's - and sysadmin in general My setup process: AWS Dashboard > EC2 ( Ohio )> AMI > Selecting Openvpn ...
winpriv's user avatar
  • 25
-2 votes
1 answer
262 views

Jenkins is not opening in browser only in my laptop? [closed]

From two days I am facing this problem. Till 2 days before Jenkins.... worked without any error in my laptop. My Jenkins server is in AWS EC2 (Amazon Linux). All my deployments are also there in ...
Mani Gopal's user avatar
0 votes
1 answer
276 views

AWS MFA does not work with Authy desktop

I have authy installed on Ubuntu 20.04.2. On my IAM user page I click on the Manage link and Virtual MFA device. I copy the secret key. In Authy I click + to add an account and copy the secret key ...
Dean Schulze's user avatar
0 votes
1 answer
229 views

Wants to run two webserver on tomcat at port 8080 and 7070 without opening this port in security group of EC2

I am running two webserver on tomcat version 9 using port 8080 and 7070 on same EC2 . 1st tomcat : <Connector port="7070" protocol="HTTP/1.1" connectionTimeout=&...
Rashmi Pandey's user avatar
0 votes
0 answers
624 views

How to make AWS EFS work fast? (looks like a bug)

I am copying (by DataSync) from one EFS to another EFS (both Provisioned (1024 MiB/s)) at 14.57 MiB/s. Both systems are in the same subnet in the US. (Moreover, when I tried to change them back to ...
porton's user avatar
  • 311
0 votes
1 answer
141 views

How to correctly log in into AWS EC2 instance created by CloudFormation

I'm just starting to play with AWS services, more specific with CloudFormation. I'm following some of the AWS tutorials, and so far so good, but I'm stuck at one thing: once I generate the template as ...
k.Cyborg's user avatar
  • 121
0 votes
1 answer
1k views

NS Failure on AWS hosted domain name: DNS_PROBE_FINISHED_NXDOMAIN. How can I resolve an unidentified DNS failure?

My website does not load, but the app loads from elastic beanstalk just fine. I have NOT made any configuration changes, other than deploying a new version of the app, which works correctly. Domain ...
henningapp's user avatar
3 votes
2 answers
4k views

How to set 600 permission on a .pem file in w10?

I am unable to change permissions to 600 on an AWS .pem file. Note that "inherited permissions" were turned off in all efforts, and owner was set properly. Tried using this guide with File ...
kmiklas's user avatar
  • 219
0 votes
1 answer
107 views

SSH into AWS EC2 without copy/pasting DNS each time

Following generation of a PEM file, and starting the instance, logging in requires copying the public DNS each time you wish to SSH in (as shown in AWS docs): ssh -i /path/my-key-pair.pem my-instance-...
Thomas Matthew's user avatar
0 votes
1 answer
2k views

Block device doesn't actually mount and no errors are reported

I'm debugging an issue with mounting a partition (from an EBS volume) on an AWS EC2 instance. The device shows up as /dev/nvme1n1p1: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 ...
erjiang's user avatar
  • 747
0 votes
1 answer
214 views

Openvpn Access Server hosting a web server as vpn client. Port forwarding, IPTables, and Firewall? How to

ENVIRONMENT: I have successfully set up a LEMP email/webserver running off of my home IP address, with my domains dns pointing to my home IP. My server is behind a firewall router, which is behind my ...
DanRan's user avatar
  • 140

1 2
3
4 5
20