// We need to work around Step numbers here if we are going to potentially exclude the AMI subscription === Sign in to your AWS account . Sign in to your AWS account at https://aws.amazon.com with an IAM user role that has the necessary permissions. For details, see link:#_planning_the_deployment[Planning the deployment] earlier in this guide. . Make sure that your AWS account is configured correctly, as discussed in the link:#_technical_requirements[Technical requirements] section. // Optional based on Marketplace listing. Not to be edited ifdef::marketplace_subscription[] === Subscribe to the {partner-product-short-name} AMI This Quick Start requires a subscription to the AMI for {partner-product-short-name} in AWS Marketplace. . Sign in to your AWS account. . {marketplace_listing_url}[Open the page for the {partner-product-short-name} AMI in AWS Marketplace], and then choose *Continue to Subscribe*. . Review the terms and conditions for software usage, and then choose *Accept Terms*. + A confirmation page loads, and an email confirmation is sent to the account owner. For detailed subscription instructions, see the https://aws.amazon.com/marketplace/help/200799470[AWS Marketplace documentation^]. . When the subscription process is complete, exit out of AWS Marketplace without further action. *Do not* provision the software from AWS Marketplace—the Quick Start deploys the AMI for you. endif::marketplace_subscription[] // \Not to be edited === Create a http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html[key pair] in your preferred Region. To do this, in the navigation pane of the Amazon EC2 console, choose *Key Pairs*, *Create Key Pair*, type a name, and then choose *Create*. [#Deploy1] .Creating a key pair [link=images/image4.png] image::../images/image4.png[Deploy1,image,width=634,height=307] Amazon EC2 uses public-key cryptography to encrypt and decrypt login information. To be able to log in to your instances, you must create a key pair. With Windows instances, we use the key pair to obtain the administrator password via the Amazon EC2 console and then log in using Remote Desktop Protocol (RDP) as explained in the http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#having-ec2-create-your-key-pair[step-by-step instructions] in the _Amazon Elastic Compute Cloud User Guide_. === If necessary, https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-[request a service limit increase] for the Amazon EC2 *c4.2xlarge* instance type. To do this, in the AWS Support Center, choose *Create Case*, *Service Limit Increase*, *EC2 instances*, and then complete the fields in the limit increase form, as shown in Figure 4. The current default limit is 20 instances. + You might need to request an increase if you already have an existing deployment that uses this instance type, and you think you might exceed the default limit with this reference deployment. It might take a few days for the new service limit to become effective. For more information, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html[Amazon EC2 Service Limits] in the AWS documentation. *Note* The Quick Start uses five Elastic IP addresses by default: two for the NAT gateways, two for the proxies, and one for the RD Gateway instance. The default limit for Elastic IP addresses is five per AWS Region. If you’re planning to deploy multiple RD Gateway instances by configuring the *Number of RDGW Hosts* parameter, we recommend that you also request an increase in the Elastic IP address limit: In the https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-[AWS Support Center], choose *Create Case*, *Service Limit Increase*, *Elastic IPs*, and then complete the fields. [#Deploy2] .Requesting a service limit increase [link=images/image5.png] image::../images/image5.png[Deploy2,image,width=648,height=425] === Launch the Quick Start NOTE: You are responsible for the cost of the AWS services used while running this Quick Start reference deployment. There is no additional cost for using this Quick Start. For full details, see the pricing pages for each AWS service used by this Quick Start. Prices are subject to change. . Sign in to your AWS account, and choose one of the following options to launch the AWS CloudFormation template. For help with choosing an option, see link:#_deployment_options[deployment options] earlier in this guide. [cols=2*] |=== ^|https://fwd.aws/eN64n[Deploy {partner-product-short-name} into a new VPC on AWS^] ^|https://github.com/aws-quickstart/quickstart-microsoft-wapadfs/blob/main/templates/wap-adfs-master.template[View template^] ^|https://fwd.aws/jpzqA[Deploy {partner-product-short-name} into an existing VPC on AWS^] ^|https://github.com/aws-quickstart/quickstart-microsoft-wapadfs/blob/main/templates/wap-adfs.template[View template^] |=== WARNING: If you’re deploying {partner-product-short-name} into an existing VPC, make sure that your VPC has two private subnets in different Availability Zones for the workload instances, and that the subnets aren’t shared. This Quick Start doesn’t support https://docs.aws.amazon.com/vpc/latest/userguide/vpc-sharing.html[shared subnets^]. These subnets require https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html[NAT gateways^] in their route tables, to allow the instances to download packages and software without exposing them to the internet. Also, make sure that the domain name option in the DHCP options is configured as explained in the http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_DHCP_Options.html[Amazon VPC documentation^]. You provide your VPC settings when you launch the Quick Start. Each deployment takes about {deployment_time} to complete. [start=2] . Check the AWS Region that’s displayed in the upper-right corner of the navigation bar, and change it if necessary. This is where the network infrastructure for {partner-product-short-name} will be built. The template is launched in the {default_deployment_region} Region by default. // *Note:* This deployment includes Amazon EFS, which isn’t currently supported in all AWS Regions. For a current list of supported Regions, see the https://docs.aws.amazon.com/general/latest/gr/elasticfilesystem.html[endpoints and quotas webpage]. [start=3] . On the *Create stack* page, keep the default setting for the template URL, and then choose *Next*. . On the *Specify stack details* page, change the stack name if needed. Review the parameters for the template. Provide values for the parameters that require input. For all other parameters, review the default settings and customize them as necessary. // In the following tables, parameters are listed by category and described separately for the two deployment options: // * Parameters for deploying {partner-product-short-name} into a new VPC // * Parameters for deploying {partner-product-short-name} into an existing VPC