This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from aws-ia/html-guide
Generated deployment guide
- Loading branch information
Showing
52 changed files
with
5,776 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
[submodule "docs/boilerplate"] | ||
path = docs/boilerplate | ||
url = https://github.com/aws-ia/aws-ia-documentation-base-common.git | ||
[submodule "submodules/cfn-ps-aws-vpc"] | ||
path = submodules/cfn-ps-aws-vpc | ||
url = [email protected]:aws-ia/cfn-ps-aws-vpc.git | ||
branch = main | ||
[submodule "submodules/cfn-ps-microsoft-activedirectory"] | ||
path = submodules/cfn-ps-microsoft-activedirectory | ||
url = [email protected]:aws-ia/cfn-ps-microsoft-activedirectory.git | ||
branch = main | ||
[submodule "submodules/cfn-ps-microsoft-rdgateway"] | ||
path = submodules/cfn-ps-microsoft-rdgateway | ||
url = [email protected]:aws-ia/cfn-ps-microsoft-rdgateway.git | ||
branch = main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
language_type: cloudformation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM public.ecr.aws/codebuild/amazonlinux2-x86_64-standard:4.0 | ||
RUN git clone https://github.com/aws-quickstart/qs-cfn-lint-rules.git /tmp/qs-cfn-lint-rules | ||
RUN cd /tmp/qs-cfn-lint-rules && pip install . | ||
RUN cfn-lint -u | ||
RUN cd /tmp/qs-cfn-lint-rules && git checkout 8268db9df3407ccf5383def635bc22e0f99d6b39 && pip install . | ||
#RUN cfn-lint -u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,57 @@ | ||
project: | ||
name: cfn-sample-template | ||
owner: [email protected] | ||
name: cfn-ps-microsoft-sql-fci-fsx | ||
owner: quickstart-eng@amazon.com | ||
package_lambda: false | ||
regions: | ||
- ap-northeast-1 | ||
- ap-northeast-2 | ||
- ap-south-1 | ||
- ap-southeast-1 | ||
- ap-southeast-2 | ||
- ca-central-1 | ||
- eu-central-1 | ||
- eu-west-1 | ||
- eu-west-2 | ||
- sa-east-1 | ||
- us-east-1 | ||
- us-east-2 | ||
- us-west-1 | ||
- us-west-2 | ||
s3_bucket: '' | ||
tests: | ||
sample: | ||
mssql-ec2ad: | ||
parameters: | ||
Param1: 'Inputs to Stack' | ||
# Examples: of other taskcat dynamic input parameters for more into see http://taskcat.io | ||
# | ||
# AvailabilityZones: $[taskcat_genaz_3] | ||
# ByteValue: 1 | ||
# PasswordA: $[taskcat_genpass_8A] | ||
# PasswordB: $[taskcat_genpass_32S] | ||
# RandomNumber: $[taskcat_random-numbers] | ||
# RandomString: $[taskcat_random-string] | ||
# StackName: TestStack | ||
# UUID: $[taskcat_genuuid] | ||
# | ||
ADScenarioType: 'Microsoft AD on Amazon EC2' | ||
AvailabilityZones: $[taskcat_getaz_2] | ||
DomainAdminPassword: $[taskcat_genpass_16] | ||
EnableAppInsights: 'true' | ||
KeyPairName: $[taskcat_getkeypair] | ||
QSS3BucketName: $[taskcat_autobucket] | ||
QSS3BucketRegion: $[taskcat_current_region] | ||
NumberOfRDGWHosts: '0' | ||
RDGWCIDR: 0.0.0.0/0 | ||
SQLServiceAccountPassword: $[taskcat_genpass_16] | ||
MSSQLMediaBucketName: override | ||
MSSQLMediaPathKey: SQLServer2019-x64-ENU.iso | ||
regions: | ||
- us-east-1 | ||
s3_bucket: '' | ||
template: templates/mssqlfsx-main.template.yaml | ||
mssql-mad: | ||
parameters: | ||
ADScenarioType: 'AWS Directory Service for Microsoft AD (Enterprise Edition)' | ||
AvailabilityZones: $[taskcat_getaz_2] | ||
DomainAdminPassword: $[taskcat_genpass_16] | ||
EnableAppInsights: 'true' | ||
KeyPairName: $[taskcat_getkeypair] | ||
QSS3BucketName: $[taskcat_autobucket] | ||
QSS3BucketRegion: $[taskcat_current_region] | ||
NumberOfRDGWHosts: '0' | ||
RDGWCIDR: 0.0.0.0/0 | ||
SQLServiceAccountPassword: $[taskcat_genpass_16] | ||
MSSQLMediaBucketName: override | ||
MSSQLMediaPathKey: SQLServer2019-x64-ENU.iso | ||
regions: | ||
- us-east-2 | ||
template: templates/another-workload.template.yaml | ||
s3_bucket: '' | ||
template: templates/mssqlfsx-main.template.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## SQL Server Failover Cluster Instance on AWS—Quick Start | ||
|
||
For architectural details, step-by-step instructions, and customization options, see the [deployment guide](https://fwd.aws/5XG6A?). | ||
|
||
To post feedback, submit feature ideas, or report bugs, use the **Issues** section of this GitHub repo. | ||
|
||
To submit code for this Quick Start, see the [AWS Quick Start Contributor's Kit](https://aws-quickstart.github.io/). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
// Include details about any licenses and how to sign up. Provide links as appropriate. | ||
|
||
There is no cost to use this Partner Solution, but you will be billed for any AWS services or resources that this Partner Solution deploys. For more information, refer to the https://fwd.aws/rA69w?[AWS Partner Solution General Information Guide^]. | ||
There is no cost to use this Partner Solution, but you will be billed for any AWS services or resources that this Partner Solution deploys. For more information, refer to the https://fwd.aws/rA69w?[AWS Partner Solution General Information Guide^]. | ||
|
||
This Quick Start requires a license for Microsoft SQL Server 2019. You can obtain a trial license from the https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2019[Microsoft Evaluation Center^]. | ||
|
||
Alternatively, if you're not using the software for a production environment, you can use the MSSQL Developer Edition. This edition provides the full capabilities of Enterprise Edition without requiring license costs. | ||
|
||
This Quick Start deploys MSSQL in Bring-Your-Own-License mode. It does not support deployment of MSSQL license-included Amazon Machine Images (AMIs). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,33 @@ | ||
This guide covers the information you need to deploy the {partner-product-name} Partner Solution in the AWS Cloud. | ||
This guide covers the information you need to deploy the {partner-product-name} Partner Solution in the AWS Cloud. | ||
|
||
// Fill in the info in <angle brackets> for use on the landing page only: | ||
This Amazon Web Services (AWS) Partner Solution deploys [<product name>](<partner's marketing product page>) in the AWS Cloud so that <purpose>. This solution is for <target users> who want to <do what> so that <why>. For more information, refer to the [<product name> documentation](<URL>). | ||
This Partner Solution is for IT infrastructure architects, database administrators, and DevOps professionals who plan to implement or extend Microsoft SQL Server (MSSQL) using SQL Server on AWS with Windows Server Failover Clustering (WSFC). Unlike the Partner Solution for https://aws.amazon.com/quickstart/architecture/sql/[SQL Server with Always On Replication^], this one deploys an https://docs.microsoft.com/en-us/sql/sql-server/failover-clusters/windows/always-on-failover-cluster-instances-sql-server?view=sql-server-ver15[Always On Failover Cluster Instance^] (FCI). It also deploys https://aws.amazon.com/fsx/windows/[Amazon FSx for Windows File Server^] as a network share to store the database files. | ||
|
||
// Deploying this solution does not guarantee an organization’s compliance with any laws, certifications, policies, or other regulations. [Uncomment this statement only for solutions that relate to compliance. We'll add the corresponding reference part to the landing page and get legal approval before publishing.] | ||
This guide does not provide general configuration and usage information for WSFC and MSSQL. For general guidance and best practices, consult the Microsoft product documentation and the https://d1.awsstatic.com/whitepapers/best-practices-for-deploying-microsoft-sql-server-on-aws.pdf[Best Practices for Deploying Microsoft SQL Server on AWS^] whitepaper. | ||
|
||
// For advanced information about the product, troubleshooting, or additional functionality, refer to the https://{partner-solution-github-org}.github.io/{partner-solution-project-name}/operational/index.html[Operational Guide^]. | ||
:xrefstyle: short | ||
|
||
// For information about using this Partner Solution for migrations, refer to the https://{partner-solution-github-org}.github.io/{partner-solution-project-name}/migration/index.html[Migration Guide^]. | ||
The {partner-product-short-name} Partner Solution deploys a highly available environment that includes Windows Server and SQL Server running on Amazon Elastic Compute Cloud (EC2). It requires shared storage that is accessible by all nodes within the WSFC cluster. It supports SQL Server 2019 running on Windows Server 2019. | ||
|
||
This architecture uses a highly available Multi-AZ Amazon FSx file system as the network share used to store MSSQL database files. The Amazon FSx file system and EC2 Windows instances that host this architecture's nodes are joined to the same Active Directory domain. | ||
|
||
NOTE: The "instance" in "failover cluster instance" means something different from the "instance" in "EC2 instance." In this Partner Solution, a failover cluster instance, or FCI, has the appearance of an instance of SQL Server running on a single computer. A failover cluster instance provides failover from one EC2 instance (WSFC node) to another if the current EC2 instance goes down. For an illustration, see <<architecture1>>. | ||
|
||
Traditionally, FCIs have been difficult to deploy and manage. With its Multi-AZ file system option, Amazon FSx provides fully managed file storage. This storage enables the high availability and durability that's required to run business-critical Microsoft SQL Server database workloads without requiring licenses for each server. Amazon FSx automatically handles failover, simplifying shared storage to host your database deployments while reducing cost. | ||
|
||
The automation in this deployment uses AWS Systems Manager Automation, AWS CloudFormation, and Windows PowerShell Desired State Configuration (DSC) to deploy a multi-node SQL Always On FCI. Windows Server Failover Clustering is a prerequisite for deploying an Always On FCI. MSSQL uses WSFC to increase application availability. WSFC provides infrastructure features that complement the high availability and disaster recovery scenarios supported in the AWS Cloud. | ||
|
||
FCI, which was introduced with SQL Server 2008 as a high availability feature, continues to be available in all newer versions of MSSQL. When used on premises, SQL Server FCI is often used purely for high availability within a single data center. On AWS, you can use the {partner-product-short-name} Partner Solution to cover both high availability and disaster recovery requirements. | ||
|
||
Since FCIs require shared storage, traditionally they had to be deployed within a single data center. On AWS, the shared storage can span multiple Availability Zones, enabling WSFC clusters to span multiple Availability Zones. | ||
|
||
Implementing WSFC on AWS is similar to deploying it on premises as long as you meet these two requirements: | ||
|
||
* The cluster nodes are deployed inside a virtual private cloud (VPC). | ||
* The cluster nodes are deployed in separate subnets to provide high availability across multiple Availability Zones. | ||
This Partner Solution meets these requirements. | ||
|
||
For more information: | ||
|
||
* https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html[What Is Amazon FSx for Windows File Server?^] | ||
* https://docs.aws.amazon.com/fsx/latest/WindowsGuide/sql-server.html[Using Amazon FSx for Windows File Server with Microsoft SQL Server^] |
Oops, something went wrong.