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
35
votes
5 answers
AWS CloudFormation - Custom variables in templates
Is there any way to define shortcuts for often-used values derived from CloudFormation template parameters?
For example - I've got a script that creates a Multi-AZ Project stack with ELB name project and two instances behind the ELB called project-1…

MLu
- 24,849
- 5
- 59
- 86
35
votes
4 answers
Where does Amazon publish the range of IP addresses used for EC2 instances by region?
How can I keep updated of changes to the range of IP addresses that Amazon will use for EC2 instances. I want to add a range of IPs to my firewall settings to allow access to my 'ground based' mysql database from instances started by my autoscale…

undefined
- 654
- 2
- 8
- 18
34
votes
8 answers
Why do IOPS matter?
I understand what IOPS and throughput are. Throughput measures data flow as MB/s and IOPS says how many I/O operations are happening per second.
What I don't understand is why many storage services just show the IOPS they provide. I really can't see…

mFeinstein
- 513
- 2
- 5
- 10
34
votes
2 answers
No Cache-Control Header for files from AWS CloudFront with S3 Origin
We just migrated to Amazon AWS. We currently have an EC2 instance that's working well. It's running Nginx in front and Apache in the back-end. That's running well also. All sites are launched properly and includes the Cache-Control header for files…

jarvis
- 2,006
- 4
- 18
- 31
34
votes
3 answers
EBS vs SSD definition
I am confused about the EBS and SSD choice while creating an instance .
while choosing instance parameters (Step 2) you will see 2 options in the column Instance Storage (GB) : EBS only or SSD .
I dont know why this option is there because SSD…

Momo
- 553
- 1
- 5
- 10
34
votes
3 answers
Static IP address for outgoing traffic from AWS autoscaling group
I'm going to have a number of EC2 instances in an Elastic Beanstalk autoscaling group in a default subnet in a VPC. The app on these EC2 instances needs to connect to a third party service who uses an IP address whitelist to allow access. So I need…

davidwebster48
- 453
- 1
- 4
- 7
34
votes
6 answers
Can you require MFA for AWS IAM accounts?
Is it possible to require Multi-factor Authentication (MFA) be enabled for specific/all IAM accounts in Amazon Web Services?
There are options for password requirements and it's clear how one can choose to add it to one's account, but it's not…

Joe
- 853
- 1
- 7
- 20
33
votes
4 answers
Assigning a domain name to an AWS Fargate task
I have an AWS Fargate task running a web app in a public subnet so it has a public address. My question is how to I connect a domain (through Route 53) to that task, so that nothing breaks when I deploy a new version of it.
I know I can use ALB/NLB…

Leo
- 435
- 1
- 4
- 7
33
votes
2 answers
Elastic file system (EFS) mount outside of AWS
I have a server that is outside of AWS. I'd like to be able to mount an EFS volume to it, but I am not sure if that is possible.
Perhaps if you create a VPC, and you create a tunnel over VPN?
Does anybody know if this is possible?

Adam
- 441
- 1
- 4
- 9
33
votes
3 answers
Cannot mount an existing EBS on AWS
I tried mounting an existing EBS Storage (which has data) to an instance, but it keeps throwing this error.
mount: wrong fs type, bad option, bad superblock on /dev/xvdf,
missing codepage or helper program, or other error
In some…

Sai
- 333
- 1
- 3
- 4
33
votes
3 answers
How can I reuse existing resources in CloudFormation?
I have an S3 bucket as a resource in my CloudFormation template, with DeletionPolicy set to Retain. This works as expected: when deleting the stack, it does indeed retain the bucket. However, when I attempt to create the stack again, creation fails…

vartec
- 6,217
- 2
- 33
- 49
32
votes
1 answer
Why is the year in this ISO timestamp not 2019?
For a simple app I'm using to test a devops pipeline I'm outputting the start time of a build to the homepage. On my development machine the year of the ISO-8601 timestamp I expect, 2019, is printed (specifically, "2019-09-12T20:11:00.000Z"). When…

trycrmr
- 443
- 5
- 8
32
votes
1 answer
Should I append a dot (.) at the end of my DNS urls?
I've noticed that AWS's DNS service (Route53) appends a dot (.) at the end of every DNS URL:
ns-xxx.awsdns-yy.co.uk.
ns-xxx.awsdns-yy.net.
ns-xxx.awsdns-yy.org.
ns-xxx.awsdns-yy.com.
Question: Is this a bug, or should I include the . in my DNS…

Vingtoft
- 1,547
- 3
- 15
- 17
32
votes
3 answers
Why can't I create a superuser in AWS Postgresql instance?
I have an AWS EC2 instance connecting to an RDS instance (Postgresql). When I created the RDS instance, I told it the DB root's username was: my_user1 and the password was password1. Now I'm attempting to create a role and a super-user. But it…

Saqib Ali
- 559
- 1
- 9
- 18
32
votes
1 answer
update-rc.d on Amazon Linux
I am fairly new to system administration and I am simply trying to make sure nginx runs at startup on my Amazon EC2 instance (running Amazon linux)
I have placed the script in /etc/init.d, but it seems that Amazon linux does not come with the…

Andrew Guenther
- 447
- 1
- 4
- 8