Migration from AWS Aurora to AWS Aurora - database-migration

We were planning to migrate from local Oracle database to AWS Aurora(Posgres) in my customer's AWS account with AWS DMS, but my customer told us they don't know whether AWS DMS is allowed to use or not in their AWS account(due to their company rule).
So, we are planning to do follow action in case of AWS DMS is impossible.
First: Migrate from local Oracle database to AWS Aurora(Posgres) in our AWS account with AWS DMS.
Second: Migrate from AWS Aurora(Posgres) in our AWS account to AWS Aurora(Posgres) in my customer's AWS account.
I tried searching how to migrate, but could't find the answer.
Does anyone know the idea?

Your architecture works.
I believe that you won't have any problem with the first step.
But for the second one, you have the following options:
If your AWS account can connect to your customer AWS Aurora, you can use DMS in your account to migrate your database.
If your AWS account can't connect to your customer AWS Aurora, you can create a dump file, send it to your customer and restore the dump in their account.

Related

Does GCP have an equivalent of AWS's custom Glue connector for Snowflake access?

We've got some data in Snowflake that we'd like to pull into our GCP environment, on a periodic basis. One of our engineers has done the equivalent setup on AWS on a previous project, using the documentation here. I find this setup to be a lot simpler than setting up a push data flow, which requires creating an integration and service account from the Snowflake side, then granting the service account some IAM permissions in GCP.
Can anyone tell me if GCP offers a similar pull-based connector API/setup for Snowflake?

using aws credentials manager for aws rds database

I have a general question for the rds feature within aws credentials manager. When I get the secret, it looks like this:
Does this mean that these credentials directly will work or is the password encrypted? Like if I wanted to sign into my database with a connection what credentials do I use and do these credentials auto rotate with the cycling feature?
I assume you mean the RDSDataClient to access a database such as a Serverless Amazon Aurora instance.
To successfully connect to the database using the RdsDataClient object, you must setup an AWS Secrets Manager secret that is used for authentication. For information, see Rotate Amazon RDS database credentials automatically with AWS Secrets Manager.
To see an AWS tutorial that shows this concept and the corresponding code, see this example that uses the AWS SDK for Kotlin. You will need these values to make a successful connection:
private val secretArnVal = "<Enter the secret manager ARN>"
private val resourceArnVal = "<Enter the database ARN>" ;
See the full example here:
Creating the Serverless Amazon Aurora item tracker application using the Kotlin RdsDataClient API
I just tested this again (been a while since it was developed), and it works perfectly.
We will port this example to use other supported programming languages too - like AWS SDK for Java.
UPDATE
You only need to use Secret Manager when using the RDSDataClient. As mentioned in that tutorial, the RdsDataClient object is only supported for an Aurora Serverless DB cluster or an Aurora PostgreSQL. If you are using MySQL RDS, you cannot use the the RdsDataClient object. You would use a supported JDBC API.

Can we use source database endpoints which are hosted on other servers than AWS server for using AWS DMS?

Can we use source database endpoints which are hosted on other servers than AWS server for using AWS DMS? If yes, can you help me by sharing any tutorials.
I have seen this image in AWS official documentation.
Thankyou!
Yes, you can use DMS to migrate an on-prem (or diff cloud) db to AWS and vice versa.
In same documentation from where you take snapshot for e.g you have part "Migrating an On-Premises Oracle Database to Amazon Aurora MySQL".
If you check your screenshoot you can notice "The source or target database must be on an AWS service"
You have a very nice explanation in this blog article:
https://medium.com/workfall/how-to-do-database-migration-using-aws-database-migration-service-dms-from-on-premise-ec2-to-rds-d46b9144d3cc

Create AWS QuickSight resources with AWS CLI command

I am trying to create a script that will provision QuickSight account and will configure the following parameters:
Subscription type
SPICE Capacity
VPC connection
QuickSight access to AWS services
From the AWS CLI QuickSight documentation I couldn't find a way to create the account, choose subscription type and change SPICE Capacity.
What am I missing?
I believe you are looking for the 'register user' command from the CLI.
https://docs.aws.amazon.com/cli/latest/reference/quicksight/register-user.html

How to migrate AWS Elasticsearch to Azure Elasticsearch?

Is there any procedure or documentation supported by Microsoft in order to migrate AWS Elasticsearch to Azure Elasticsearch? Do anyone knows the process to do so?
I don't know any information by Microsoft about it, but our AWS Elasticsearch Service supports manual snapshots, that you can store on S3 and can then use to restore a cluster elsewhere.
The people from Alibaba Cloud have a step-by-step post of how to migrate from AWS to their cloud, so you can take that as a starting point.