amazon-rds-aurora

Launching AWS aurora MySQL RDS global cluster with TERRAFORM

为君一笑 提交于 2020-01-25 10:40:48
问题 Following the documentation here https://www.terraform.io/docs/providers/aws/r/rds_global_cluster.html launching a global RDS gobal cluster which involves having a primary cluster in one region and a secondary cluster in another region will require launching resources in 2 different regions but there is no explanation of how this will work in the documentation How am i suppose to run terraform apply on the definitions to launch the global cluster since this requires 2 regions? Has anyone

Debezium Connector for RDS Aurora

谁都会走 提交于 2020-01-24 20:57:30
问题 I'm trying to use debezium with rds/aurora/ and I'm thinking which connector to use MySQL connector or there is another connector for Aurora? Also, how can i connect debezium connector(localhost) to remote aws aurora db? Also, is someone using debezium with aurora to share some info. Also, how can i configure debezium to write into different kafka topics the different tables which we are monitoring? Regards 回答1: While creating AWS Aurora instance you must have chosen between Amazon Aurora

Sync data from Amazon Aurora to Redshift

寵の児 提交于 2019-12-23 17:31:57
问题 I am trying to setup a sync between AWS Aurora and Redshift. What is the best way to achieve this sync? Possible ways to sync can be: - Query table to find changes in a table(since I am only doing inserts, updates don't matter), export these changes to a flat file in S3 bucket and use Redshift copy command to insert into Redshift. Use python publisher and Boto3 to publish changes into a Kinesis stream and then consume this stream in Firehose from where I can copy directly into Redshift. Use

aws aurora rds (mysql) in a cluster cannot insert emoji

大兔子大兔子 提交于 2019-12-23 13:06:41
问题 I am using an aurora rds (mysql) in a cluster and cannot insert emoji's. The column which I am trying to insert into has the collation: utf8mb4 - utf8mb4_unicode_ci I have tried inserting using client and also from mysql workbench writing the query but in both cases I just see ???? in the field. I have updated the table default character set: utf8mb4 and default collation: utf8mb4_unicode_ci But still getting ??? instead of emoji Edit 1: I've tried to edit the parameter group of the cluster

Not able connect Amazon Aurora Serverless from SQL client

喜夏-厌秋 提交于 2019-12-23 12:42:49
问题 Today I've created Amazon Aurora Serverless cluster for PostGreSql in us-west-2, ensured the VPC and security groups in a way that, it should be publicly accessibly. But I'm not able to connect that cluster using the aurora endpoint from my Navicat/PgAdmin4 desktop client. Then I tried from the EC2 instance that are in same security group/vpc as like as Aurora Serverless, then it worked. From AWS froum, You can't give an Aurora Serverless DB cluster a public IP address. You can access an

how to handle ever-changing password in sqlalchemy+psycopg2?

我只是一个虾纸丫 提交于 2019-12-22 11:35:14
问题 I inherited some code that uses sqlalchemy with psycopg2, which needs to run on AWS. RDS Postgres supports iam-based authentication, but the way it does it is rather kludgy: you request a temporary password using the AWS RDS API, which is good for about 15 minutes, and you pass that as the password. The code I have effectively does e = create_engine(make_sqlalchemy_string()) , where make_sqlalchemy_string() makes an aws api call, gets the temporary password, and everything is good for a while

Two SQL statements should return the same results, but they don't (on AWS Aurora DB)

自作多情 提交于 2019-12-13 03:14:52
问题 This is the table definition for GpsPosition : CREATE TABLE GpsPosition ( altitudeInMeters SMALLINT NOT NULL, dateCreated BIGINT NOT NULL, dateRegistered BIGINT NOT NULL, deviceId BINARY(16) NOT NULL, emergencyId BINARY(16) NULL, gpsFix SMALLINT NOT NULL, heading SMALLINT NOT NULL, horizontalUncertaintyInMeters SMALLINT NOT NULL, id BINARY(16) NOT NULL, latestForDevice BOOLEAN NOT NULL, latestForUser BOOLEAN NOT NULL, latitude DOUBLE PRECISION NOT NULL, longitude DOUBLE PRECISION NOT NULL,

Driver for .Net Application using NHibernate to support failover functionality of AWS Aurora

风格不统一 提交于 2019-12-13 00:22:26
问题 I am migrating my Database from MSSQL to Aurora(MYSQL). The application is using .net and NHibernate. We tried the Nhibernate driver for MYSQL "MySql.Data" and it works fine for all use cases but failover. When a failover happens, the connection is not reset and it keeps trying to connect to the old IP from the writer cluster and so all the write call fails with the exception "The MySQL server is running with the --read-- only option so it cannot execute this statement". This only gets

Defining Tables, Views, and Indexes in AWS CloudFormation

做~自己de王妃 提交于 2019-12-12 13:13:28
问题 In AWS CloudFormation, you can define a stack of services with a JSON/YAML template. In particular, I am using Redshift and Aurora clusters. The template allows you to define administrative properties of the cluster, but there doesn't seem to be a clear way to define tables, views, and indexes in the cluster such that when I push updates of stack, the DB's automatically update the schema as needed, similar to the way it manages updates to full stacks. Is there a way to manage the schema of

What are hidden costs or “NOT obvious” costs on AWS

烈酒焚心 提交于 2019-12-12 04:15:12
问题 AWS says that everything is "pay as you use". But are there any hidden costs or "NOT obvious" costs on AWS ? 回答1: Costs which generally are ignored by people and can give shock: It is recommended that we deploy our application in Multi AZ for High availability. We assume that data transfer between these servers will be free as this is like intranet; but that is not true. There are charges ( around 10% of internet bandwidth charges ) for data transfer across AZ in same region. Data transfer