Skip to main content

All Questions

Tagged with
0 votes
0 answers
49 views

Can you exceed 1 gigabit from an EC2 instance to an AWS Aurora MySQL instance?

I'm importing a terabyte of data into an AWS Aurora MySQL table from an EC2 instance. Because our service will be down while migrating prod, I care a lot about the import speed. Currently I can't ...
Seth's user avatar
  • 171
0 votes
1 answer
63 views

EC2 instance not found from Management Console

I'd like to set up a very basic EC2 instance, connect it to a MySQL RDS database, and install Wordpress. I'm currently using this guide, and I've created both an EC2 instance and an RDS instance. ...
Aparna Maddala's user avatar
2 votes
1 answer
38 views

Managing AWS EC2 and RDS autoscalling configuraiton

A client of ours generally can get away with running just the one EC2 and also has an Aurora serverless MySQL 5.7 database running, however there are times when their load spikes up significantly. e.g....
Seamus Lee's user avatar
0 votes
1 answer
129 views

EC2 Instance connection to an RDS instance accessible only via VPN

I have a Laravel application (API) that I am trying to move to AWS, however, the DB sits privately in AWS and is only accessible to me through a VPN. The database is an RDS instance. How can I provide ...
chewie's user avatar
  • 105
9 votes
1 answer
12k views

AWS: What is the difference between Burst Balance and EBS IO Balance metrics?

AWS Docs describe Burst Balance and EEBS IO Balance in the following way: BurstBalance The percent of General Purpose SSD (gp2) burst-bucket I/O credits available. EBSIOBalance% The percentage of I/O ...
Zillo's user avatar
  • 101
0 votes
0 answers
50 views

What exactly does the AWS Pay For What You Use policy mean?

Well, I was fed up with the absurd host prices here in Brazil when I got to know AWS and the pay-as-you-go policy. I recently started a course for the solution architect certification (SAA2), that's ...
Samuel Ives's user avatar
1 vote
1 answer
988 views

Are managed databases (e.g. Amazon RDS) slower to access than database in the same machine (EC2) as web server

Imagine two cases: I have web server running in an EC2 instance and it is connected to the database in the RDS, the managed database service. I have web server and database running in the same EC2 ...
abcDE's user avatar
  • 11
-1 votes
1 answer
804 views

How to diagnose cross account EC2/RDS connection with vpc flow logs in AWS?

In AWS, made 2 accounts. account 1: A | Deployed EC2 account 2: B | Deployed RDS Want to connect from account 1's EC2 to account 2's RDS, but doesn't work. So enabled VPC flow logs to diagnose where ...
Miantian's user avatar
  • 137
2 votes
1 answer
4k views

How to connect RDS from a different account with allowed IP in AWS?

I have an EC2 instance in AWS account A. Its Private IPv4 addresses is 10.111.12.23. I allowed it in a RDS security group rules in account B, to make Type CIDR/IP - Inbound's Rule 10.111.12.23/32. ...
Miantian's user avatar
  • 137
0 votes
0 answers
222 views

AWS RDS - Bottleneck

Working with AWS RDS for a couple of days right now, and i am a little underwhelmed by the time it takes to connect to the AWS RDS i did setup. My AWS RDS Server is a db.r5.large, in the same region ...
Tyralcori's user avatar
  • 125
0 votes
1 answer
252 views

My RDS instance is getting flooded by my EC2 instance, but my EC2 instance is running smoothly

I have a rather complicated setup in my AWS console. I have an EC2 instance in region A with LAMP installed for what I will call my CRM. I have an RDS in the same region A for my CRM that contains ...
Jonathan's user avatar
  • 111
0 votes
1 answer
520 views

AWS (EC2 and RDS) Cross Region Performance Issue

I have the RDS server at Japan and two EC2 instances, one in the EU and the second in Japan. I am running one application on the Japan EC2 instance which connects to the RDS (Japan). In this ...
Kalpesh Rajai's user avatar
1 vote
2 answers
1k views

Security of SQL DB on aws RDS instance having access from any IP address

We have sql db on RDS instance on aws. There is web application hosted on EC2 that has access to sql db. We also access this db from our office. Since we do not have our own static ip for our office, ...
shravan bardwa's user avatar
0 votes
2 answers
88 views

Elastic Beanstalk - WordPress and Laravel using common RDS instance, is this ok?

I'm working on a project that utilizes WordPress' admin front end to manage data, and a Laravel API that accesses the WP database (via Corcel) to return JSON/HTML/whatever. I'd like to run these as ...
Adam Crampton's user avatar
0 votes
1 answer
1k views

AWS EC2 Amazon Linux instance can't connect to RDS instance. but ubuntu instance can

I have a newly created Linux Amazon Linux EC2 instance and an Ubuntu instance. And both instances try to connect to the same RDS. The settings of both instances are exactly the same. Security groups ...
blurfx's user avatar
  • 103
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 ...
molokoV's user avatar
  • 101
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? ...
Saint Robson's user avatar
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 ...
gtovar's user avatar
  • 111
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=*** ...
thitami's user avatar
  • 113
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 ...
Ramratan Gupta's user avatar
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 ...
Kim Stacks's user avatar
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. ...
MikeVelazco's user avatar
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 ...
Marcus Ilgner's user avatar
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' +---------...
Phil's user avatar
  • 143
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 ...
Theodore's user avatar
  • 133
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 ...
Cerin's user avatar
  • 3,680
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 ...
SkyeBoniwell's user avatar
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 ...
ma11hew28's user avatar
  • 799
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 ...
Farmi's user avatar
  • 379
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, ...
biplob's user avatar
  • 121

15 30 50 per page