aws re:invent 2016: how to launch a 100k-user corporate back office with microsoft servers and aws...

26
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bill Jacobi, Senior Solutions Architect November 30, 2016 Running Your First 100K Microsoft Users on AWS WIN303

Upload: amazon-web-services

Post on 06-Jan-2017

100 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Bill Jacobi, Senior Solutions Architect

November 30, 2016

Running Your First 100K

Microsoft Users on AWS

WIN303

Page 2: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

What to Expect from the Session

Learn how AWS has built a push-button, automated solution that runs

the Microsoft Servers that have been scaled to 100K users.

This session will discuss how to build, load-test, and display metrics of a

complex Windows stack. Attendees should have familiarity with

Microsoft server architectures and AWS.

This session will cover Windows technologies mapped to AWS including

EC2 Windows, Bootstrapping, Load Balancing, CloudFormation, Elastic

Beanstalk, Elasticsearch, CodeCommit, and Direct Connect to facilitate

running a multi-tier Microsoft server stack at scale.

Page 3: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Why Run Microsoft Servers on AWS?

Amazon’s Migration to AWS

Microsoft Servers Quick Start

Demo of 100K Users

Load Testing with Locust and ELK stack

- SA Contributor: Len Henry

How the Solution was Built

Agenda

Page 4: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Why Run Microsoft Servers on AWS?

ISV Application and Add-

On Compatibility

ISV applications and add-ons are supported by the AWS

Infrastructure-as-a-Service platform

DevOps enabled AWS CloudFormation builds infrastructure while Microsoft

PowerShell builds applications, in a CI/CD lifecycle

Optimization AWS enables you to monitor, aggregate, report on, and act on

application and infrastructure metrics

Depth/breadth of services Build solutions around the Microsoft stack that combine the

Windows and Open Source ecosystems, and AWS services

Auditability enabled Every API call, network packet in/out, and infrastructure

change is audited and logged, supported by a rich policy model

License management AWS Config can monitor license compliance of server-bound

licenses on Amazon Dedicated Hosts and Dedicated Instances.

Enabled for compliance Applications can run under NIST, PCI, or HIPAA Accelerators to

provide baseline regulatory controls

Page 5: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

In 2013, Amazon IT decided to migrate the Microsoft stack to AWS

Over 200K Amazon users access Exchange, SharePoint, and Lync through the corporate image

Exchange data points:

• There are 26 Exchange servers (4 per AZ)

• 7,600 users per server

• DAG Architecture for HA

• Supports users in Americas, EMEA, and Asia

Amazon’s Migration to AWS

Page 7: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

• Exchange DAG architecture

• Lync Paired Pool

architecture

• SQL Server Always On

architecture for SharePoint

• Brick architecture

represents a 10K modular

pod: Scale horizontally

• Use the Microsoft capacity

calculators to validate

logical architecture

• Use load-testing to validate

physical architecture

Microsoft Topologies

10.0.0.10

Page 8: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Amazon Infrastructure

• Single VPC for integrated

cross-server experience

• Multiple AZs for high

availability across all servers

• DMZ subnet for management

• Private subnet for all

application servers

• Security groups for server

roles and NACLs for subnets

• 2 AD sites mapped to the 2

AZs for high availability

• Amazon Workspaces clients

or on-premises clients

• Connect to on-premises

through VPN or AWS Direct

Connect

Page 9: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Microsoft Servers Quick Start

Page 10: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Client Demo – Microsoft Servers

Page 11: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Server Demo – Microsoft Servers

Page 12: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Load Testing 100K Users with Locust

Locust

master

Locust

worker

Locust

workerLocust

worker

Locust

worker

Locust

worker

Locust

worker

Locust

workerLocust

worker

Locust

worker

SharePoint

WFE/App1

SharePoint

WFE/App2SharePoint

WFE/App3

SharePoint

WFE/App4

SharePoint

WFE/App5

SharePoint

WFE/App6

SharePoint

WFE/App7SharePoint

WFE/App8

SharePoint

WFE/App9SharePoint WFE/App10

Page 13: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Log Aggregation of IIS web requests with an

ELK (ElasticSearch, LogStash, Kibana) Stack

Amazon Elasticsearch

https://www.elastic.co/products/logstash

Page 14: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Log Display with a Kibana Dashboard

Page 15: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

How the Solution was Built

• CloudFormation Stacks, PowerShell, Parameters

• AWS CodeCommit

• SharePoint Logical and Physical Architecture

• Performance and Latency

• Auditability

Page 16: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

CloudFormation is service for automating deployment of resources: EC2, VPC, NAT, and others

CloudFormation template

− JSON-formatted document which describes a configuration to be deployed in an AWS account

− When deployed, refers to a “stack” of resources

− Stacks can and should be nested for modularity

− Starting point is a usually a baseline OS or pre-configured AMI

PowerShell is inserted into instance start up in CloudFormation

CloudFormation controls configuration across reboots

AWS

CloudFormation

DevOps – CloudFormation

Page 17: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

DevOps – AWS Cloud Formation

MasterStack orchestration

ADStack

SQLStack ExchangeStack

SharePointStack LyncStack

1

2

3 4

5 6

AZs, VPC, subnets, R53 DC, Global Catalog, DNS,

Repl

AZs, LB, VPC, R53MBOX, Edge, DAG, RDG,

AD

AZs, LB, VPC, R53FrontEnd, Edge, SQL,

RDG, AD

AZs, VPC, EIPs, storageWSFC, AlwaysOn, Quorum,

Witness, RDG, Full Backup

AZs, LB, VPC, R53WFE, AppSrv, SQL, RDG,

AD

Layer 1

Layer 2

Layer 3

MSServers Solution - 6 CloudFormation Stacks

Page 18: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

DevOps – Nested Stacks

• Master stack calls AD; Depends on SQL and

• Stacks create modularity, reuse, and resource ordering

• See blog post for more details

"Resources": {

"ADStack": …AWS::CloudFormation::Stack…

"SQLStack": {

"Type": "AWS::CloudFormation::Stack",

"DependsOn": "ADStack",

"Properties": …

}

Page 19: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

CloudFormation Parameters = Full Control

Page 20: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Create Lync FrontEnd1 Instance

Embed PowerShell

Sample of Lync Front End CFN Template

Page 21: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

AWS CodeCommit provides version control with Git

Page 22: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

SharePoint Logical Architecture

Page 23: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Performance and Latency: Wash DC–Portland, OR

88 ms round trip via Internet 59 ms round trip via Direct Connect

Page 24: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Auditability Infrastructure

− AWS CloudTrail

− AWS Config (see whitepaper for license auditing)

− Amazon Inspector

Network

− VPC flow logs

− Elastic Load Balancing access logs

Application

− Amazon CloudWatch Logs can integrate• IIS logs

• Event logs

• Event Tracing for Windows (ETW) logs

• Any performance counter data

• Exchange, Lync, SharePoint logs

• Any text-based log files

Dedicated Hosts

Visibility of sockets, cores, host ID

Page 25: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Related Sessions

Page 26: AWS re:Invent 2016: How to Launch a 100K-User Corporate Back Office with Microsoft Servers and AWS (WIN303)

Thank you!

WIN303 – Running your first 100K Microsoft users on AWS

Please fill out your evaluation form