Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup a user with sysadmin rights on Amazon RDS

I started using Amazon RDS and I am trying to link two of my databases together but I don't have the appropriate permissions to do it. When I setup the database for the first time is only letting me setup a regular user without sysadmin rights. Is there anyway of getting sysadmin rights? Also, there is a user rdsa (with sysadmin rights) but I don't have access to it since is something that I guess amazon added to my RDS instance automatically on creation. Any thought on that?

Edit: I am running a MS SQL Server

like image 605
Geo Avatar asked Feb 19 '15 22:02

Geo


People also ask

What is master user in RDS?

Your AWS RDS instance is at risk if you haven't changed its default master username. It is an alphanumeric name that is used to acquire access to the database instance. When a Relational Database Service instance is first created, there is a need to provide a username, which is the master username.

Can I restrict the access of IAM users to specific Amazon RDS resources?

Use conditions in IAM policies to further restrict access – You can add a condition to your policies to limit access to actions and resources. For example, you can write a policy condition to specify that all requests must be sent using SSL.


1 Answers

Because RDS is a managed service they limit what you are able to do with it. According to the RDS documentation for MSSQL this includes the following restrictions:

The following server-level roles are not currently available in Amazon RDS:

bulkadmin

dbcreator

diskadmin

securityadmin

serveradmin

sysadmin

And also:

Amazon RDS currently does not support the following SQL Server features:

...

Replication

Even if they did support replication for MSSQL it would likely be limited to replicating with other RDS instances. With MySQL they only support replication between RDS instances, so if/when they support it with MSSQL it will likely have similar restrictions.

like image 102
Bruce P Avatar answered Oct 02 '22 23:10

Bruce P