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
2 answers
How to implement table security without SUPER privilege?
A MAJOR provider of cloud-based MySQL does not grant the SUPER privilege to the master user. The provider is Amazon RDS, but my question isn't about Amazon RDS specifically, it's for the general case of the database owner/administrator not having…

Alex R
- 1,063
- 3
- 14
- 29
3
votes
1 answer
Is it unusual for a database client to install the server's SSL certificate?
We use Amazon RDS for our databases at work. Recently we got an automated email from Amazon stating they'd be updating the SSL certificates and that if we didn't upgrade our database instances within X amount of time, they would cease to function.…

soapergem
- 719
- 4
- 13
- 29
3
votes
2 answers
Sync server China / Out of China
I am currently managing the backend server of an Android Application. We use DigitalOcean in Singapore, that we thought was a good location for China too. Unfortunately, testing the response time from within China gives > 6…

Andrea Olivato
- 53
- 7
3
votes
2 answers
Adding new user to AWS EC2 - Permission denied (publickey)
I am trying to set up a new user for my AWS EC2. I have followed step by step this tutorial but I get Permission denied (publickey) error.
I tried as well creating a newuser-key-pair.pem from AWS EC2 console and ssh -i newuser-key-pair.pem…

Arturo
- 423
- 3
- 6
- 20
3
votes
0 answers
Tuning Amazon Linux worker tier
I have a worker tier that is using PHP process control (pcntl) functions to send multiple requests to the SNS service in parallel. My question is how best to tune MPM_PREFORK directives to get the best out of the box and how to calculate the most…

Mike Miller
- 401
- 1
- 3
- 9
3
votes
2 answers
AWS Override VPC DHCP - Additional Option Sets for RRAS VPN Clients
I am trying to run a RRAS VPN server that pulls from a windows DHCP server running on the same box. I am finding that the AWS DHCP is getting hit first with the DHCP request and it provides invalid information to my clients. I need to get the DHCP…
user259840
3
votes
2 answers
How to reliably list ephemeral storage of an AWS instance?
How can I list the actual block-device name(s) of ephemeral storage available in my EC2 instance?
After some trials and errors, it appears that such devices are connected as /dev/xvdn (and /dev/xvdm if there are two) -- is there some way to reliably…

Mikhail T.
- 2,338
- 1
- 24
- 55
3
votes
2 answers
Auto-heal an EC2 instance with an Auto Scaling Group?
I'm trying to setup an auto-healing EC2 instance using an Auto Scaling Group and a user-data startup script. If the current server has an issue where it is no longer reachable, the instance should terminate and a new one take its place. This is easy…

James Simpson
- 1,651
- 2
- 15
- 31
3
votes
2 answers
Move static files from EC2 to S3 (or cloudfront) without updating links
Right now, I have a site entirely on an EC2 instance including all static files like css, js, and images. I'm wondering about the best way to handle moving them. For example, in my on a given html page I have this reference to a .js…

jonmrich
- 185
- 1
- 8
3
votes
1 answer
Does the AWS CLI mv command also do a copy-and-delete?
I am investigating renaming bundles in AWS S3. I would prefer to use the SDK, but it appears that the SDK only supports Copy and Delete. This because the object keys are used for partitoning the drive.
However, the AWS CLI does provide a mv…

LizH
- 241
- 1
- 11
3
votes
2 answers
Sharing Private AMI: Not showing up on other account
I am trying to share an AMI (runs Windows Server 2008 R2) from one AWS account to another. I used these instructions to share it from the Console. I shared it to the account ID found under Account Id in the Account Settings on the desired account to…

Jake
- 602
- 1
- 9
- 17
3
votes
1 answer
How can two AWS VPCs using the same Customer Gateway for a VPN connection
If there are two vendors with seperate VPCs connecting to a single customer gateway for a VPN connection, what are possible configuration options to allow this?
As it stands it seems that AWS only allows a customer gateway to be associated to one…

Max
- 157
- 2
- 7
3
votes
2 answers
AWS: Can we enable MFA for Command Line access?
I enabled MFA for a AWS user and it works, when the user sign in to AWS Console.
However, this user can also access all services via CLI (by access key and secret key), does that mean the CLI will always bypass the MFA, even it is enabled for this…

starchx
- 533
- 10
- 24
3
votes
3 answers
Connecting to multiple AWS VPCs via a single VPN connection
I'm looking at locking down an existing AWS setup. At the moment, everything is within a single default VPC (test, staging, production) and all within public subnets.
My plan is to seperate the 3 environments into 3 different VPCs, utilising public…

Stephen Melrose
- 5,905
- 5
- 25
- 22
3
votes
1 answer
How to get the Amazon Linux AMI version by AMI id?
I have an EC2 instance which runs an outdated Amazon Linux AMI (ami-5256b825).
To upgrade to the most recent version, I first want to know what the differences between 2 images are. I only have the AMI ID (like ami-6e7bd919) and not the version…

Bas Peeters
- 233
- 1
- 5
- 11