Questions tagged [amazon-web-services]

Amazon Web Services (AWS) delivers a set of services that together form a reliable, scalable, and inexpensive computing platform "in the cloud". If you have a question about a specific web service, consider asking on its tag, e.g., amazon-ec2.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Secondary network interface can't be pinged with Amazon Linux 2 AMI

Short story: both private IP addresses on primary network interface can be pinged, but both private IP addresses on secondary network interface cannot be pinged. Long story: Based on this aws ...
0
votes
1answer
27 views

How AWS Elastic Network Interfaces actually work?

I have a couple of questions regarding ENIs: Why I can't change auto-assigned private IP address on default ENI? What if I change the IP on eth0 inside the system manually? Will it work, or the ...
0
votes
0answers
8 views

AWS App Runner deploy failing

I'm playing with AWS App Runner and I'm having issues with deployments/service updates. Half of the deployments fail with no apparent reason. A few minutes after the deployment is initiated, the app ...
0
votes
0answers
24 views

EC2 outbound static IP

I'm having troubles with an EC2 server I need to connect with an external SQL server that has whitelisted an elastic IP attached to the instance. All the security rules and routes are set in the most ...
0
votes
0answers
9 views

EKS - Use IAM roles for service accounts on multiple clusters

I am trying to use IAM roles for service accounts in EKS. https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html When it comes to create the IAM role to be assigned to a ...
0
votes
0answers
22 views

SSL error from AWS server in us-west-1 to eu-west-1

Server's in us-west-1 region while tryin to connect https://elasticloadbalancing.eu-west-1.amazonaws.com/ in eu-west-1 region curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL. This is happening with ...
1
vote
1answer
33 views

AWS Route 53 Failover DNS with Healthcheck not updating IP (even though health check shows failure)

Our goal is to have a Healthcheck continuously evaluate the health of an endpoint. When it becomes unhealthy, we want the DNS to failover to a different IP address. We have set this up but we now ...
0
votes
1answer
43 views

Why RDS needs only CA certificate to connect via SSL?

Usually you need a client certificate and a pair of public/private key to connect securely. How come all RDS needs is a CA certificate?
1
vote
1answer
30 views

AWS S3 File Browser for Windows

Is there any official AWS GUI like S3 file explorer for Windows? I know there's plenty non-official like S3 Browser but, I am avoiding using third-party software.
0
votes
1answer
21 views

Can't Connect to an RDS from my home computer in AWS

I need to connect to an RDS from my home computer. This is an established database, I'm migrating it to a new system. I can not connect to it from my home computer. I have set the security to Public ...
0
votes
1answer
23 views

Benefit(s) of having servers ( or specifically, API Servers) in different locations for a single domain?

I am very new to this field, so my wording may not be spot on. My crypto exchange offers an API, and I stumbled upon the question when I was playing with it on AWS Cloud9 where I can change client's ...
0
votes
1answer
33 views

AWS IAM Roles: What is a trusted entity exactly?

I have a role attached to a LaunchConfiguration for an EC2 instance, that gives the EC2 instance privs to do certain things like do Cloudwatch logs (the context isn't important to the question). In ...
0
votes
0answers
12 views

AWS CDK add route 53 alias record the most simple way

I have created an API Gateway for websockets with CDK. For easier remembering of the URL, I want to give the sadjl342r.execute-api.amazonaws an ALIAS in Route53 Something like "my-ws-api.mydomain....
0
votes
0answers
35 views

React Js + AWS Cloudfront + SaaS + SSL Certificates

This is the scenario I have in mind SaaS application Frontend built using React Js Hosted using S3 bucket + Cloudfront Customer domains pointing to this application using CNAME Questions - Can ...
0
votes
1answer
63 views

AWS ECS Fargate Task cannot pull secrets from SSM

I'm bootstrapping an ECS Cluster with AWS CDK. I created SecureStrings in SSM which I want to pass to the container secrets. But when starting the service I get the following error message on the task:...
1
vote
2answers
48 views

Enable https on EC2 Instance

I have an elastic public IP for my EC2 instance. I have an Nginx server running on it (and nodejs as a backend server). I'd like to enable HTTPS access to my server. My questions: Can I create an SSL ...
0
votes
0answers
41 views

Renew Letsencrypt certificate on Amazon AWS Linux AMI with nginx

I have production and test instances on AWS Linux AMI. On the test instance I am unable to renew letsencrypt certificate with certbot because it requires ACME2 and I am still using old certbot to ...
1
vote
0answers
14 views

What is the best metric for auto-scaling GPU instances for machine learning inference in the cloud?

We have an API in AWS with a GPU instance that does inference. We have an auto-scaler setup with the minimum and maximum number of instances, but aren’t sure which metric (GPU/CPU usage, RAM usage, ...
0
votes
0answers
27 views

Login as root into an EC2 instance without password by storing my own public key on the server?

I got a running AWS EC2 instance. I found several answered questions regarding logging into an EC2 instance as root, but they either involve inputting a password or providing the key file from Amazon. ...
0
votes
0answers
47 views

Server crash after any wordpress function

Hello everyone I have an error and I hope that someone here will be able to suggest to me what to do. Yesterday I start to use AWS Lightsail and I get server with pre installed WHM and Cpanel and ...
0
votes
0answers
18 views

Major difference in storage measured by Amazon Aurora vs Postgres

When I query postgres for the size of all databases, I'm getting 430 GB. select pg_size_pretty(sum(pg_database_size(d.datname) )) from pg_catalog.pg_database d; > 430 GB However, Amazon Aurora is ...
0
votes
0answers
29 views

Cloudflare and AWS - Intermittent 525 SSL Handshake

I'm getting an intermittent (approximately 0.01% of requests) 525 (SSL Handshake failed) between Cloudflare and our AWS EC2 Windows 2016 IIS, with Let's Encrypt CA installed using win-acme running as ...
0
votes
0answers
13 views

How to quickly login to AWS container?

When I want to login into my amazon container I have to do the following: Go to ECS cluster page, select the correct cluster Find the correct FARGATE taks Copy AWS session secret in environment ...
0
votes
0answers
23 views

Clients who block all outgoing udp connections having problems connecting to turnserver

We recently had a problem with our turnserver (coturn), some clients who use firewalls to block all outgoing udp connections have problems connecting to it, as far as i know, when udp connection doesn'...
0
votes
0answers
15 views

EKS readiness and liveness probes randomly fail

I am running EKS 1.20 with Amazon Linux 2 selfmanaged nodes and VPC CNI 1.7.10 I noticed readiness probes and liveness probes fail randomly. All of probes fail at the same time inside a node while ...
1
vote
1answer
31 views

MySQL user is taking more than 100% of CPU utilization

My CPU% is more than 130% but i haven;t created any user with name "MYSQL" Here is what i am getting Image here
1
vote
0answers
17 views

What is the HeavyUsage charge on AWS DynamoDB?

What are below cost charges in AWS Cost Explorer <region-code>-HeavyUsage:dynamodb.write <region-code>-HeavyUsage:dynamodb.read Didnot find any documentation about Dynamodb bill/cost ...
0
votes
0answers
29 views

Dockerfile Works Locally But Fails on EB (Elastic Beanstalk) Deploy (PHP 7.3 with OCI8 extension)

Good day, fellow developers! I have been searching for 2 weeks now on how to install the OCI8 PHP extension on Elastic Beanstalk using .ebextensions but sadly I can't search for similar ones. Before I ...
0
votes
1answer
15 views

CannotPullContainerError on AWS Elastic Beanstalk Multicontainer Docker with private repository

I am trying to deploy web application on multi-docker environment using Elasticbeanstalk, and I am using authentication file stored in S3 bucket for repository authentication. But I got the ...
1
vote
0answers
37 views

Unable to connect to ec2 instance after changing my network configuration

My MongoDB database was hacked and I lost all my data but I had backups so it was not a problem, but once I was trying to recover it and make it safe I found out that binding only the necessary IP ...
1
vote
0answers
34 views

Cron Help in Amazon Linux 2 EC2 [duplicate]

It's like not only Amazon Linux 2 I could not setup cron. I type crontab -e then @reboot bash /home/ec2-user/abcd.sh After Rebooting the EC2, this cron job doesn't work. The same used to work in my ...
0
votes
1answer
44 views

Limit max number of simulataneous connections from NLB to a specific instance

I am trying to restrict maximal number of TCP connections from amazon NLB to a target group. Example of a desired scenario: We have 2 instances and NLB. The first 100 users with 100 TCP connections ...
0
votes
1answer
70 views

EKS ARM Node stuck in NotReady status - runtime network not ready cni config uninitialized

I have an EKS Cluster (AWS) named cluster-main running on Kubernetes version: 1.16 Platform version: eks.4 CNI version v1.6.1 There are two node groups in the cluster Cluster Name Instance Type AMI ...
0
votes
2answers
34 views

With a multi-tenant application, better alternative to chained CNAME?

Let's assume I have a multi-tenant webserver that runs an application for 500+ domains. I have an AWS Loadbalancer url, my_application.elb.eu-west-1.amazonaws.com, which have A and AAAA records to the ...
0
votes
0answers
18 views

Disable nginx version in Server header on AWS Elastic Beanstalk

I want to disable the default nginx behaviour where it adds a Server header including the nginx version: nginx/1.18.0. I'm fine if it just says nginx. From what I can find, I can do that by adding set ...
0
votes
0answers
15 views

Add headers in nginx config on AWS Elastic Beanstalk

I'm trying to have the nginx on my Elastic Beanstalk application add some headers to every response. I've edited my 00_application.conf file (in .ebextensions/nginx/conf.d/elasticbeanstalk) to include:...
2
votes
1answer
88 views

Network solution does not accept an AWS machine as nameserver

I have set up an AWS EC2 machine as a (BIND) nameserver and I am in the process of making it secondary for several domains we manage. This is cool for all our domain name vendors (e.g. IT-NIC, ...
0
votes
0answers
60 views

Can i access an EKS cluster , if i don't have access to iam user that created it?

An AWS admin , created an IAM user , and that user created an EKS cluster. Now , we don't have access to that IAM user. If , we try to execute , kubectl , commands on that EKS cluster from a new IAM ...
0
votes
0answers
59 views

Second interface not redirecting traffic

I am trying to setup a redirector to nat https traffic destined to (eth0)172.31.14.66 -> 1.1.1.1 and http traffic destined to (eth1)172.31.14.48 -> 2.2.2.2. Here are my iptables rules: iptables -...
0
votes
0answers
13 views

AWS: Read object file from S3 bucket to perform health checks with canary in Synthetics

Instead of doing health checks in the canary script I want to read all websites from an file that is located in an S3 bucket. Are there any way to do this? Script in canary: const s3 = new aws.S3({ ...
0
votes
0answers
34 views

Using a Let's Encrypt SSL certificate for my AWS Server

I have a website at www.example.com that's using a Let's Encrypt wildcard certificate. It works great. I also have a webapp that's running under Tomcat on an AWS EC2 instance. It runs at webapps....
1
vote
2answers
26 views

Securing DNS sub-domain delegation in Amazon Route53

Our company controls the domain example.com. We have a partner to whom we would like to delegate the subdomain sub.example.com, so that they can use it to create any records from and under this node (...
0
votes
0answers
16 views

AWS time traveling issues with dhclient

I am a QA software engineer working on integration tests that require changes on the system clock to simulate the pass of the time. When running those tests on AWS EC2 instances I got unexpected ...
0
votes
1answer
33 views

How to get the security-group for an ECS cluster

When creating an EC2-mode ECS cluster, you must assign/create a security group: However, there appears to be no way to retrieve the ARN/name of the security group afterward. UI: CLI: $ aws ecs ...
0
votes
0answers
30 views

Recommended ways to manage / edit files on Amazon EFS remotely?

We're starting to use AWS, making use of EFS for application / user data and configuration. Now I wonder what are good ways to access and manage these files remotely, for instance in order to edit a ...
0
votes
0answers
13 views

Adding an existing Cloud9 environment to a CodeStar project

I opened a CodeStar project and connected it to a CodeCommit repository. I also have a previously created Cloud9 EC2 environment running Amazon Linux 2. Is it possible to link my Cloud9 environment ...
0
votes
0answers
11 views

How to properly troubleshoot AWS Pinpoint?

We use AWS Pinpoint to programmatically send emails. We don't send a lot of them (around 200 per day) but they are important for our business, so I'd like to find a safe way to keep track of errors ...
0
votes
1answer
14 views

AWS - Connecting 2 VPC regions bi-directional?

I have 2 VPCs, one in US, one in EU, and each of them have 1 VM. (IN US there is the Customer GW (set to irish IP) and Virtual Private GW). I have succesfully connected with openswan from Irish VM, I ...
0
votes
0answers
13 views

AWS Classic Load Balancer Health Check only works when restarting nginx

I am trying to setup a AWS classic load balancer for my EC2 instances... Please find details on the setup below. The problem: my health check of the instance only works for the period of approx. 1 ...
0
votes
1answer
35 views

Port forwarding to local port return ERR_CONNECTION_REFUSED with aws ec2

I'm trying to do port forwarding to access my local machine port 8888 by using the public address of my aws ec2 machine. (xxxx.compute.amazonaws.com:8888) I tried this : ssh -R 8888:localhost:8888 ...

1
2 3 4 5
154