Contenu connexe Similaire à dotNET and Windows Workloads on AWS (20) Plus de Amazon Web Services (20) dotNET and Windows Workloads on AWS1. S U M M I T
B AH RAI N
2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
.NET and Windows Workloads on
AWS
Martin Beeby
Developer Evangelist
AWS
3. S U M M I TS U M M I T
A software developer since I was 16
Developer for 20 years
Work at AWS
MARTIN BEEBY
@THEBEEBS
4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
11
Years
Helping customers run and scale
Windows workloads in the cloud
400%
Growth
Between 2015 and 2018 of AWS
enterprise customers using Amazon
Elastic Compute Cloud (Amazon EC2) for
Windows server
Windows momentum on AWS
5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
10 years of innovation for Windows on AWSCustomerAdoption
2008
AWS Toolkit for Visual Studio
Microsoft SCOM plug-in release.
Microsoft SharePoint 2016 (Marketplace)
Microsoft SCVMM Plug-in
SAP instance on AWS 2012
Trusted Advisor checks for Windows
Hyper-V support in SMS
Windows for Lightsail
Application-consistent
Snapshots through VSS
AWS Directory Service
Sessions Manager
Dedicated Host
Enhancement Tag-On
Amazon EC2 Dedicated Hosts (BYOL)
Amazon EC2 Run Command
Amazon EC2 Systems Manager
Amazon EC2
Dedicated
Instances (BYOL)
Amazon EC2 Windows on Bare Metal/Hyper-V AMI
WS 2008 & SQL Server 2008
Windows Server 2008 R2
Windows Server 2012
Windows Server 2016
Windows Server 1803
Windows Server 2003
SQL 2017 AMI AL2/Ubuntu
SQL Server 2008 R2
Amazon RDS adds SQL Server
SQL Server 2017
SQL Server 2012
SQL Server 2008 R2
SQL Server 2016
2010 2012 2014 2016 2018 Today
143 instance types, 37 instance families
60 different AMIs for Windows workloads
.NET Core & Powershell on AL2/Ubuntu
Windows Deep Learning AMI
.NET Core 2.1 on Linux AMIs
AWS Lambda Support
for PowerShell Core
Amazon ECS for Windows Containers
AWS Tools for Windows PowerShell
AWS SDK for .NET
DynamoDB Accelerator AWS SDK for .NET
.NET on AWS Lambda & AWS CodeBuild
.NET Core 2.1 Support with Lambda & X-Ray
AWS X-Ray .NET SDK
.NET Developer Hub
AWS X-Ray .NET Core Support
.NET Developer Hub
6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Public cloud leaders
prevail in the Windows
market segment of the
infrastructure as a
service market
IDC, Windows Server Operating Environment Market Update, Doc # US44217118, Aug 2018
Note: Includes Windows instances deployed in the public
cloud IaaS market during 2017 Source: IDC estimates, 2018https://d1.awsstatic.com/analyst-reports/IDC_Slide_WindowsonAWS_JM181015.pdf
Worldwide Windows Public Cloud IaaS
Instances by Cloud Provider, 2017
57.7%
Azure
30.9%
Others
11.4%
7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Innovating on behalf of you―our customer
.NET Developer
SQL Database Administrator
System Administrator
Extend Existing
Investments
Reduce Business
Disruption
Innovate with New
Technologies
8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon RDS for SQL Server SQL Server on Amazon EC2
Power, HVAC, net
OS Install/Maintenance
OS Patching
DBMS Install/Maintenance
DBMS Patching
Database Backups
High Availability
Scaling
AWS managed Customer managed
Power, HVAC, net
OS Install/Maintenance
OS Patching
DBMS Install/Maintenance
DBMS Patching
Database Backups
High Availability
Scaling
• Consider Amazon
RDS first
• Focus on business
value tasks
• High-level tuning
• Schema optimization
• No in-house database
expertise
• Automatic host
replacement
• Need full control over
DB instance
• Replication
• Clustering
• Options that are not
available in
Amazon RDS
Options for Deploying SQL Server on AWS
9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
SQL Server on Amazon RDS
10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Multi-AZ SQL Server on Amazon RDS
Availability Zone 1
Private Subnet
Availability Zone 2
AWS Region
Amazon
RDS
Primary
Amazon
RDS
Secondary
Private Subnet
Automatic
Failover
11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Optimizing costs and performance with Windows,
Intel and AWS
• Over 57% of all Windows deployments in the cloud run on AWS, almost 2X over the closest
provider
• AWS has over 11 years of experience running Windows applications
• AWS offers the broadest family of instances
• General purpose, compute and memory optimized
• Packaged, custom AMI’s
• Multiple pricing models
• Maximum performance with optimized instances
• High memory – Largest SAP certified in-memory instances
• Z1d – fastest compute with Intel Xeon Scalable processor for design automation
12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS Instance Types and Intel Technologies
AWS Instance Type
High Memory
instances (6 TB, 9
TB, 12 TB)
Memory
Optimized z1d
Compute
Optimized C5n
General
Purpose M5
Memory
Optimized
Burstable
I/O
Optimized
GPU GPU
Comput
e P3
Memory
Optimized X1e
R5 T3 I3 G3
Intel® processor
Intel® Xeon® Platinum
8176M
Intel® Xeon® Scalable
Processors
3.0 GHz Intel
Xeon Platinum
8000
Intel® Xeon®
Platinum 8175M
series processors
Intel® Xeon®
Platinum 8000
Series
Intel® Xeon®
Scalable Pro
cessors
Intel E5-2686
v4 processor
Intel Xeon E5-
2686 v4
processors
Intel® Xeo
n® E5-
2686 v4
Intel® Xeon® E7
8880 processors
Intel® process
technology
Skylake 14nm Skylake-SP Skylake Skylake 14nm Skylake-SP Yes
22nm Ivy
Bridge
14nm
Broadwell
14nm
Broadwell
22nm Haswell
Intel® AVX AVX-512 AVX-512 AVX-512 AVX-512 AVX-512 AVX-512 Yes Yes Yes AVX 2.0
Intel® AES-NI Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Intel® TSX - - - - - - - - - Yes
Intel® Turbo Boost Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
SSDC+1 - - - - - - - - - Y
13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Why Microsoft SQL Server on Intel Xeon Scalable
processors
Industry Leading Performance – Processing workloads for all types at breakthrough
speeds, in memory OLTP, in-memory column store, runs Linux and Docker Containers, in-
database advanced analytics, end-to-end mobile BI, AI built-in
Consistent Experience – Most consistent on premises to cloud, Intel® Xeon® Scalable
processors available in AWS , easy migration to cloud
Better Security – Microsoft* TDE and Intel® AES-NI accelerate encryption¹, Microsoft SQL
Server* named least vulnerable database for 7 years²
14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Benefits of upgrading to AWS’ latest architecture
SW + HW upgrades optimize costs and performance
§ SW compliance
§ Reduction in TCO
§ Improved performance
§ Hybrid cloud ready
Windows & SQL Server + Intel Xeon Scalable
processors
§ Up to 56 cores/112 threads on 2 socket system
§ Up to 6TB of memory
§ Support for 100Gb NICs
§ Platform Security (UEFI, TPM 2.0, Secure Boot)
Benefits from Intel Xeon Scalable Processor
§ Better performance with less power
§ Full support of DDR4
§ Support for AVX-512 instructions
§ Support for Trusted Execution
Technology
§ Support for Transactional
Synchronization Extensions (TSX)
15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon FSx for Windows File Server
Learn more at aws.amazon.com/fsx/windows
Windows native for fully
compatible Windows File
System experience
Secure and compliant
including PCI-DSS,
ISO, and HIPAA
No hardware or
software to manage
Up to 10s of GB/s
throughput with sub-
millisecond latencies
16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Active Directory is the most widely used
enterprise repository for digital identities1
of Fortune 1000 use Active Directory2
AWS Directory Service for Microsoft Active Directory
Sources:
1 The State Of Microsoft Active Directory 2018, Forrester
2 Success with Enterprise Mobility: Identity, 2014, Microsoft
17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Proven AWS Directory Service to support your strategy
Preserves SSO
High compatibility
Richest set of features
Only cloud to
use actual AD
Only cloud that
preserves SSO
Most features of
all managed AD
Users don’t have to
sign in separately
Set up directory
in under two min
Broadest range of
AD aware apps
18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
.NET developer experience recent launches
AWS Lambda Support
for .NET Core &
PowerShell
Cloud Development Kit
(CDK) for .NET
Amazon EC2 AMIs for .NET
Core AMIs for Windows
Server 2019
BUILD
Modern apps
DEPLOY
DevOps
RUN
Pre-configured
PowerShell tool of choice Package best practices Deploy and run .NET faster
19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Enabling developers at every step
.NET Developer Center
aws.amazon.com/net
Central GitHub Repo for .NET on AWS
github.com/aws/net
20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Serverless
How to modernize your applications
21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Serverless
ü .NET Core 1.1 and .NET Core 2.1 (3.0 with AWS
Lambda Layers)
ü AWS Tools for PowerShell Core
ü Any code goes - no programming model
restrictions
ü Support for F# and ASP.NET included
ü Hello World executions averaging 0.37ms
22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AI Services
Pre-trained AI services that require
no ML skills or training
Easily add intelligence to your
existing apps and workflows
Quality and accuracy from
continuously-learning APIs
A I S E R V I C E S
A M A Z O N
R E K O G N I T I O N
I M A G E
A M A Z O N
P O L L Y
A M A Z O N
T R A N S C R I B E
A M A Z O N
T R A N S L A T E
A M A Z O N
C O M P R E H E N D
& A M A Z O N
C O M P R E H E N D
M E D I C A L
A M A Z O N
L E X
A M A Z O N
R E K O G N I T I O N
V I D E O
Vision Speech Chatbots
A M A Z O N
F O R E C A S T
A M A Z O N
T E X T R A C T
A M A Z O N
P E R S O N A L I Z E
Language Forecasting Recommendations
23. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
OCR++ service to easily extract text and data from
virtually any document. No ML experience required.
24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon Textract features
Text extraction Table extraction Form extraction
25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon Textract—text extraction
Blocks: PAGE, PARAGRAPH, LINE, WORD
is washed by waves, and cooled
26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Name Description
Blocks List of blocks identified
from the document
ID Unique ID of the unit
Relationships CHILD
Block type PAGE, PARAGRAPH, LINE, WORD
Pages Contains number of
pages in the document
Amazon Textract—text extraction API
DetectDocumentText
Name Description
Document Blob or Amazon S3
object
27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon Textract
Text extraction simplified
Output
Extract data quickly &
accurately
No code or templates to
maintain
28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Output {
Start Date: 1/15/2009
End Date: 6/30/2013
Employer Name: Any Company
Position Held: Head Baker
Reason for leaving: Family relocated
}
Amazon Textract
Table extraction simplified
29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Output Full Name:
First: John
Middle: X
Last: Doe
Date of Birth:
MM: 01
DD: 01
YYYY: 1971
Gender:
Male: True
Female: False
Amazon Textract
Form extraction simplified
30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
36. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
37. View a recording of the on stage demo
Installing the AWS Toolkit for Visual
Studio
https://thebeebs.net/summit-demo-toolkit-install
38. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
39. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
40. View a recording of the on stage demo
Explore the AWS Explorer
https://thebeebs.net/summit-demo-aws-explorer
41. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
42. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
43. View a recording of the on stage demo
Create website and publish to Elastic
Beanstalk
https://thebeebs.net/summit-demo-elastic-beanstalk
45. View a recording of the on stage demo
Show website
https://thebeebs.net/summit-demo-elastic-connect
47. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
48. Leading Containers Offerings for .NET
ü .NET Core on Linux
ü .NET Core on Windows
ü .NET Framework on
Windows
ü .NET Core on Linux
Amazon Elastic Container Service
ü .NET Core on Linux
ü .NET Core on Windows
ü .NET Framework on
Windows
Amazon Elastic Container
Service for Kubernetes
49. View a recording of the on stage demo
Add Docker Support to an app and
deploy to ECR
https://thebeebs.net/summit-demo-container
51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Rekognition
52. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
53. View a recording of the on stage demo
S3 triggering a Lambda
https://thebeebs.net/summit-demo-s3-lambda
55. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda S3
public async Task FunctionHandler(S3Event input, ILambdaContext context)
{
foreach(var record in input.Records)
{
}
}
56. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Right Image Format
if(!SupportedImageTypes.Contains(Path.GetExtension(record.S3.Object.Key)))
{
Console.WriteLine($"Object {record.S3.Bucket.Name}:{record.S3.Object.Key} is not a
supported image type");
continue;
}
57. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Detect Async
58. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Get Labels
59. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Add tags to S3 objects
60. View a recording of the on stage demo
Lambda add Role
https://thebeebs.net/summit-demo-s3-lambda-add-role
62. View a recording of the on stage demo
Add Bucket to Lambda
https://thebeebs.net/summit-demo-s3-lambda-add-bucket
64. View a recording of the on stage demo
Upload image to S3 to trigger function
https://thebeebs.net/summit-demo-lambda-upload-image
66. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
67. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
68. Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Martin Beeby
Developer Evangelist
AWS