All Questions
Tagged with amazon-ec2 amazon-rds
120
questions
0
votes
1
answer
341
views
Doubts on moving RDS instance from EC2-Classic to VPC
I'm using Oracle RDS in the classic configuration pre-VPC era.
I have created rules on the RDS security group to allow EC2 public IPs from VPC instances to access the DB.
I have used all the 20 ...
0
votes
1
answer
67
views
Amazon EC2 (Tokyo) Can't Access Amazon RDS (Frankfurt)
I have EC2 instance in Tokyo :
and I also have RDS instance in Frankfurt :
EC2's IP address already listed in RDS security groups :
But why EC2 Tokyo still unable to connect to RDS Frankfurt?
...
1
vote
1
answer
44
views
Copy and launch EC2 and RDS in another account
I need to copy and launch an EC2 instance in another account but the instance is using an RDS instance.
I know I can make an image snapshot of the EC2 and the RDS and then launch them on the other ...
1
vote
2
answers
2k
views
Bash script in EC2 fails due to permissions
I am not quite experienced with EC2 and want to setup a cron job to create a dump of my RDS's database and copy it into my S3 bucket.
#!/bin/bash
AWS_ACCESS_KEY_ID=***
AWS_SECRET_ACCESS_KEY=***
...
1
vote
2
answers
1k
views
If I purchase AWS reserve instance in mid of month, will it cost for full month? [closed]
If I purchase AWS reserve instance (EC2 and / or RDS) in mid of month, will it cost for full month or it will be on pro rata basis ?
I have searched on there docs I was not able to find, may be I ...
0
votes
1
answer
471
views
How to have segregated database for clients while maintaining control over code?
I have a SAAS application hosted on AWS EC2 and RDS. we use django and Postgres for the stack
What we did was we had the public schema holding the tenant info but the tenant specific data are held in ...
0
votes
0
answers
154
views
AWS- Best way to control dates on distribuited systems?
I have a system that initially didn't need to control so tight the dates and times (it only worked in a single timezone), but as a requirement now we need to use multiple timezones on this system.
...
2
votes
1
answer
5k
views
AWS EC2, Apache, PHP: php_network_getaddresses: getaddrinfo failed
Running PHP 5.6 on an EC2 instance with Apache 2.4.18, I'm occasionally seeing errors in the log when trying to connect to an RDS database:
PDO::__construct(): php_network_getaddresses: getaddrinfo ...
3
votes
1
answer
4k
views
Improving connection to amazon RDS from EC2
Connecting to a local database on the same EC2 instance has a low latency, but to RDS things get really high. See results below.
time mysql -u root -proot -h localhost -e 'show databases'
+---------...
3
votes
2
answers
12k
views
Connecting to an RDS from an EC2 on the same VPC
I have an RDS instance running on one subnet without NAT, and an EC2 instance running on another subnet with an Internet Gateway configured, both located in the same VPC. I have configured the RDS ...
3
votes
1
answer
3k
views
Diagnosing low disk space error from PostgreSQL despite low disk usage
I have a Django web application using a PostgreSQL 9.3 database, which occassionally throws the error:
File "/usr/local/my_site/.env/lib/python2.7/site-packages/django/db/utils.py", line 94, in ...
0
votes
0
answers
47
views
recommended method of configuring access between ec2 and rds instances
I have created an AWS ec2 instance to operate as a basic webserver.
I also setup an rds instance for a simple database.
How does one make sure that the ec2 instance can connect to the proper ...
1
vote
1
answer
298
views
Amazon RDS: Why is Security Groups listed twice?
Via the AWS Management Console:
I created an Elastic Beanstalk app configured with RDS.
When I look at my Amazon RDS PostgreSQL DB instance details, I see Security Groups listed twice, with two ...
0
votes
2
answers
566
views
AWS security group for newly launched instances
In AWS, our auto scaling group is launching new instances in different availability zones (for high availability) and these web instances of course require access to database (RDS) service on port ...
2
votes
1
answer
2k
views
MySQL connection on Amazon RDS t2.small performing very slow
I'm very new to AWS. I've created a new RDS instance t2.small by following the previous one. I've selected all options as similar with the previous one. But the new instance is performing very slow, ...