More Related Content Similar to Yes, AWS *is* a Fantastic Environment for .NET! (20) Yes, AWS *is* a Fantastic Environment for .NET!1. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Yes, AWS is a Fantastic Environment
for .NET!
foreach (var svc in GetAWSServices())
runMyCodeOn(svc);
Andy Hopper, Solutions Architect
June 28th, 2018
2. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Where we’ve been, where we are, where we’re going
• A brief history lesson
• What are our options today?
• Demos!
3. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The most experience running .NET in the Cloud
In 2008…
• Large Hadron Collider at CERN
powered up in Geneva
• .NET 2.0 released
• Windows support in EC2
announced
https://aws.amazon.com/about-aws/whats-
new/2008/10/23/amazon-ec2-running-
windows-server-now-available/
4. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Running .NET on EC2
The “Easy Button” for running .NET on AWS
• Deploy on .NET Core/Linux for cost-effective scale
• Deploy on Windows for legacy support
Support for EC2 Profiles
• Invoke SDK/CLI without hard-coded credentials
• Think: “Windows Integrated Authentication,” but for AWS
5. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Quick Starts
• Created by AWS Solution
Architects
• Reference implementations
• SharePoint 2016
• Lync Server 2013
• Exchange
• SQL Enterprise
• Active Directory
https://aws.amazon.com/quickstart
6. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Toolkit for Visual Studio
AWS Explorer
• Browse your AWS Environment from within Visual Studio
Project Templates
• Lambda
• Elastic Beanstalk
• Serverless Apps
Deployment support
• Elastic Beanstalk
• CloudFormation
https://aws.amazon.com/visualstudio/
7. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo Time!
8. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Beanstalk
The easiest way to build a scalable, fault-tolerant
ASP.NET app
Windows 2008R2 to Windows 2016
Support for both .NET Framework and Core
• v1.0, v1.1
• v2, v3, v3.5
• v4.5, v4.6, v4.7
• Core v1.0, v2.0, v2.1
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.html
New!
9. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Another Demo
10. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS .NET SDK Support
NuGet Packages for most services
Heirarchical; take only the dependencies you need
• AWSSDK.Core
• AWSSDK.SecurityToken
• AWSSDK.CognitoIdentity
• AWSSDK.S3
• AWSSDK.DynamoDB
• …
11. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Yet more demos!
12. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Container Service
Run Windows Containers on ECS
• Windows 2016
Reference Architecture: Migrate ASP.NET to ECS
https://github.com/aws-samples/aws-ecs-windows-
aspnet
No Fargate/EKS support (yet)
13. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda
Supports C#/.NET Core 2.0
• 2.0 Currently Supported
• 2.1 (LTS) On Roadmap
• Support for Beanstalk Announced 6/25
• Lambda support coming soon
• Support in VS as a Project Template
• “dotnet lambda” extension
14. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
But wait, there’s more Lambda!
Leverage the .NET SDK to write Lambdas to handle
events triggered by AWS Services!
• API Gateway (Serverless Applications)
• S3
• Kinesis
• IoT
• CloudWatch
• SQS New!
15. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
You know what this presentation needs??
16. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CodeStar
Full lifecycle support in your AWS
environment
• CodeCommit
• Cloud9 IDE
• CodePipeline
• CodeBuild
• CodeDeploy
• CloudWatch
17. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Seriously, you can never have enough demos.
18. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS PowerShell Module
Supports Windows, MacOS, Linux
• Install-Module AWSPowerShell #Windows
• Install-Module AWSPowerShell.NetCore #Mac/Linux
The flexibility of objects, the power of the .NET CLR
• Get-S3Bucket | where {$_.Name –match "Analytics"}
https://docs.aws.amazon.com/powershell/latest/userguide/pstools
-welcome.html
19. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A demo once bit my sister…
20. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Xamarin
AWS Mobile SDK For .NET and Xamarin
• https://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide
Example code for common use cases
• Access DynamoDB
• Fetch S3 Objects
• Track usage with Mobile Analytics
21. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Mind you, demo bites can be pretty nasty…
22. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
CodeBuild Support for .NET Framework
Containerized build platform
• Fully managed
• Select your build image
• Supply build instructions
Windows containers now supported!
• Supports build environments for .NET Framework as
well as .NET Core
https://aws.amazon.com/blogs/devops/extending-aws-codebuild-
with-custom-build-environments-for-the-net-framework/
New!
23. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
One last demo for the road!
24. ©2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!