Slide 1

Slide 1 text

COMMUNITY DAY MENA

Slide 2

Slide 2 text

Ahmed Samir Solutions Architect Communities Builder @aseldesouky #AWS_يبرعلاب #AWSRUG

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

COMMUNITY DAY MENA on AWS

Slide 8

Slide 8 text

COMMUNITY DAY MENA AWS Toolkit for Visual Studio 2017 and 2019

Slide 9

Slide 9 text

COMMUNITY DAY MENA AWS Toolkit for Visual Studio 2017 and 2019

Slide 10

Slide 10 text

COMMUNITY DAY MENA AWS Toolkit for Visual Studio Code

Slide 11

Slide 11 text

COMMUNITY DAY MENA AWS Toolkit for Azure Devops

Slide 12

Slide 12 text

COMMUNITY DAY MENA AWS Tools for Windows PowerShell and PowerShell Core

Slide 13

Slide 13 text

COMMUNITY DAY MENA AWS SDK for .NET

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

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.

Slide 16

Slide 16 text

COMMUNITY DAY MENA Monitoring and logging

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

COMMUNITY DAY MENA Deployment Options

Slide 20

Slide 20 text

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

Slide 21

Slide 21 text

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

Slide 22

Slide 22 text

COMMUNITY DAY MENA AWS Elastic Beanstalk AWS Lambda Amazon Elastic Kubernetes Service Amazon Lightsail Amazon Elastic Container Service Amazon EC2 Deployment Options

Slide 23

Slide 23 text

COMMUNITY DAY MENA Demos!

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS Elastic Beanstalk from Visual Studio

Slide 26

Slide 26 text

COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS Elastic Beanstalk from Visual Studio

Slide 27

Slide 27 text

COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS Elastic Beanstalk from Visual Studio

Slide 28

Slide 28 text

COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS Elastic Beanstalk from Visual Studio

Slide 29

Slide 29 text

COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS Elastic Beanstalk from Visual Studio

Slide 30

Slide 30 text

COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS Elastic Beanstalk from Visual Studio

Slide 31

Slide 31 text

COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS Elastic Beanstalk from Visual Studio

Slide 32

Slide 32 text

COMMUNITY DAY MENA 1) Deploying ASP.NET Core Applications to AWS Elastic Beanstalk from Visual Studio

Slide 33

Slide 33 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 34

Slide 34 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 35

Slide 35 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 36

Slide 36 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 37

Slide 37 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 38

Slide 38 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 39

Slide 39 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 40

Slide 40 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 41

Slide 41 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 42

Slide 42 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 43

Slide 43 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 44

Slide 44 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 45

Slide 45 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 46

Slide 46 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 47

Slide 47 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 48

Slide 48 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 49

Slide 49 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 50

Slide 50 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 51

Slide 51 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 52

Slide 52 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 53

Slide 53 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 54

Slide 54 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 55

Slide 55 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 56

Slide 56 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 57

Slide 57 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 58

Slide 58 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 59

Slide 59 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 60

Slide 60 text

COMMUNITY DAY MENA 2) Create a deployment pipeline between Azure Devops and AWS Elastic Beanstalk

Slide 61

Slide 61 text

COMMUNITY DAY MENA .NET Guys Are You ready now to work on AWS ?!

Slide 62

Slide 62 text

COMMUNITY DAY MENA Thanks!