Getting Started with .NET on AWS
SPL-TF-100-DVGSNA-1 - Version 1.0.1
© 2021 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. All trademarks are the property of their owners.
Corrections, feedback, or other questions? Contact us at AWS Training and Certification.
In this lab, you will gain a basic understanding of developing with .NET using the AWS Toolkit for Visual Studio. You will be able to extend the functionality of an existing .NET Core web application, while interacting with Amazon DynamoDB. You will learn how to deploy the web application to AWS Elastic Beanstalk. Finally, you will interact with AWS X-Ray to gain observability into the application’s performance and troubleshoot a latency issue.
This lab makes use of the following AWS tools and services:
AWS SDK for .NET
- The AWS SDK for .NET is a collection of packages, one per AWS service, distributed on NuGet. Each service package contains a client class that implements the APIs for the service, together with a collection of additional classes to support the request and response model data that each API uses. As a whole, the packages enable you to call AWS services in the same way you would call a method on an object in your own application, enabling you to easily integrate AWS services with your application. The SDK takes care of the heavy lifting involved in calling web service APIs - data marshaling to and from XML or JSON, request signing, error retries, throttling back-off, and more.
- Learn more about AWS SDK for .NET
AWS Toolkit for Visual Studio
- The AWS Toolkit for Visual Studio is a plugin for the Visual Studio IDE that makes it easier for you to develop, debug, and deploy .NET applications that use Amazon Web Services. The Toolkit for Visual Studio is supported for Visual Studio versions 2013 and later.
- Learn more about the AWS Toolkit for Visual Studio
- Amazon Cognito provides authentication, authorization, and user management for your web and mobile apps. Your users can sign in directly with a user name and password, or through a third party such as Facebook, Amazon, Google or Apple.
- Learn more about Amazon Cognito
- Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It's a fully managed, multi-region, multi-active, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB can handle more than 10 trillion requests per day and can support peaks of more than 20 million requests per second.
- Learn more about the Amazon DynamoDB
AWS Elastic Beanstalk
- AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.
- Learn more about AWS Elastic Beanstalk
Amazon Elastic Compute Cloud (Amazon EC2)
- Amazon EC2 is a web service that provides resizable compute capacity in the cloud. It's designed to make web-scale cloud computing easier for developers. Amazon EC2 reduces the time required to obtain and boot a new server instance to minutes, allowing you to quickly scale capacity, both up-and-down, as your computing requirements change.
- Learn more about the Amazon EC2
AWS Systems Manager Parameter Store
- AWS Systems Manager Parameter Store provides secure, hierarchical storage for configuration data management and secrets management. The IDs of the user pool and the web application have been stored in the Systems Manager's Parameter Store.
- Learn more about AWS Systems Manager's Parameter Store
- AWS X-Ray helps developers analyze and debug production, distributed applications, such as those built using a microservices architecture. With X-Ray, you can understand how your application and its underlying services are performing to identify and troubleshoot the root cause of performance issues and errors. X-Ray provides an end-to-end view of requests as they travel through your application, and shows a map of your application’s underlying components. You can use X-Ray to analyze both applications in development and in production, from simple three-tier applications to complex microservices applications consisting of thousands of services.
- Learn more about AWS X-Ray
After completing this lab you will be able to:
- Use Remote Desktop (RDP) to connect to an Amazon EC2 instance running Windows Server as your development environment.
- Update the functionality of the web application to interact with Amazon Cognito for end-user authentication, DynamoDB for database storage, and the Parameter Store to store and retrieve application settings and secrets.
- Use Elastic Beanstalk from Visual Studio to deploy the web application.
- Use X-Ray to troubleshoot a simulated latency issue.
Join Qwiklabs to read the rest of this lab...and more!
- Get temporary access to the Amazon Web Services Console.
- Over 200 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.