<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Abidemi Muibudeen</title>
    <description>The latest articles on Forem by Abidemi Muibudeen (@blogher).</description>
    <link>https://forem.com/blogher</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F310842%2F66b485d4-1def-4c6a-a870-78a9eb97bfa7.jpg</url>
      <title>Forem: Abidemi Muibudeen</title>
      <link>https://forem.com/blogher</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/blogher"/>
    <language>en</language>
    <item>
      <title>Deploy SQL Server on Amazon RDS: A Step-by-Step Guide</title>
      <dc:creator>Abidemi Muibudeen</dc:creator>
      <pubDate>Mon, 27 Feb 2023 09:38:54 +0000</pubDate>
      <link>https://forem.com/aws-builders/deploy-sql-server-on-amazon-rds-a-step-by-step-guide-457e</link>
      <guid>https://forem.com/aws-builders/deploy-sql-server-on-amazon-rds-a-step-by-step-guide-457e</guid>
      <description>&lt;p&gt;An advantage of the cloud is that it provides options to run your workloads in various ways, from running applications on virtual machines to deploying highly available microservices. Amazon Web Services (AWS) is the leading cloud computing provider and controls over 33% of the cloud computing market. AWS offers computing, analytics, machine learning, databases, and storage services. Amazon Relational Database Services (RDS) is a managed relational database offering from AWS that eliminates manual database administration tasks such as scaling, operating system (OS) maintenance, and data backup. RDS supports five database engines; MySQL, Microsoft SQL Server (MSSQL), PostgreSQL, MariaDB, and Oracle.&lt;/p&gt;

&lt;h3&gt;
  
  
  A bit about SQL Server
&lt;/h3&gt;

&lt;p&gt;SQL Server is a relational database management system (RBDMS) developed by Microsoft, used for creating, maintaining, and implementing relational databases. MSSQL offers several editions targeted for specific workloads. These editions are enterprise, standard, web, developer, and express, which differ in capabilities and feature sets.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Enterprise Edition is the premium MSSQL offering for enterprise workloads.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard SQL Server Standard edition enables effective database management with minimal IT resources.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Web SQL Server Web edition is suitable for web applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Developer SQL Server Developer edition lets developers build and test applications on top of SQL Server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Express editions SQL Server Express edition is a free database, ideal for learning and building desktop and small server data-driven applications.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Amazon RDS for SQL Server makes it easy to set up, operate, and scale SQL Server deployments in the cloud. In this tutorial, you will deploy a Microsoft SQL Server on an Amazon Relational Database Instance and connect to the instance locally using SSMS. You will also get to load data into a table on the database and query the data.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;p&gt;To follow along with this tutorial, you should be familiar with the AWS console, SQL, and RBDMS. It is also necessary to have a SQL server client such as SQL server management studio (SSMS) or Azure Data Studio installed locally. Download and install either client from SQL server management studio or Azure Data Studio.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Before you begin, please note that the AWS console is continuously improving; therefore, some panes may have moved, and the console may look different.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Choose your AWS region
&lt;/h3&gt;

&lt;p&gt;Sign in to the Amazon console &lt;a href="https://signin.aws.amazon.com/" rel="noopener noreferrer"&gt;https://signin.aws.amazon.com/&lt;/a&gt; and search for RDS in the search bar. On the RDS page, create a database. Take note of the AWS region in the pane; this is where you will deploy your database instance. For this tutorial, you will deploy the database instance in Ohio (us-east-2) region. You can learn more about AWS RDS regions and zones here.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F52qshqkaibnedf9kzfe5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F52qshqkaibnedf9kzfe5.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Select a Database Engine
&lt;/h3&gt;

&lt;p&gt;Choose Standard create as the database creation method. This method allows you to configure the database that fits your workload needs. Next, select Microsoft SQL Server as the database engine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fihpz1tzfqn14ebzuj9dx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fihpz1tzfqn14ebzuj9dx.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For database type, accept the default Amazon RDS settings. This option enables you to get the full management capabilities of RDS. The express edition is sufficient for the use case in this tutorial. However, you should select the right edition for your workload.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxze39zbzl9xft6tk07pe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxze39zbzl9xft6tk07pe.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The database license cost is included with the instance cost by AWS. The most recent SQL Server 2019 engine version is selected by default, which is good enough for this scenario.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe4v5pvt0gg7rhsyxijy4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe4v5pvt0gg7rhsyxijy4.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Create a user
&lt;/h3&gt;

&lt;p&gt;Give your instance a name on the settings pane, then expand the credentials settings to create an administrative user account. This user will have complete control of the database instance, and you can create other users once the setup is complete.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz72tlg5rvmb3dkmh2oir.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz72tlg5rvmb3dkmh2oir.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Configure compute and storage
&lt;/h3&gt;

&lt;p&gt;Leave the instance configuration settings as default; db.t3.small has two vCPUs and two GiB RAM, which is sufficient for this tutorial.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwvbqlyl7dguon50fy4h8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwvbqlyl7dguon50fy4h8.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Accept the default storage type and allocated storage settings on the storage pane. Uncheck storage autoscaling, the minimum allocated storage of 20GiB is sufficient for this tutorial.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhclw2keg52yr0bedfrj2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhclw2keg52yr0bedfrj2.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: Configure connectivity and networking
&lt;/h3&gt;

&lt;p&gt;Since this database instance does not need to connect to a compute instance, accept the default settings for connection to compute resource, network type, and virtual private cloud (VPC) settings.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6bwxue49e42znfaske5u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6bwxue49e42znfaske5u.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the VPC security group, select create new, then choose &lt;strong&gt;No preference&lt;/strong&gt; for the availability zone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftwbcydc3muid9h7q3xyd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftwbcydc3muid9h7q3xyd.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Accept the default port 1433 and leave RDS proxy unchecked.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0h38w67wpad9nmcborun.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0h38w67wpad9nmcborun.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Leave the windows authentication option unchecked.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuz6ludlrap3m5tf33utn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuz6ludlrap3m5tf33utn.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 6: Configure performance settings
&lt;/h3&gt;

&lt;p&gt;Uncheck the performance insights settings; it is an advanced performance monitoring feature for diagnosing performance challenges. The feature is not required for this tutorial. Leave the additional configurations as default.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fno3y19mivdkt6s6oy3pf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fno3y19mivdkt6s6oy3pf.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 7: Additional configurations
&lt;/h3&gt;

&lt;p&gt;Accept all default settings for database options.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwhtg8sv6gyit61a9gi4r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwhtg8sv6gyit61a9gi4r.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Accept all default settings in the backup pane.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo36qcfpgrl4ta54z3hxi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo36qcfpgrl4ta54z3hxi.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also, accept all default settings for maintenance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qhkybkde78qscvspqkg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0qhkybkde78qscvspqkg.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 8: Create the instance
&lt;/h3&gt;

&lt;p&gt;Finally, you will see the estimated monthly cost for the database instance. Select create database to create the instance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxn6req8xl5xhz88fvvp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxn6req8xl5xhz88fvvp.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This action takes a few minutes; wait until the status changes to created before connecting to the instance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpgnbt0u0x47fl0i20k9s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpgnbt0u0x47fl0i20k9s.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once complete, select the instance name to view its configuration setting and copy the instance endpoint; this is the server name to connect to.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 9: Connect to the database instance
&lt;/h3&gt;

&lt;p&gt;This tutorial will make use of SSMS. On the object explorer pane in SSMS, select connect and select database engine. Enter the endpoint you copied earlier as the server name; the login name and password are the username and password you created in step 3. Leave SQL server authentication as default, then connect.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi3n3rjzg7rkux0whuyvj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi3n3rjzg7rkux0whuyvj.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now that you are connected, expand the object explorer to view the default database created by RDS. There are also several tables created for administration, backup, and maintenance, which AWS will manage.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzqbwv2umqn30gr7wo3rb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzqbwv2umqn30gr7wo3rb.png" alt="Amazon RDS creation checklist"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Create a database in the instance.
&lt;/h3&gt;

&lt;p&gt;To query data in a table, you must first create a database that will hold the table.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;CREATE DATABASE salesdata;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Click on the refresh button on SSMS to view the newly created database. Then import a flat file using SSMS. Next, load data into the table. The sales data for 2012 is n a local CSV file; you can SSMS to load data into the table.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzrdswlkpygxk8cer4lmj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzrdswlkpygxk8cer4lmj.png" alt="SSMS Screenshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Selecting the flat file on the import wizard page creates a table for you. You may edit the table name to adhere to your naming convention. Once the data has been imported, select next to preview the data. Select next and modify the columns if you wish to transform the data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fevhmmdarhw1hq7x8ezi8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fevhmmdarhw1hq7x8ezi8.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once the data modification is complete, click next to view the summary.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj99h6eezv4cb0ltdduk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkj99h6eezv4cb0ltdduk.png" alt="SSMS Screenshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This process takes a while to complete depending on the size of your data. Once the data loading is completed, you will get a success message.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7dsse45wzyvju8fvmz3l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7dsse45wzyvju8fvmz3l.png" alt="SSMS Screenshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Great job so far. Next up, query the data.&lt;/p&gt;

&lt;p&gt;To count the number of records in the row, run;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;SELECT COUNT (*) itemcount from [dbo].[salesdata_2012]&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h4&gt;
  
  
  Query result
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;itemcount&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2823&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;To view all product items and the number of sales for each item, run;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT COUNT(*) itemcount, productline FROM [dbo].[salesdata_2012]
GROUP BY productline
ORDER BY itemcount DESC
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Query result
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;itemcount&lt;/th&gt;
&lt;th&gt;productline&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;967&lt;/td&gt;
&lt;td&gt;Classic Cars&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;607&lt;/td&gt;
&lt;td&gt;Vintage Cars&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;331&lt;/td&gt;
&lt;td&gt;Motorcycles&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;306&lt;/td&gt;
&lt;td&gt;Planes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;301&lt;/td&gt;
&lt;td&gt;Trucks and Buses&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;234&lt;/td&gt;
&lt;td&gt;Ships&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;77&lt;/td&gt;
&lt;td&gt;Trains&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Additional Reading
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The sales data was obtained from Kaggle, although modified &lt;a href="https://www.kaggle.com/datasets/kyanyoga/sample-sales-data" rel="noopener noreferrer"&gt;https://www.kaggle.com/datasets/kyanyoga/sample-sales-data&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To connect to your server locally, you need to enable public access. Read more on AWS Security groups and how to control access to the database instance &lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules.html&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;In this article, you deployed an SQL Server on AWS RDS, connected locally using SSMS, loaded data into the table, and queried the data.&lt;/p&gt;

&lt;p&gt;I hope you found this post to be informative.&lt;/p&gt;

&lt;p&gt;I'd love to connect with you at &lt;a href="https://twitter.com/blogher_" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt; | &lt;a href="https://www.linkedin.com/in/bidemi-muibudeen/" rel="noopener noreferrer"&gt;LinkedIn &lt;/a&gt;| &lt;a href="https://github.com/blogher" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;See you in my next article. Take care!!!&lt;/p&gt;

</description>
      <category>aws</category>
      <category>sql</category>
      <category>cloud</category>
      <category>database</category>
    </item>
    <item>
      <title>Be good and be good at it</title>
      <dc:creator>Abidemi Muibudeen</dc:creator>
      <pubDate>Thu, 21 Jan 2021 16:56:14 +0000</pubDate>
      <link>https://forem.com/blogher/be-good-and-be-good-at-it-9hk</link>
      <guid>https://forem.com/blogher/be-good-and-be-good-at-it-9hk</guid>
      <description>&lt;p&gt;Frontend? Backend? Android development? Cloud engineering? When I decided I wanted a career in technology, I thought coding was the only path I could take. I was very confused and it took a long while before I knew what exactly I wanted. I made several mistakes that I could have saved myself from if I had a clear direction.&lt;br&gt;
I came across FreeCodeCamp.org sometime in 2019 and I started using it almost immediately. I liked how straightforward and beginner-friendly the curriculum is. I enjoyed the magic feeling of writing in an editor and seeing it in my browser. That joy was short-lived when I met CSS😪. it was just too much for me. I soon realized that design and user interface were just not my thing.&lt;br&gt;
&lt;a href="https://i.giphy.com/media/gnE4FFhtFoLKM/source.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/gnE4FFhtFoLKM/source.gif" alt="Nope"&gt;&lt;/a&gt;&lt;br&gt;
I eventually found out what I loved when I started encountering errors with the system at work (after several iterations). I was denied access to several resources for reasons I didn’t know. What does &lt;em&gt;administrative access&lt;/em&gt; even mean😐? As a curious person, I started googling the specific error messages I got, which led me to &lt;a href="https://docs.microsoft.com/en-us/"&gt;Microsoft docs&lt;/a&gt;.&lt;br&gt;
I spent so much time learning about new things on &lt;a href="//docs.microsoft.com/learn"&gt;Microsoft learn&lt;/a&gt; and I was impressed by how easy and defined the paths were. I wasn’t interested in certifications; I was just hungry for knowledge. I was learning about teams, power apps, azure, among other new things. Since my organization is a Microsoft shop, it felt familiar and it helped me become more efficient at work.&lt;br&gt;
When lockdown started and I had to work from home, I promised myself then that I had to be better than before. I had more time and flexibility and I could pursue whatever path I wanted. It was a defining point of my career and the resolve was clear; to come out of lockdown a better person. I searched for several communities that I could be part of because I read on Twitter that it was essential to be part of one. The Microsoft Learn ambassadors in Nigeria (@mlsanigeria) have been exceptional and I am thankful to them.&lt;br&gt;
2020 was very different, I knew exactly what I wanted and why I wanted it. curiosity is definitely a pushing force for me because the more I learn about a new thing, the more I realize that I know nothing about it. By the end of the year, I had achieved my goal of passing all Microsoft fundamental certificates, got a great offer, and I will be moving to a new city! &lt;br&gt;
&lt;a href="https://i.giphy.com/media/NEvPzZ8bd1V4Y/source.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/NEvPzZ8bd1V4Y/source.gif" alt="Yass!!!"&gt;&lt;/a&gt;&lt;br&gt;
In 2021, I would be learning more about Azure, getting more Cloud certs and continue learning in public. I am glad that I know where I belong now despite feeling lost at a point. It doesn’t matter how long it took me, the plan is to be good at it and be known for it!&lt;/p&gt;

</description>
      <category>cloudskills</category>
      <category>azure</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
