// Add steps as necessary for accessing the software, post-configuration, and testing. Don't include full usage instructions for your software, but add links to your product documentation for that information.
//Should any sections not be applicable, remove them

== Post-deployment steps

=== Run Windows updates

In order to ensure the deployed servers' operating systems and installed applications have the latest Microsoft updates, run Windows Update on each server.

. Create an RDP session from the Remote Desktop Gateway server to each deployed server.
. Choose the *Settings* application.
. Choose *Update & Security*.
. Choose *Check for updates*.
. Install any updates and reboot if necessary.

== Test the deployment
// If steps are required to test the deployment, add them here. If not, remove the heading

. Open an RDP session to one of the two SQL servers.
. Open Windows *Administrative Tools*, and launch *Failover Cluster Manager*.
+
[#postdeploy1]
.Failover Cluster Manager
[link=images/image1.png]
image::../images/image1.png[postdeploy1]
+
. Choose *Nodes*, and ensure that both nodes are online.
+
[#postdeploy2]
.Both nodes showing online
image::../images/image2.png[postdeploy2]
+
. Select the failover cluster, and verify that both the cluster and the file-share witness are online.
+
[#postdeploy3]
.Cluster overview showing that both the cluster and the file-share witness are online
image::../images/image3.png[postdeploy3]
+
. Download https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15[SQL Server Management Studio (SSMS)^].
. Install SQL Server Management Studio. The installation requires a reboot.
. After rebooting, log back in to the SQL server.
. Launch SQL Server Management Studio, and connect to the FCI.
+
[#postdeploy4]
.Connecting to the cluster
image::../images/image4.png[50%]
+
. If you are able to log in, the deployment was successful.

== Troubleshooting

If the deployment fails, follow these steps:

. Open the https://console.aws.amazon.com/systems-manager/home?region=us-east-1[AWS Systems Manager console^].
. Select your deployment Region. 
. Choose *Automation* from the left-hand side, and locate the failed automation document. 
. Navigate to the failed step.
. Expand *Output* to view the automation logs. 
. Follow the link to Amazon CloudWatch Logs to view detailed automation logs.