SlideShare a Scribd company logo
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
.NET Development on the AWS Platform
Vogon Poetry – May 30, 2018
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
What is AWS
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
Brief History
 Started with S3 in March 2006
 Shortly there after added SQS (which really wasn’t a queue)
 August 2006 starts rollout of EC2 but isn’t ready for public until August
2007
 April 2008 Google launches App Engine
 February 2010 Microsoft launches Azure
 Along new services offerings are added. As of today there 19 different
top-level categories of services and more than 90 different services to use
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
There is no cloud or
computer
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
AWS Lambda
 Lambda is a compute service (Serverless) that executes code when needed with
automatic scaling
 Triggered by events
 File events in S3 (Add, Delete)
 Changes in DynamoDB
 Data Stream processing
 API Gateway Requests
 Functions can be written in Node, Java, C#, Go, and Python
 No access to underlying system
 Amazon manages OS and language runtime
 Use EC2 or Elastic Beanstalk if you need more control.
Demo of Building an S3 bucket and a Lambda
trigger
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
Lambda Testing
 Easy to unit and integration test if using Visual Studio
 See logs and events, throttle memory, add timeouts, all from VS
 Or, since 2017, test using the AWS Serverless Application Model (AWS
SAM) CLI by deploying the lambda to a local environment. This was
handy using VS Code but I found the tools in full VS to be the better
option
 https://github.com/awslabs/serverless-application-model
Demo
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
API Gateway - Proxies
 Configured on a per method basis
 Can redirect to hit a lambda function
 Can hit another API
 Can forward credentials from initial call
 Or, authenticate in another way (e.g., another lambda, AWS Cognito
User Pools)
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
API Gateway – Data
Mapping
 Request body and headers can be passed along or transformed
 Incoming and outgoing
 Models and mapping templates can be set up to transform data
 Other lambdas may be hit before passing along or returning data to
transform
 Custom responses can be created and returned per HTTP status code
 e.g. “400 - Bad Request - That request was bad and you should feel
bad”
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
API Gateway -
Management
 Fast and simple deployment to configured environments (PROD, QA,
DEMO, DEV, etc)
 Environments can be reused or created ad-hoc at the time deployment
 Easy to manage documentation for each API method
 Easy to export documentation for the full API
 Swagger
 Postman
 Or conversely, an API Gateway can be created via import from a
Swagger export
 The difficult part – finding anything in the API Gateway UI.
Demo
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
Bonus Time
 Logging to CloudWatch Logs
 Back in January, Amazon made a set of packages and templates
available to let you run ASP.Net Core 2.0 in Lambda
 This means you don’t have to even set up Elastic Beanstalk to be able
to host your ASP.Net Core website.
 There is a template to do all of the CloudFormation (provisioning) as
part of the project
 AWS has command line tools (Because Chad)
Demo
EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE
Resources and
References
 https://aws.amazon.com/sdk-for-net/
 https://docs.aws.amazon.com/lambda/latest/dg/welcome.html
 https://twitter.com/awsfornet
 https://read.acloud.guru/comparing-aws-lambda-performance-of-node-js-python-
java-c-and-go-29c1163c2581
 https://github.com/awslabs/serverless-application-model
 https://aws.amazon.com/blogs/developer/serverless-asp-net-core-2-0-
applications/
 https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.A
WSToolkitforVisualStudio2017
 https://aws.amazon.com/cli/

More Related Content

PDF
Introduction to AWS Lambda with Python
PDF
AWS Lambda Containers - bridging the gap between serverless and containers on...
PDF
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
PDF
AWS chez Attestis
PPTX
從劍宗到氣宗 - 談AWS ECS與Serverless最佳實踐
PDF
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
PDF
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
PDF
AWS Community Day Bangkok 2019 - Hello ClaudiaJS
Introduction to AWS Lambda with Python
AWS Lambda Containers - bridging the gap between serverless and containers on...
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
AWS chez Attestis
從劍宗到氣宗 - 談AWS ECS與Serverless最佳實踐
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Hello ClaudiaJS

What's hot (14)

PPTX
AWS Cloud Formation
PDF
Introduction to the Serverless paradigm
PDF
Rescale New Feature: Bring Your Own VPC
PPTX
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
PDF
AWS Lambda: Advanced Coding Session
PPTX
Amazingly Simple Serverless Go
PDF
Serverless Architecture on AWS
PPTX
ActiveCampaign API Developer Talks - Motivating Sales with Code
PDF
Serverless Computing, AWS Way: SourceFuse Technologies
PDF
Cloud Academy's AWS Hands on-labs
PDF
How to Use AWS Lambda Layers and Lambda Runtime
PDF
Infrastructure as a code: a cloud approach
PDF
ACUG 12 Clouds - Cloud Formation
PPTX
Real World AWS Deployment With Boto, Fabric, and Cloud Formation
AWS Cloud Formation
Introduction to the Serverless paradigm
Rescale New Feature: Bring Your Own VPC
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
AWS Lambda: Advanced Coding Session
Amazingly Simple Serverless Go
Serverless Architecture on AWS
ActiveCampaign API Developer Talks - Motivating Sales with Code
Serverless Computing, AWS Way: SourceFuse Technologies
Cloud Academy's AWS Hands on-labs
How to Use AWS Lambda Layers and Lambda Runtime
Infrastructure as a code: a cloud approach
ACUG 12 Clouds - Cloud Formation
Real World AWS Deployment With Boto, Fabric, and Cloud Formation
Ad

Similar to .Net Development on AWS (20)

PDF
Building serverless backends - Tech talk 5 May 2017
PDF
Stephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
PDF
Wildrydes Serverless Workshop Tel Aviv
PDF
Getting started building your first serverless web application on AWS
PDF
Serverless applications with AWS
PDF
Getting Started with AWS Lambda & Serverless Cloud
PDF
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
PPTX
Getting started with Serverless on AWS
PDF
Aws lambda webinar -buraku
PPTX
From Monolithic to Modern Apps: Best Practices
PDF
Overview aws-lambda-security
PDF
Serverless on AWS: Architectural Patterns and Best Practices
PDF
Re cap2018
PDF
Serverless best practices plus design principles 20m version
PPTX
Going serverless with aws lambda
PPTX
AWS Serverless Computing Introduction Session 2.pptx
PDF
AWSomeDay Zurich 2018 - How to go serverless
PDF
Build an app on aws for your first 10 million users (2)
PPTX
Lambda land: Running a serverless ticketing platform for less than $2 a month
PPTX
Running a serverless ticketing platform for less than $2 a month
Building serverless backends - Tech talk 5 May 2017
Stephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
Wildrydes Serverless Workshop Tel Aviv
Getting started building your first serverless web application on AWS
Serverless applications with AWS
Getting Started with AWS Lambda & Serverless Cloud
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Getting started with Serverless on AWS
Aws lambda webinar -buraku
From Monolithic to Modern Apps: Best Practices
Overview aws-lambda-security
Serverless on AWS: Architectural Patterns and Best Practices
Re cap2018
Serverless best practices plus design principles 20m version
Going serverless with aws lambda
AWS Serverless Computing Introduction Session 2.pptx
AWSomeDay Zurich 2018 - How to go serverless
Build an app on aws for your first 10 million users (2)
Lambda land: Running a serverless ticketing platform for less than $2 a month
Running a serverless ticketing platform for less than $2 a month
Ad

Recently uploaded (20)

PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
AI in Product Development-omnex systems
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
System and Network Administraation Chapter 3
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Online Work Permit System for Fast Permit Processing
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
ai tools demonstartion for schools and inter college
PPTX
Introduction to Artificial Intelligence
PDF
top salesforce developer skills in 2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
Softaken Excel to vCard Converter Software.pdf
ManageIQ - Sprint 268 Review - Slide Deck
2025 Textile ERP Trends: SAP, Odoo & Oracle
Upgrade and Innovation Strategies for SAP ERP Customers
AI in Product Development-omnex systems
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Design an Analysis of Algorithms I-SECS-1021-03
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Nekopoi APK 2025 free lastest update
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Design an Analysis of Algorithms II-SECS-1021-03
System and Network Administraation Chapter 3
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PTS Company Brochure 2025 (1).pdf.......
Online Work Permit System for Fast Permit Processing
How to Migrate SBCGlobal Email to Yahoo Easily
ai tools demonstartion for schools and inter college
Introduction to Artificial Intelligence
top salesforce developer skills in 2025.pdf
L1 - Introduction to python Backend.pptx

.Net Development on AWS

  • 1. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE .NET Development on the AWS Platform Vogon Poetry – May 30, 2018
  • 2. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE What is AWS
  • 3. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE Brief History  Started with S3 in March 2006  Shortly there after added SQS (which really wasn’t a queue)  August 2006 starts rollout of EC2 but isn’t ready for public until August 2007  April 2008 Google launches App Engine  February 2010 Microsoft launches Azure  Along new services offerings are added. As of today there 19 different top-level categories of services and more than 90 different services to use
  • 4. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE There is no cloud or computer
  • 5. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE AWS Lambda  Lambda is a compute service (Serverless) that executes code when needed with automatic scaling  Triggered by events  File events in S3 (Add, Delete)  Changes in DynamoDB  Data Stream processing  API Gateway Requests  Functions can be written in Node, Java, C#, Go, and Python  No access to underlying system  Amazon manages OS and language runtime  Use EC2 or Elastic Beanstalk if you need more control.
  • 6. Demo of Building an S3 bucket and a Lambda trigger
  • 7. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE Lambda Testing  Easy to unit and integration test if using Visual Studio  See logs and events, throttle memory, add timeouts, all from VS  Or, since 2017, test using the AWS Serverless Application Model (AWS SAM) CLI by deploying the lambda to a local environment. This was handy using VS Code but I found the tools in full VS to be the better option  https://github.com/awslabs/serverless-application-model
  • 9. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE API Gateway - Proxies  Configured on a per method basis  Can redirect to hit a lambda function  Can hit another API  Can forward credentials from initial call  Or, authenticate in another way (e.g., another lambda, AWS Cognito User Pools)
  • 10. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE API Gateway – Data Mapping  Request body and headers can be passed along or transformed  Incoming and outgoing  Models and mapping templates can be set up to transform data  Other lambdas may be hit before passing along or returning data to transform  Custom responses can be created and returned per HTTP status code  e.g. “400 - Bad Request - That request was bad and you should feel bad”
  • 11. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE API Gateway - Management  Fast and simple deployment to configured environments (PROD, QA, DEMO, DEV, etc)  Environments can be reused or created ad-hoc at the time deployment  Easy to manage documentation for each API method  Easy to export documentation for the full API  Swagger  Postman  Or conversely, an API Gateway can be created via import from a Swagger export  The difficult part – finding anything in the API Gateway UI.
  • 12. Demo
  • 13. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE Bonus Time  Logging to CloudWatch Logs  Back in January, Amazon made a set of packages and templates available to let you run ASP.Net Core 2.0 in Lambda  This means you don’t have to even set up Elastic Beanstalk to be able to host your ASP.Net Core website.  There is a template to do all of the CloudFormation (provisioning) as part of the project  AWS has command line tools (Because Chad)
  • 14. Demo
  • 15. EMPATHIZE THEN OWN IT | BUILD SMART | DELIVER WITH PRIDE Resources and References  https://aws.amazon.com/sdk-for-net/  https://docs.aws.amazon.com/lambda/latest/dg/welcome.html  https://twitter.com/awsfornet  https://read.acloud.guru/comparing-aws-lambda-performance-of-node-js-python- java-c-and-go-29c1163c2581  https://github.com/awslabs/serverless-application-model  https://aws.amazon.com/blogs/developer/serverless-asp-net-core-2-0- applications/  https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.A WSToolkitforVisualStudio2017  https://aws.amazon.com/cli/