amazon-rds

Static outgoing IP in Kubernetes

大憨熊 提交于 2019-11-27 05:32:40
问题 I run a k8s cluster in google cloud (GKE) and a MySQL server in aws (RDS). Pods need to connect to RDS which only allows connections from certain IP. How can I configure outgoing traffic to have a static IP? 回答1: I had the same problem to connect to a sftp server from a Pod. To solve this, first you need to create an external IP address: gcloud compute addresses create {{ EXT_ADDRESS_NAME }} --region {{ REGION }} Then, I suppose that your pod is assigned to your default-pool node cluster.

Amazon RDS running out of freeable memory. Should I be worried?

杀马特。学长 韩版系。学妹 提交于 2019-11-27 05:27:08
问题 I have an Amazon RDS instance. Freeable Memory has been declining since setup over 1-2 weeks, starting from 15GB of memory down to about 250MB. As it has dropped this low in the last days, it has started to resemble a sawtooth pattern where Freeable Memory drops to this range (250 - 350MB) and then goes back up agin to 500 - 600MB in a sawtooth pattern. There has not been any notable decline in application quality. However, I am worried that the DB will run out of memory and crash. Is there a

Connecting to Amazon RDS instance through EC2 instance using MySQL Workbench

与世无争的帅哥 提交于 2019-11-27 05:19:32
问题 In AWS I have a VPC set up with a Bastion Host. The bastion host is a single EC2 instance with a public address trough which you can SSH to any other server on the VPC. I have created an RDS MySQL instance within the VPC and I would like to connect to it using MySQL workbench. I have followed the steps detailed here, however in "Step 6: Setting up remote SSH Configuration", it asks me to "Provide the Public DNS of the Amazon EC2 instance" (i.e. the bastion host). MySQL workbench then does

LOAD DATA LOCAL INFILE fails - from php, to mysql (on Amazon rds)

非 Y 不嫁゛ 提交于 2019-11-27 02:23:41
问题 We're moving our database from being on the webserver to a separate server (from an Amazon EC2 webserver to an RDS instance.) We have a LOAD DATA INFILE that worked before that is going to need the LOCAL keyword added now that the database will be on a different machine to the webserver. Testing on my dev server, it turns out that it doesn't work: I can still LOAD DATA INFILE from php as I have been I can LOAD DATA LOCAL INFILE from mysql commandline (with --local_infile=1) I can't LOAD DATA

can AWS Lambda connect to RDS mySQL database and update the database?

妖精的绣舞 提交于 2019-11-26 22:33:37
问题 I am trying to connect AWS Lambda function to RDS mysql database. I just wanted to update the database from my lambda function. Is it possible to access RDS by specifiying IAM Role and access Policy?. I can connect to mysql databse using mysql client.but when i try on lambda i can't do that. here is my code. console.log('Loading function'); var doc = require('dynamodb-doc'); var dynamo = new doc.DynamoDB(); var mysql = require('mysql'); exports.handler = function(event, context) { //console

SSL connection error when connecting to RDS MySQL from Django

做~自己de王妃 提交于 2019-11-26 17:18:38
问题 I'm trying to deploy a Django app on Heroku with an RDS instance as the database backend. Everything is working until I try to encrypt the connection, then I get this error: OperationalError at /path/ (2026, 'SSL connection error') Here's the setup: Standard Django application MySQL RDS instance with security group allowing connections from all IP addresses MySQL user is setup to allow connections from any host Amazon's pem has been downloaded and is specified in Django settings On Heroku:

Using PHPMyAdmin to administer Amazon RDS

↘锁芯ラ 提交于 2019-11-26 15:27:49
问题 I can't get PHPMyAdmin to connect to my Amazon RDS instance. I've granted permissions for my IP address to the DB Security Group which has access to this database I'm trying to access. Here's what I'm working with... $cfg['Servers'][$i]['pmadb'] = $dbname; $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; $cfg['Servers'][$i]['relation'] = 'pma_relation'; $cfg['Servers'][$i]['table_info'] = 'pma_table_info'; $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; $cfg['Servers'][$i][