Skip to main content

How To Connect To Amazon RDS SQL Server Database Instance Using SQL Server Management Studio

Amazon RDS is a wonderful tool for creating databases in AWS. If you use Microsoft's SQL Server Database, you might be wondering how you can manage your database while using Amazon RDS SQL Server instances. The answer is, the same way you always have - by using SQL Server Management Studio. In fact, managing your Amazon RDS SQL Server database instance using SQL Server Management Studio is SUPER easy! Let me show you how.

I am going to assume that you already have SQL Server Management Studio installed on your machine and running.
  1. Open SQL Server Management Studio.
  2. Click on Connect in the upper right hand corner of the Object Explorer.
  3. Click on Database Engine.

  4. You will be presented with the following screen

    .
  5. If you are using Windows Authentication in Amazon RDS, then you will switch to that Authentication method. If you are not, then select SQL Server Authentication. In this case, my Amazon RDS SQL Server instance is set to use SQL Server Authentication.

    .
  6. Now, go over & log into your Amazon Console.
  7. Open Amazon RDS and find your instance. I am going to assume you know how to do this already. 
  8. Once you locate your instance, you are going to click on the instance name and scroll down to the Details area.
  9. Once in the Details area, you are going to select and copy the endpoint. This is the server name that SQL Server Management Studio will be looking for.
  10. Once you have copied that, go back over to SQL Server Management Studio and paste that endpoint into the Server name: textbox.
  11. You will now need to enter the User name:, which is displayed in the Username field of the Amazon RDS Details area.
  12. You will now need to enter your password, which is not displayed in Details. This password was added when you first created the instance.
  13. Once you enter the correct username and password, click Connect.
You should now see the familiar database structure in the Object Explorer and you can begin to manage this instance just like you do any local SQL Server database or remote SQL Server database you usually connect to. Amazon maintains a guide to their relational database systems, HOWEVER, the guide is NOT up to date. The guide will give you a GENERAL idea about what to do, in some cases, but it will be off the mark in other cases because the interface has changed since it was last update. Click here to read through the Amazon Relational Database Service guide.

That's it!

Enjoy!
Kila Morton

Comments

Post a Comment

Popular posts from this blog

How To Solve The 'sudo' is not recognized as an internal or external command, operable program or batch file Message

Recently, I was talking with a developer about  sudo and how they initially didn't realize what sudo was. The developer had never worked on anything other than computers running Microsoft Windows. That gave me the idea for this little programming tip on the alternative to sudo when you are using a Windows machine. First, some history. Sudo can be called the one command to rule them all when you are working on a Unix based system. In fact, it really IS the one command to rule them all on those types of systems! Sudo is pronounced "sue dough" and it stands for "super user do" or "substitute user do". It is a program that allows you to run programs with the security privileges of another user. That user, by default, is the superuser for the machine you are on - hence, the original meaning of "super user do". The sudo program was enhanced to include the ability to run commands as other special users - not only as the superuser - hence ...

How To Solve Connection attempt failed with "EAI_NONAME - Neither Nodename Nor Servname Provided, Or Not Known

If you have ever tried to import a file into FileZilla from your domain host only to find that using the supplied settings produced the, Connection-attempt-failed-with-EAI_NONAME---Neither-nodename-nor-servname-provided-or-not-known".   error, you are in luck. I am going to show you a quick way to take care of this issue. When you are using an FTP client to connect to your site, you typically have a setup that looks something like this. (Note - if you are using FileZilla, your screen looks EXACTLY like this, since this is the ftp client I am using here.) Notice the area I have highlighted in Yellow. This is the problem child in this scenario. Although your hosting company may have stated that you should use ftp.YourWebsite.com, that is often NOT the correct thing for you to use to gain remote ftp access to your site. The error means that the program cannot resolve the dns entry for your site. Instead of using ftp.YourWebsite.com, you need to replace the host ftp.YourWeb...

How To Reset Your Entry Processes Or How To Clear Your Entry Processes In A Shared Hosting Environment Using CPanel

One of the most frustrating things is to wake up one morning and discover that your website is down (a 508 error) and you don't have a tool to get it back up and, instead, have to contact your hosting company to reset things for you. Sometimes, if you are using a content management system, the issue may be something as simple as a plugin. Do you really want to have to reach out to your host every time you have an issue? If you don't, I am going to show you one way to get your account back up and running. This will not work for everyone, but if you are using certain technologies, it will work for you. What you will need: Access to your cPanel. An account running PHP ISSUE: You have used up all of your allocated server resources and your site is now experiencing a 503 or 508 error and is not allowing any traffic to reach your site. SOLUTION: Log into your cPanel account. If you do not have a cPanel account, this won't work for you. Search for Select PHP Versi...