Upgrade to Pro — share decks privately, control downloads, hide ads and more …

.NET on AWS

Ahmed Samir
September 25, 2020

.NET on AWS

I’m .NET developer why would I consider AWS ?!
ASP.net on AWS
Monitoring and logging
Deployment Options
Demos

Ahmed Samir

September 25, 2020
Tweet

Other Decks in Technology

Transcript

  1. COMMUNITY DAY MENA Agenda • I’m .NET developer why would

    I consider AWS ?! • ASP.net on AWS • Monitoring and logging • Deployment Options • Demos
  2. COMMUNITY DAY MENA AWS joins .NET Foundation , Sep 2019

    AWS has been an active contributor to the .NET ecosystem for years During the time .NET Core was in early development, we knew this was the future of .NET. We quickly started building support for .NET Core and were able to add support during the early betas of .NET Core. We also released the first AWS Lambda .NET Core runtime for serverless applications just a few months after .NET Core 1.0 was released. Like the .NET Foundation, we know it is important to do this work in the open, so the AWS .NET team works openly on GitHub at github.com/aws/dotnet with the libraries and tools we build. Fred Wurden, General Manager of AWS Windows and Enterprise
  3. COMMUNITY DAY MENA Why run .NET Apps on AWS? 2x

    More windows server instances types 2x More regions with multiple AZs 7x Fewer downtime 2x Higher performance for SQL server on windows 5x More services offering encryption
  4. COMMUNITY DAY MENA Where can .NET run in AWS? .NET

    .NET Core Window Servers in EC2 or Elastic beanstalk Windows server containers in ECS Windows/Linux in EC2 or Elastic beanstalk Windows server containers in ECS Linux server containers in ECS Fargate Lambda
  5. COMMUNITY DAY MENA AWS Extensions for .NET CLI Amazon.ECS.Tools Amazon.ElasticBeanstalk.Tools

    Amazon.Lambda.Tools Package adds commands to the dotnet cli that can be used manage Lambda functions including deploying a function from the dotnet cli
  6. COMMUNITY DAY MENA Amazon Cognito Authentication Extension Library Amazon.Extensions.CognitoAuthentication simplifies

    the authentication process of Amazon Cognito User Pools for .NET developers. It allows you to use various authentication methods for Amazon Cognito User Pools with only a few short method calls, and makes the process intuitive.
  7. COMMUNITY DAY MENA AWS Logging .NET A set of plugins

    for popular .NET logging frameworks that integrate with Amazon Web Services. The plugins use the Amazon CloudWatch Logs service to write log data to a configured log group. The logs can be viewed and searched using the AWS CloudWatch Console. Supported Logging Frameworks 1. NLog 2. Apache log4net 3. ASP.NET Core Logging 4. Serilog
  8. COMMUNITY DAY MENA AWS X-Ray with .NET APPs It provides

    classes and methods for generating and sending trace data. This includes information about incoming requests served by the application, and calls that the application makes to downstream AWS services, HTTP web APIs, and SQL databases
  9. COMMUNITY DAY MENA AWS Cloud Development Kit It’s an open

    source software development framework to model and provision your cloud application resources using familiar programming languages
  10. COMMUNITY DAY MENA Amazon EC2 AMIs with .NET Core Amazon

    Web Services now offers Amazon Machine Images (AMI) with .NET Core on Amazon Linux 2 and Ubuntu. These AMIs are packaged and pre-configured with .NET Core 2.0, PowerShell Core 6.0, and the AWS Command Line Interface (CLI) enabling you to quickly and easily deploy and run .NET Core applications on Amazon EC2
  11. COMMUNITY DAY MENA AWS Elastic Beanstalk AWS Lambda Amazon Elastic

    Kubernetes Service Amazon Lightsail Amazon Elastic Container Service Amazon EC2 Deployment Options
  12. COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS

    Elastic Beanstalk from Visual Studio To complete the steps in this guide you will need: ✓ .NET Core 2.0 or higher installed ✓ An AWS Account* ✓ An IAM user with access key credentials** ✓ Visual Studio 2017 or Visual Studio 2019 for Windows 1.Installing the AWS Toolkit for Visual Studio 2.Configuring the toolkit with credentials for your AWS account 3.Creating a sample ASP.NET Core application starter project 4.Publishing the sample application using the toolkit's "Publish to Elastic Beanstalk" wizard 5.Testing the deployed application 6.Deleting the deployed application Steps