Create Microsoft SQL Server RDS in AWS


In this article, we will learn how to harness the power of Amazon Relational Database Service (Amazon RDS) to seamlessly create, connect to, and manage a Microsoft SQL Server database instance in the cloud. We’ll navigate the AWS Management Console, configure instance settings, and establish a connection using Microsoft SQL Server Management Studio (SSMS).

Prerequisites

  • An AWS account.
  • Basic knowledge of AWS services.

Step #1:Create Microsoft SQL server RDS instance

First to create a RDS instance, open the AWS Management Console and navigate to RDS using the search bar.

Create Microsoft SQL Server RDS in AWS 1

Click on Create database.

Create Microsoft SQL Server RDS in AWS 2

Choose Standard create as database creation method and select Microsoft SQL Server as an engine option.

Create Microsoft SQL Server RDS in AWS 3

Select the SQL Server Standard Edition and keep Amazon RDS as database management type. Keep License and Engine Version default.

Create Microsoft SQL Server RDS in AWS 4

Configure settings such as DB instance identifier, master username. You can change the Master username. Select Self managed as Credential management and create Master password and confirm it.

Create Microsoft SQL Server RDS in AWS 5

Select Burstable classes in Instance Configuration as DB instance class.

Create Microsoft SQL Server RDS in AWS 6

Select General Purpose SSD (gp2) as a storage type. Select the default of 20 to allocate 20 GB of storage for your database. Disable the Storage autoscaling.

Create Microsoft SQL Server RDS in AWS 7

Configure connectivity settings including network type, VPC, and security groups. Choose the default VPC and Subnet group. Select Yes to give public access so Amazon EC2 instances and other resources outside of the VPC can connect to your database.

Create Microsoft SQL Server RDS in AWS 8

Create new VPC security group and name it. Choose the availability zone as No preferences. Keep the default value of database port 1433.

Create Microsoft SQL Server RDS in AWS 9

Microsoft SQL Server Windows Authentication, leave this option disabled.

Create Microsoft SQL Server RDS in AWS 10

Disable the Turn on Performance Insights. Use the default value of Enable Enhanced monitoring.

Create Microsoft SQL Server RDS in AWS 11

Select Enable auto minor version upgrade to receive automatic updates. Disable the Deletion protection. Then click on Create database.

Create Microsoft SQL Server RDS in AWS 12

As you can see our DB instance is running properly.

Create Microsoft SQL Server RDS in AWS 13

Step #2:Download a SQL client and Connect to the Microsoft SQL Server database

Go to the SQL Documentation. Look for SQL Server Management Studio (SSMS). Download the latest version of SQL Server Management Studio.

Create Microsoft SQL Server RDS in AWS 14

After download is complete, install and run the program.

Copy the end point and port of the Database instance.

Create Microsoft SQL Server RDS in AWS 15

Paste it in Server name separating them with comma. Ex. Endpoint,1433

Select SQL Server Authentication. In Login and Password, type in the Username and Password you created for the Amazon RDS database.

Then click on Connect.

Create Microsoft SQL Server RDS in AWS 16

Now you are connected to database. Connection to your Microsoft SQL Server database hosted on Amazon RDS. Here you can create table, insert data and run queries.

Create Microsoft SQL Server RDS in AWS 17

Conclusion:

In conclusion, we have learned how to effectively utilize Amazon RDS to handle the lifecycle of a Microsoft SQL Server database instance. By seamlessly creating, connecting to the database, we’ve experienced the streamlined management capabilities offered by Amazon RDS. This tutorial underscores the platform’s ability to simplify database administration tasks, empowering users to concentrate on their core applications and business objectives. Embrace the power of cloud-based relational databases with Amazon RDS for enhanced efficiency and scalability.

Related Articles:

How to Monitor Memcached with Prometheus and Grafana

Reference:

AWS official page

Prasad Hole

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share via
Copy link
Powered by Social Snap