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.
Questions tagged [amazon-web-services]
8595 questions
3
votes
1 answer
How do I attach, format and mount a volume on boot in ecs?
I want my persistence (ebs) volume to be separate from my auto-scaling group launch configuration. So that it won't be accidentally auto deleted by terraform, or something. Also I may do something like /mnt/taskname so that I have a different…

xenoterracide
- 1,496
- 2
- 13
- 26
3
votes
2 answers
I cannot attach volume to running EC2 instance
The following error is displayed when I am trying to attach EBS volume to running EC2 instance which is part of a Kubernetes cluster:
Error attaching volume: Invalid value '/dev/sdf' for unixDevice. Attachment point /dev/sdf is already in use
This…

ibedelovski
- 513
- 4
- 9
- 20
3
votes
3 answers
Sysbench on same level CPU, why Google VM is much faster than AWS ec2?
sysbench --test=cpu --cpu-max-prime=20000 run
Google VM:
standard 1 cpu(asia-east1), E5 v2 2.5G,
execution time: ~28 seconds
standard 2 cpu(asia-east1), E5 v2 2.5G,
execution time: ~28 seconds
AWS ec2:
m3.medium, E5 v2 2.5G,
execution time: ~59…

Elect2
- 176
- 7
3
votes
2 answers
Very slow AWS EC2 machine after replacing its root volume
I have a production machine (c4.2xlarge) that works fine.
But, when I do the following:
Take a snapshot of root volume while the machine is running (I know,
it is recommended not to do so, but this works fine for me)
Create a volume from the…

Alphaaa
- 117
- 1
- 1
- 8
3
votes
1 answer
NAT gateway high availability - AWS
Would you configure a NAT gateway on every AZ for HA? Is that an overkill? It costs more than $500 a year of continuous running. It does make sense for a business critical system. You could create 2 NAT gateways on 2 AZs and have the third one use…

sethu
- 131
- 1
- 3
3
votes
3 answers
How to copy a Windows program to another Windows machine?
I'm interested to know how likely it is that the following steps will result in the application running on my new machine will mirror the application on my production machine.
Background: I have Windows application running in a Windows 2008 R2 VM in…

user409449
- 41
- 1
3
votes
2 answers
Migrating from AWS EBS to Co-Lo hosted SAN/NAS
My company has reached that tipping point where what we are spending on EBS storage warrants a serious look at moving our storage to a SAN/NAS in a Co-Lo location connected with AWS Direct Connect.
Pricing Co-Lo and Connectivity in this regard is…

Garreth McDaid
- 3,449
- 1
- 27
- 42
3
votes
1 answer
AWS Cost for Uploading to S3 and immediately transitioning to glacier
I have a client uploading multiple TB of data to Glacier. They did a snowball that got 65 TB of data, and they are going to do the remaining ~25 via upload. Currently they are uploading directly to Glacier with FastGlacier, but that tool is running…

Michael Lubert
- 33
- 1
- 5
3
votes
2 answers
How to execute aws ec2 describe-instances for different account
Assuming we have two AWS acounts: Account-A, Account-B and an ec2 instance running on AccountA.
aws ec2 describe-instances works as expected for the instance's own account without an ~/.aws/credentials file with an instance role.
My goal is to run…

Lightbeard
- 239
- 1
- 5
- 12
3
votes
1 answer
Forwarding traffic from AWS ELB to another ELB
I have 2 VPCs (X and Y). We have a vpc peering connection between the two. In VPC X, we have a CNAME that needs to resolve to an ELB in VPC Y. Is there any way to make an ELB in VPC X forward traffic to an ELB in VPC Y?
I know this configuration is…

jamesatha
- 133
- 5
3
votes
1 answer
How do I expose my Kubernetes-hosted services on AWS to the world?
I have a Kubernetes cluster on AWS that installed using kops (public topology). One of my deployments is a web server that I'd like to expose via CloudFront, and the other is an API server that I'd like to expose via ALB.
In both cases, that would…

Isvara
- 215
- 2
- 13
3
votes
2 answers
Prevent AWS ELB from setting x-forwarded-proto
I have the following setup:
Public facing ELB, sends request to ->
Nginx instance, sends request to ->
internal ELB, sends request to ->
node server
I'm trying to switch to Application ELBs because of its advantages over classic ELBs, but it only…

Seán Hayes
- 153
- 1
- 9
3
votes
1 answer
AWS EC2 Storage Gateway - KMS
I have deployed a EC2 Storage Gateway (Volume Storage mode) and encrypted all the EBS volumes using AWS KMS keys, all good so far.
What I didn't expect was that once you create the volume it hides the backend S3 bucket so you can't assingn a KMS…

ServerMonkey
- 257
- 4
- 13
3
votes
1 answer
Can you setup LDAP / AD Authenticaton to a Postgres DB on AWS RDS
AWS does not allow you to modify the pg_hba.conf file which is unfortunate to say the least. Does anyone know of a way that we can setup external user authentication for a RDS Postgres instance?
The driving factor of this is compliance due to the…

CogitoErgoSum
- 522
- 5
- 13
3
votes
1 answer
AWS DNS resolution only resolves internal IP one way?
I have three instances in two separate VPCs. I've set up peering between the VPCs, both VPCs have DNS Resolution and DNS Hostnames enabled, the peering connection has "Allow DNS resolution from peer VPC [...]" enabled, and the routing tables for…

Doktor J
- 1,107
- 1
- 10
- 20