--- title: "Move a DBaaS instance to another project" description: "Move a MySQL, MariaDB, or PostgreSQL DBaaS instance, with every machine it runs on, to another project in the same MyAccount account." content_type: "how-to" product: "database" platform: "MyAccount" url: "/myaccount/database/how-to/move-a-database-to-another-project/" topic: ["lifecycle"] relationships: {"requires":["/myaccount/account/how-to/create-a-project/"]} --- # Move a DBaaS instance to another project If the application a DBaaS instance serves is in another project of the same account, you can move the instance into that project. Every machine it runs on moves with it, and so does a committed plan on those machines. Its region, plan, IP addresses, and data stay as they are, and the move does not restart it. ## Before you begin The account owner, or a user with the **Admin** or **Project Lead** role in the instance's project, can move a DBaaS instance; **Move To Another Project** in the **Actions** menu appears for them. See [Choose a role for a user](/myaccount/account/how-to/choose-a-role-for-a-user/). You also need a second project in the account to move the instance to. See [Create a project](/myaccount/account/how-to/create-a-project/). ## Get the DBaaS instance ready Before you move it, check the DBaaS instance against this list: - Its status is **Running** or **Stopped**. If it is **Creating**, **Deploying**, **Resuming**, or **Stopping**, wait until it reads **Running** or **Stopped**. An instance that is **Terminating** cannot move. - It has no VPC attached. See [Attach a VPC to a DBaaS instance](/myaccount/database/how-to/attach-a-vpc-to-a-database/#detach-a-vpc). - It has no parameter group attached. See [Attach a parameter group to a DBaaS instance](/myaccount/parameter-group/how-to/attach-a-parameter-group-to-a-database/#detach-a-parameter-group). To take the group along, follow [Move the parameter group too](#move-the-parameter-group-too). - It carries no tags. See [Tag a resource](/myaccount/account/how-to/tag-a-resource/#remove-a-tag). - None of the addresses on its **Whitelisted IP** tab carries a tag. See [Whitelist an IP address for a DBaaS instance](/myaccount/database/how-to/whitelist-an-ip-address/). ## Move the DBaaS instance 1. In the sidebar, under **Database**, click **DBaaS**. In the DBaaS instance's row, open **Actions** and click **Move To Another Project**. The item is only on the DBaaS list, not in the **More Actions** menu on the DBaaS instance's own page. If the DBaaS instance cannot move yet, MyAccount lists which condition in [Get the DBaaS instance ready](#get-the-dbaas-instance-ready) blocks it. 2. **Move Dbaas to Another Project** opens. Choose the target project in **Select Project**. You can pick any project except the one the instance is in now. 3. Turn on the checkbox that names the DBaaS instance and the target project, so that **Transfer** becomes available. 4. Click **Transfer** to move the DBaaS instance. When the message **Resource is transferred successfully.** appears, the DBaaS instance is in the target project, and the DBaaS list reloads without it. If MyAccount refuses the move, the instance stays in its project; look the reason up in [Troubleshooting DBaaS](/myaccount/database/troubleshooting/database/#a-dbaas-move-is-refused-because-of-its-status). To work with the instance in its new project, choose that project from the project list in the header; see [Create a project](/myaccount/account/how-to/create-a-project/#switch-to-the-project). Both projects' audit logs record the move; see [Read the audit log](/myaccount/account/how-to/read-the-audit-log/). ## Move the parameter group too A DBaaS instance and its parameter group move one at a time. To keep using the same group in the new project: 1. Detach the parameter group from the DBaaS instance. 2. Follow [Move the DBaaS instance](#move-the-dbaas-instance) to move the instance to the new project. 3. Move the parameter group. See [Move a parameter group to another project](/myaccount/parameter-group/how-to/move-a-parameter-group-to-another-project/). 4. Switch to the new project and attach the group to the DBaaS instance again. See [Attach a parameter group to a DBaaS instance](/myaccount/parameter-group/how-to/attach-a-parameter-group-to-a-database/). The DBaaS instance and its parameter group are now both in the new project, with the group attached to the instance again.