how to migrate AWS RDS MySql engine database to AWS serverless? - amazon-rds

I'm running a development db in aws rds MySql engine. I've lots of testing data in this. Now I want to use aws serverless db, but I also want to copy the data from old rds instance to the serverless without dump.
Can I do this like taking snapshot of old rds and restore to serverless db? I tried to do this but have no luck.
Can anyone guide me to the right direction please?

Creating a snapshot and restoring to a Serverless cluster should work. If it does not, can you please share snapshots or CLI examples?

Related

Database migration from AWS Aurora Serverless v1

We have a plan to create a new application, which won't have the same architecture of the current one, and will definitely have some differences in the tables' schemas. Our current application's database is running on a AWS Aurora Serverless v1 cluster, with MySQL 5.7. We need to migrate data from the old application to the new one, making some schema changes in some places.
One solution is to create dumps of the old tables, in an easily readable format like csv, then import the data in the new application, picking the data as needed. This will require writing bespoke code on both applications to export data from one and import it into the other.
Considering that we are in AWS, and we intend to keep using it, choosing Aurora as a database (we'll have to decide whether use a provided solution or go with Serverless v2), is there any service to export data from one Aurora Serverless v1 cluster to another Aurora cluster, making changes along the way?
I know that database snapshots exist, but that's not exacly our goal. We need to migrate data from one database to another, not creating another copy of the first one. I've seen that there is a service, called "AWS Database Migration Service", that's used to migrate data into RDS, but does this service suit our needs, to get data from one Aurora Serverless database, do some changes, and then put it into another RDS database of our choice?
You could use following options to accomplish your goal.
1.- AWS Database Migration Service, this service provide you capabilities to replicate your data and also perform some schema transformation during replication process. You can create selection and transformation rules, the service will execute those rules and apply changes to the target schemas. You could review more details on this link.
https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.Transformations.html
2.- AWS Glue Studio, it is ETL service that allows you extract, convert and transfer data between source and target databases.
What is AWS Glue Studio?
Automate ETL jobs between Amazon RDS for SQL Server and Azure Managed SQL using AWS Glue Studio

what is difference between aws database service vs database engine

am looking to compare the aurora DB and RDS DB in aws. I see that aurora can also use RDS behind the scenes.
I have worked in sybase and sql server in the past. For these difference is clear as they are two different products with their own SQL and admin consoles. I couldn't draw similar picture for aws databases.
The main difference is the deployment, escalation and managing tools that AWS (or GCP's Database) offers you. The engine (Aurora in your case) is the component that those services use to CRUD data from the Databases they manage.
Amazon Relational Database Service (RDS)
Google Cloud databases

Move a schema from one AWS RDS to another

I need to move schema and its objects from one AWS RDS to another AWS RDS db.
I have used AWS schema conversion tool (SCT) in the past.
Is there any other better way or what I am doing is the best.
Thank you,
AWS Database Migration Service (AWS DMS) will help you to migrate databases to AWS quickly and securely. The source database remains fully operational during the migration, minimizing downtime to applications that rely on the database. The AWS Database Migration Service can migrate your data to and from the most widely used commercial and open-source databases.
Here is the reference link which will help you to guide further for AWS DMS

Amazon web services, How to start

Started working with AWS, Have huge account of EXCEL data to be stored in AWS and need to access those data form AWS API's. Pleas help me where to start for this.
Not clear about the use case. can anyone explain me the difference between Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud (Amazon EC2), Amazon SimpleDB in simple words.
Please help me in how start from scratch.
Thanks,
In simple terms:
S3: File Storage
EC2: Virtual Servers (Linux or Windows)
Simple DB: A NoSQL database. Most people use the newer DynamoDB service these days.
You really aren't giving enough information for anyone to provide detailed help. You could store the data as files in S3, and possibly query it using Athena. You could store the files on a file system on an EC2 server and run any Windows or Linux program there to work with the files. You could store the data in a relational OLTP database using the RDS service. You could store the data in an OLAP database using Redshift. You could store the data in a NoSQL database using DynamoDB. If it is an extremely large amount of data you might want to look into using the Elastic Map Reduce service to process it.

Replicate Amazon RDS for non-LIVE support purpose

We have a web application which is hosted on EC2 (Apache in Ubuntu) with MySQL DB in RDS (Multi AZ). We are planning to go for another application instance which will primarily be used by our support team to analyse certain LIVE issues. In order to do this, we would like to have a copy of LIVE DB data in another instance, preferably in another RDS instance. Here is our approach:
Get the latest RDS snapshot
Create a new RDS instance, and copy the RDS snapshot into it
Set up the application configuration to point the DB to the new RDS instance created above
Could you please share your comments on whether this approach is fine, or is there a better approach?
By the way, I checked following stackoverflow questions:
How to copy a database using RDS
Amazon RDS replica
In both these questions, mysqldump is suggested. But in my case the DB size will be huge, and mysqldump might slow down the LIVE performance.
Take a look at AWS read replicas. See http://aws.amazon.com/rds/mysql/#Read_Replica

Resources