We use machine learning technology to do auto-translation. Click "English" on top navigation bar to check Chinese version.
Migrate Microsoft SQL Server SSIS Packages to Amazon RDS Custom for SQL Server
If you’re still explicitly running SSIS on
In this post, we show you how to configure and use SSIS on RDS Custom for SQL Server DB instances. We discuss migrating the package using
Solution overview
We implement the solution to deploy a SSIS package with the following high-level steps:
- Create an RDS Custom for SQL Server instance.
- Configure SSIS on Amazon RDS Custom for SQL Server.
- Upload the .ispac file to Amazon S3.
- Import the .ispac file into an RDS Custom for SQL Server EC2 instance.
- Deploy the files to Amazon RDS Custom for SQL Server.
To deploy multiple packages, you can repeat Steps 3 and 4.
Prerequisites
To configure SSIS on Amazon RDS Custom for SQL Server, you must meet the following requirements:
- The RDS Custom for SQL Server instance must be SQL Server 2019 Standard or Enterprise editions (15.00.4073.23.v1 or above).
- The instance must be joined to
Amazon Web Services Directory Service to enable Windows Authentication. For instructions, seeSetting Up Windows Authentication for SQL Server DB instances . - The SSIS project (.ispac) files must be uploaded to an S3 bucket that is accessible to Amazon RDS Custom for SQL Server. For instructions to generate an .ispac file from the project, refer to
Deploy Integration Services (SSIS) Projects and Packages . - You must have the
Amazon Web Services Command Line Interface (Amazon Web Services CLI)installed in order to copy the deployed SSIS packages to the EC2 instance’sAmazon Elastic Block Store (Amazon EBS) volume. - Because SSIS requires Windows Authentication, consider joining Amazon RDS Custom to either self-managed or Amazon Web Services managed Active Directory. This way, in the event of host replacement, connecting to SSIS using Windows Authentication is seamless. Otherwise, if you add the local admin account as SQL login, it’s required every time a host replacement occurs.
- EC2 Instance will be plugged out to AD after scale compute or host replacement, we can automate domain joining using SSM. Refer
automating domain join for more details.
Create an RDS Custom for SQL Server instance
To create an RDS Custom SQL Server instance on your account, refer to
Configure SSIS on Amazon RDS Custom for SQL Server
It’s mandatory to enable Common Language Runtime (CLR) integration for SSIS. Check if CLR is already enabled for SQL Server. If it’s not enabled, refer to
Refer to
Upload the .ispac file to Amazon S3
After you build the package using
Import the .ispac file to the EC2 instance
Using the Amazon Web Services CLI, copy the .ispac file to the EC2 instance from the S3 bucket. It’s recommended to use the D drive. For details on how to download the file, refer to
Deploy the SSIS package to Amazon RDS Custom for SQL Server
Complete the following steps to deploy the SSIS package:
- Open SSMS.
- Connect to the localhost using a Windows account that was created in Directory Service.
- Expand the folder SSISDB under Integration Service Catalogs.
- Create a Sample folder where your projects are stored.
- Choose (right-click) the Projects folder and choose Deploy Project .
- When the integration service deployment appears, choose Next .
- Enter the local path where you downloaded the. ispac file from the S3 bucket.
- Select SSIS in SQL Server and choose Next .
- Enter the destination server name and choose Connect .
- Provide the path where the project will be located.
- Review the values you entered, then choose Deploy .
- Wait for the deployment to complete.
- You can review the deployed package in SSMS.
- Make sure to configure the package to validate the parameters are appropriate.
- Ensure the connection string and other parameter values are defined appropriately. Edit the values to provide the right path to the input files.
- To run the package, choose (right-click) it and choose Execute .
You can now view a report of your package.
Clean up
Complete the following steps to clean up the resources you created in this post:
On the Amazon RDS console, in the navigation pane, choose Databases .
- Select the RDS Custom for SQL Server DB instance that you created for this tutorial and want to delete.
- On the Actions menu, choose Delete .
- To take a final snapshot, choose Create final snapshot and provide a name for the snapshot.
- To retain automated backups, choose Retain automated backups .
- Enter delete me in the box.
- Choose Delete .
- If you created a new EC2 instance and corresponding security groups for this tutorial, delete those resources as well.
Conclusion
In this post, you learned how you can migrate SQL Server Integration Service to Amazon RDS Custom for SQL Server. We used SQL Server Management Studio to install SSIS packages from an S3 bucket. This solution allows you to overcome the
Let us know your thoughts and questions in the comments section.
About the authors
InduTeja Aligeti is a Senior Lead Database Consultant at Amazon Web Services. She has over 18 years of experience working with Microsoft technologies with a specialization in SQL Server. She focuses on helping customers build highly available, cost-effective database solutions and migrate their large-scale SQL Server databases to Amazon Web Services.
Kanwar Nain Singh is a Specialist Solutions Architect with Amazon Web Services. He has over 12 years of experience engineering and architecting migrations and modernization of database stacks including SQL Server.
The mentioned AWS GenAI Services service names relating to generative AI are only available or previewed in the Global Regions. Amazon Web Services China promotes AWS GenAI Services relating to generative AI solely for China-to-global business purposes and/or advanced technology introduction.