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
0 answers
11 views

How to setup router instance on AWS, to route the traffic? [closed]

I have 2 subnets which are in public zone, i.e. IGW is associated with that. By mistake some of the admin created some instances in that and didn't assign any public IP and assumed that these are ...
user avatar
0 votes
0 answers
10 views

RDP credential were use to connect did not work, please enter new credential [closed]

Last 2 weeks i have been facing remote desktop connection problem. I am new in AWS. A few day back, I had received an account suspension mail because of payment due. I made all the payment done. Now i ...
user avatar
  • 1
-1 votes
0 answers
30 views

Create VPC network address

I was going to created a VPC but I'm confused with some questions. The questions i asked is on the second point dot. Scenario: You have a small business with a website that is hosted on an Amazon ...
user avatar
-1 votes
1 answer
48 views

Create a VPC with specific network address

I was going to created a VPC but I'm confused with some questions. The questions i asked is on the second point dot. Scenario: You have a small business with a website that is hosted on an Amazon ...
user avatar
0 votes
1 answer
25 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 ...
user avatar
0 votes
0 answers
16 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, ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
  • 101
0 votes
0 answers
284 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 ...
user avatar
0 votes
1 answer
25 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? &...
user avatar
0 votes
2 answers
60 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 ...
user avatar
0 votes
1 answer
27 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 ...
user avatar
0 votes
1 answer
16 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 ...
user avatar
0 votes
0 answers
11 views

How to ssh into an AWS ec-2 instance from my college network, which uses a proxy server

So basically, I want to connect to an ec-2 instance using PuTTY, but I'm unable to do so because my college's LAN uses a proxy server to allow access to the internet, and it only allows HTTPS ...
user avatar
0 votes
1 answer
22 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 ...
user avatar
  • 151
0 votes
1 answer
14 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 ...
user avatar
0 votes
0 answers
7 views

Replicating a network scenario in AWS with containers

Let me start by acknowledging how backwards and awkward the scenario I'm asking about is, but it is for a very specific purpose. Is it possible to create a custom LAN within AWS, one which runs ...
user avatar
  • 13
0 votes
0 answers
25 views

Update GIT version in AWS SageMaker

When I create new SageMaker notebook the GIT version that is installed is 2.18.5, which is quite old (i.e. restore command is not present). How can I update it newer version?
user avatar
-1 votes
1 answer
33 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 ...
user avatar
0 votes
1 answer
52 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 ...
user avatar
  • 1
0 votes
1 answer
36 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 ...
user avatar
0 votes
0 answers
26 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 ...
user avatar
0 votes
0 answers
6 views

Can't install Ruby on CodeBuild on AWS

It seems that whatever I do I can't get CodeBuild to build my Ruby project. I need Ruby version 2.7.4 so as always I added .ruby-version file in the root folder of my app with ruby-2.7.4 but the build ...
user avatar
  • 101
0 votes
1 answer
65 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'...
user avatar
0 votes
0 answers
13 views

Spoof DNS for pre-launch web testing

I am rebuilding a site that is currently hosted at www.xyz.com. That site is currently hosted at that domain on a third-party hosting provider. My new site is hosted in AWS and is fronted by ...
user avatar
  • 101
0 votes
1 answer
77 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:\...
user avatar
1 vote
1 answer
300 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 ...
user avatar
  • 121
0 votes
0 answers
77 views

AWS Codebuild Ruby 2.6.5 runtime missing on Amazon Linux Standard 3.0 image

I have a ruby project and I am trying to build via AWS codedeploy and having some issues specifying the ruby version. I am using Ruby 2.6.5 and I am using AWS Codedeploy standard image (aws/codebuild/...
user avatar
  • 101
0 votes
1 answer
26 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 ...
user avatar
2 votes
1 answer
89 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 ...
user avatar
10 votes
2 answers
997 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": [ ...
user avatar
  • 5,910
0 votes
0 answers
25 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 ...
user avatar
  • 101
0 votes
1 answer
383 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 ...
user avatar
1 vote
0 answers
42 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" ubuntu@blabla.eu-west-2.compute.amazonaws.com However, when I try to do this in VSC Remote Explorer I get: [17:...
user avatar
  • 155
-1 votes
1 answer
41 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
user avatar
0 votes
2 answers
280 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 ...
user avatar
0 votes
0 answers
113 views

How to setup a site-to-site VPN through AWS, due to dynamic ips at each site?

Example: 2 geographically separate offices to network together using OpenVPN. Each office has a dynamic IP address. I do not want to use a service like DynDNS or something. My thought is to utilize ...
user avatar
0 votes
0 answers
16 views

AWS Config: whitelist certain S3 buckets from a rule?

I have followed this guide from Amazon to help me get SNS notifications and automatically fix/lock down publicly available S3 bucket in my AWS account. However, I'd like to make an exception for ...
user avatar
  • 1
0 votes
1 answer
12 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 ...
user avatar
0 votes
0 answers
17 views

django images failing to load on EB aws using apache

I have set up a django app on AWS elastic beanstalk using apache. problem I have is when logging into django admin, I cannot get to /admin/images on the app. the apache logs error [proxy_http:error] [...
user avatar
0 votes
0 answers
31 views

Is there way to update SSH public key in AWS IAM to save 'SSH key ID' the same?

Is there way to update SSH public key in AWS IAM to save 'SSH key ID' the same? In AWS IAM 'SSH key ID' looks like on image below: aws_iam
user avatar
  • 1
0 votes
1 answer
75 views

AWS: cannot reach ec2 hosts through Sonicwall VPN

----<--<-<-<------- HQ <- .-> AWS --->-------->-->-->-->--------- . eth0(X1) WAN +---------------------+ . +---------------...
user avatar
0 votes
0 answers
67 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/...
user avatar
0 votes
0 answers
136 views

Cannot Access Shared Folders on AWS Instance (error code: 0x80004005)

When attempting to view the shared folders on SERVER02 from SERVER01 using the UNC path to SERVER02 in file explorer, I get the following error: "Windows cannot access \\ServerName. Check the ...
user avatar
  • 1
1 vote
1 answer
138 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 ...
user avatar
  • 113
0 votes
1 answer
40 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 ...
user avatar
0 votes
1 answer
28 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 ...
user avatar
0 votes
1 answer
115 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 ...
user avatar
  • 1
1 vote
1 answer
33 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 ...
user avatar
  • 11
0 votes
1 answer
39 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....
user avatar
  • 181
1 vote
1 answer
42 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. ...
user avatar
  • 165

1
2 3 4 5
19