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.
8,748
questions
2
votes
2
answers
1k
views
AWS S3 Static Website vs CloudFront OIA
It seems there are kind of two ways to host a static website on S3/CloudFront.
Create S3 bucket with full public access and Static Website set to Enabled + CloudFront config
Create S3 bucket with no ...
2
votes
1
answer
1k
views
Find which RDS is using a certain parameter group?
How can I find which RDS database (if any) is using a certain parameter group?
Clicking through each DB to check that is not a solution. There's too many DBs in the organization.
2
votes
2
answers
3k
views
Can't point my subdomain address to CloudFront distribution (using S3 + CF + Route 53)
[Jump to bottom to see updates and latest attempts]
First of all, I apologize if I misuse terminology here. I work as FE developer and this area on networking and setting up domains and aws services ...
2
votes
2
answers
2k
views
Can't create free-tier AWS RDS DB
I can't seem to create a 12-month free-tier AWS RDS DB running MySQL.
According to AWS, the following requirements need to be met for a 12-month free-tier RDS DB:
750 Hours per month of db.t2.micro ...
2
votes
1
answer
2k
views
Cannot start mysql-server on Amazon Linux 2 due to dependency issues
I'm trying to install MySQL on a Amazon Linux 2 server and I can't seem to get past this dependency issue (prevents server pkgs etc being installed thus preventing me from starting a mysql-server.
...
2
votes
1
answer
19k
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:...
2
votes
1
answer
866
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 ...
2
votes
1
answer
450
views
How do I determine what AWS assets are in a given VPC? And if they are all in a VPC, is there any reason to use in-transit encryption between them?
This seems like an exceptionally dumb question, but as my high school woodshop teacher said, the only dumb question is the one that doesn't get asked.
I'm not entirely sure what assets are in a given ...
2
votes
2
answers
9k
views
How can I find the IP addresses of an AWS RDS instance
I have an RDS instance on AWS running MySQL. "Public availability" is set to "yes", and I can connect using the endpoint dns name.
Using the AWS console, how can I find both the ...
2
votes
1
answer
311
views
AWS not giving advertised ram
I have two t3.micro AWS instances. One is in us-east-1a and the other is in us-east-1b. Each of the machines should have 1GB of ram. On the first box in us-east-1a I see:
[root@ip-10-0-0-32 ~]# free -...
2
votes
1
answer
3k
views
Caching layer in front of AWS Elastic Container Service
I've got an ECS that implements a REST API, which does some fairly heavy computing, but can massively profit from caching at the request level (since it'll receive many identical requests).
I ...
2
votes
2
answers
921
views
How to securely pass secrets to an application
I have an application exposing a REST API which needs some secrets to launch, like database password, p12 keystore password or HS512 secret for issuing tokens. Those values are extracted from ...
2
votes
1
answer
3k
views
AWS Cloud Front, how to request origin using correct url
I'm trying to cache a website that is on an EC2, it has an URL uncached.xyz.com, so i created an Cloud Front with the origin pointed to uncached.xyz.com and created a record xyz.com that points to the ...
2
votes
1
answer
2k
views
I've been locked out of EC2 RDP connection to my Windows 2019 Server instance after resetting firewall rules
I've been using a Windows_Server-2019-English-Full-Base-2020.12.09 EC2 instance in N.Virginia for a while and accidently got my firewall rules reset and it seems RDP port is closed and not accepting ...
2
votes
1
answer
3k
views
Replace WinRM with OpenSSH on Windows for use with Ansible on AWS
Currently when running extended builds (Packer/Ansible based) on Windows we have found that WinRM has errors so frequently as to be unusable and have had to fall back to running some large build jobs ...
2
votes
1
answer
2k
views
AWS: How do I restrict deployment to ECS clusters using IAM
I have multiple Fargate clusters in a single AWS account. I wish to ensure that a given service account (used by the build pipeline) can only update Services within a given Fargate clusters.
The IAM ...
2
votes
1
answer
1k
views
AWS SES email delay
I am encountering the following problem here is my scenario; I have a VPC with two private subnets and one public subnet. Inside the public subnet I have a NAT instance to give outbound internet ...
2
votes
1
answer
13k
views
OperationalError: could not connect to server: Operation timed out - when trying to change database from sqlite to postresql
I have upgraded my RDS amazon db instance (postgresql database ) from micro to small. Although it says that it is available on the amazon console, I keep getting the error (psycopg2.OperationalError) ...
2
votes
1
answer
831
views
AWS EFS - file delete and recreate not detected programmatically for 25 to 30 seconds
I am observing a very large delay in EFS detecting that a file has been re-created i.e. deleted and then created again.
In this simple test example, I have a single file that gets deleted and ...
2
votes
1
answer
950
views
What may cause a request being sent with a TTL of 64 to fail on connection to a destination ip that traceroute shows is 33 hops away?
From within a docker container (running ubuntu 18) running on AWS ECS I'm attempting to establish a connection to an outside data center. We've troubleshot the issue to where we believe it's the ...
2
votes
1
answer
2k
views
AWS Cloud Provider Integration with Kubernetes - Nodes stuck with "uninitialized: true" taint after bootstrapping
Summary
I am attempting to bootstrap a Kubernetes cluster on AWS using Kubeadm. Please before you suggest them, I am not interested in using EKS or another bootstrapping solution like Kops, Kubespray,...
2
votes
1
answer
2k
views
How to find out the endpoint url of a node of a redis cluster via aws cli 'elasticache describe-cache-clusters'?
If I run aws elasticache describe-cache-clusters I will get results like this:
{
"CacheClusterId": "dev-001",
"ClientDownloadLandingPage": "https://console.aws.amazon.com/...
2
votes
2
answers
46k
views
AWS RDS to PgAdmin Error saving properties Unable to connect to server: timeout expired
Short description: AWS RDS connecting server to pgAdmin 4, PostgreSQL 11
Done: I have done similar to this guy or to this AWS guide, but at the end when I click Save, it does not accept it for me. ...
2
votes
2
answers
2k
views
Can't connect to Amazon RDS MySQL
I'm trying to connect to RDS MySQL from linux machine. When I test the connection with telnet, the telnet session succeeds but when I'm trying to connect to the db with the next command
mysql -h ...
2
votes
1
answer
186
views
Separate public subnets for VPN access in my AWS VPC
I'm setting up an AWS VPC, and have carved it up into public, cache, persistence and compute subnets.
I plan on separating resources in the following way:
Public: ELB and VPN network association
...
2
votes
1
answer
4k
views
Cloudfront infront of ELB and kubernetes is showing Default backend (nginx-ingress)
Having kubernetes cluster with nginx ingress, pointed to AWS ELB load balancer and Route 53 domain pointed to this ELB is working just fine. Now I am trying to add cloudfront, it's pointing to load ...
2
votes
1
answer
131
views
How to resize RHEL Atomic logical partition?
We have a VM in AWS that is running Red Hat Enterprise Linux Atomic Host 7.7.3.1. AWS shows this EBS volume attached to it:
And the size of the volume is 60 GB:
I do not know who set up the VM or ...
2
votes
1
answer
1k
views
Does SES free tier extend to AWS Fargate?
Amazon SES offers a free tier that is eligible for applications running on EC2 instaces or in Elastic Beanstalk containers. However, am I also eligible for the free tier if I am using AWS Fargate?
As ...
2
votes
1
answer
810
views
AWS CloudWatch metrics - are there convergence delays?
We are in the process of setting up aws cloudwatch exporter(https://github.com/prometheus/cloudwatch_exporter) to export cloudwatch metrics to our prometheus server. When reading through the ...
2
votes
1
answer
368
views
AWS cli filter not applied
I want to receive some values from an AWS SecurityGroup and am using the following command:
aws ec2 describe-security-groups --group-ids $GROUP \
--filters 'Name=ip-permission.from-port,Values=22 ...
2
votes
1
answer
424
views
How to track origin of a ghost process in ubuntu that is causing postgres to take 100% of CPU usage in Amazon EC2 container?
I am running PostgreSQL 10.10 (Ubuntu 10.10-0ubuntu0.18.04.1) on an AWS EC2 micro instance. Previously, I had allowed remote connections to postgres db from anywhere. After some days, I am seeing an ...
2
votes
2
answers
286
views
Using Lambda functions to create a REST API
We have a web app that is powered by an API made up of AWS Lambda functions. For the API, we have three environments (prod, staging, and demo). We were developing the functions using serverless-...
2
votes
2
answers
3k
views
Application Load Balancer with AWS Elastic Beanstalk - Target Group
I'm using an Application Load Balancer with AWS Elastic Beanstalk
After an AWS automatic server update, I was getting a 503 Service Temporarily Unavailable page. (only this, with near zero server ...
2
votes
1
answer
7k
views
What is the maximum bandwidth (upload and download) and number of connections for an s3 bucket?
I'm using s3 to feet multiple terabytes of data into a bioinformatics pipeline. I've got 20 nodes all in the same subnet copying a file from s3://mybucket.com, processing it, and uploading the results ...
2
votes
1
answer
1k
views
Can a EC2 in the private subnet sends traffic to the internet through ELB without using NAT gateway/instance?
I would like to build a test platform just like the picture. In order to make it simple, I want to let the private EC2 outbound the responses to the ELB, and through ELB the responses get to the users....
2
votes
1
answer
3k
views
Performance consideration for loading Images from S3 bucket
I am working on e-commerce website where users can upload images for the product that they want to sell on the website. The website is running on a windows/IIS server.
At the moment I am using ...
2
votes
3
answers
217
views
AWS Account: Can't log in due to email clash
I have been given an AWS account and the task to update the Billing and Account information, such as email and password.
Surely, I have done as required and updated the email address of the amazon ...
2
votes
1
answer
2k
views
AWS CloudFront - redirect root domain requests
First time poster on serverfault, apologies if this is in the wrong place. I have a website that I am trying to set up on AWS CloudFront. It is currently configured to serve static web content from S3,...
2
votes
1
answer
705
views
AWS Cloud Map Certificate
I really love AWS Cloud Map (Service Discovery in AWS). It integrates with the AWS DNS to make service discovery very simple. Just register an instance of a service and you can discover the service ...
2
votes
1
answer
2k
views
AWS Cloud watch Cronjob expression for monday to friday
I am using below cronjob expression in AWS Cloud watch for starting ec2 everyday,
15 3 * * ? *
can anyone please help me with cronjob expression for monday to friday for scheduling ec2
2
votes
1
answer
13k
views
AWS application load balancer 404
I'm following tutorial to create an application load balancer and the listener path is as follow:
LB -> path -> server1
or -> path -> server2
The problem:
I can get to server1 via the LB url ok ...
2
votes
1
answer
73
views
Is my route53 cluster domain set up properly?
I got this output with dig
dig NS markovic.mydomain.com.
; <<>> DiG 9.11.3-1ubuntu1.7-Ubuntu <<>> NS markovic.mydomain.com.
;; global options: +cmd
;; Got answer:
;; ->&...
2
votes
1
answer
5k
views
AWS RDS DB Connections 90+
I have a single db.m5.large RDS instance running in my aws setup. When I check for max connection from mysql console, with bellow query.
mysql> show variables like 'max_connections'; ...
2
votes
1
answer
1k
views
How to use Route53 NS output to set NS for Cloudflare subdomain using terraform?
I have created a Zone In AWS Route53 as following
resource "aws_route53_zone" "my-app" {
name = "${var.zone_name}"
}
data "aws_route53_zone" "selected" {
name = "appgggghello.com."
}
output "...
2
votes
1
answer
53
views
Autoscaling with Amazon ECS
I'll be working with ECS to deploy the containers (both API and Database) of each client. When creating a cluster, it asks me for an instance even though I've always heard about the possibility of ...
2
votes
1
answer
1k
views
AWS: Custom EC2 instance with an amount of RAM, which deviates from the official AWS EC2 instance offers
I need an EC2 instance with 4 CPUs and 2, at most 4 GB of RAM, which is not offered by AWS. So my question is: Is it somehow possible to create your own custom instance-type with CPU and RAM as per ...
2
votes
1
answer
287
views
AWS IPSec VPN Server
I've setup a EC2 instance within my VPC which I use to run a IPSec VPN server using libreswan. I'm able to connect to the VPN server from windows, but once I do so I'm unable to access other EC2 ...
2
votes
2
answers
661
views
Does cloud object versioning ignore objects with no changes?
I have a service that generates large data sets where only a few of the files actually change and the rest remain unchanged (but are still in the data folder). We need to keep each version of the data ...
2
votes
1
answer
4k
views
Why is my autoscaling group instance unhealthy?
I'm noticing a very strange issue with an AWS auto-scaling group.
Instances are being reported (incorrectly) as being unhealthy. The instances are then being terminated and replaced unnecessarily. ...
2
votes
1
answer
260
views
AWS Instances breeding and dying for no apparent reason
This has happened a couple of times since we moved our cluster project from Google to AWS.
We have an EFS volume that's mounted on a load-balanced cluster in a Beanstalk project.
I will be in the ...