简体   繁体   中英

Export an AWS Aurora Serverless MySQL database with mysqldump

Is it possible to export an AWS Aurora Serverless MySQL database with mysqldump without using an EC2 instance?

At this time you cannot gain public access to Aurora, or use a site to site VPN connection to connect to it.

Whichever resource you use will need to reside within the VPC of the Aurora Serverless cluster. Possible solutions to bypass the requirement for EC2 would be either running a Fargate container to run your command or looking at Lambda to execute the command.

I finally decided to emulate mysqldump using Python and the AWS Data API .

To emulate mysqldump , I followed:

How can I dump a MySQL database without using mysqldump in Python

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM