Name: aws-xray-dotnet-webapp
Owner: Amazon Web Services - Labs
Owner: AWS Samples
Description: An ASP.NET Web API application that has been instrumented for AWS X-Ray
Created: 2016-11-29 23:20:33.0
Updated: 2017-05-17 15:40:37.0
Pushed: 2017-04-19 16:52:04.0
Homepage: null
Size: 23
Language: C#
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An ASP.NET Web API application that has been instrumented for AWS X-Ray.
This application is written to be deployed with Elastic Beanstalk. It uses .ebextensions to setup AWS resources and configuration, which includes:
Create a RDS SQL Server DB instance. Steps
Construct the connection string for SQL Server and fill it into web.config key “RDS_CONNECTION_STRING”.
“Data Source=(RDS endpoint),(port number);User ID=(your user name);Password=(your password);”
Deploy the application to Elastic Beanstalk. Steps.
Make sure you attached an IAM role to your EC2 instance with the following policy
sion": "2012-10-17",
tement": [
{
"Action": [
"sns:Publish",
"xray:PutTelemetryRecords",
"xray:PutTraceSegments",
"dynamodb:PutItem",
"dynamodb:GetItem",
"dynamodb:DescribeTable"
],
"Resource": [
"*"
],
"Effect": "Allow"
}
Access the application using EB environment URL.