Difference between revisions of "Deploy .NET to AWS"
From MgmtWiki
(→Solutions) |
(→Solutions) |
||
Line 13: | Line 13: | ||
* Elastic Compute Cloud (EC2) was selected as the resource for its ease of deployment and expansion to handle volume. | * Elastic Compute Cloud (EC2) was selected as the resource for its ease of deployment and expansion to handle volume. | ||
* Elastic Beanstalk (EB) automates some of the deployment and expansion services for EC2. [https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.html Creating and Deploying Elastic Beanstalk Applications in .NET Using AWS Toolkit for Visual Studio.] | * Elastic Beanstalk (EB) automates some of the deployment and expansion services for EC2. [https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.html Creating and Deploying Elastic Beanstalk Applications in .NET Using AWS Toolkit for Visual Studio.] | ||
+ | * [https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/SSLNET.SingleInstance.html Terminating HTTPS on Amazon EC2 Instances Running .NET] on single instances (not behind a load balancer.) | ||
===Debugging=== | ===Debugging=== | ||
* It is possible to install and run AWS PowerShell tools to see what EC2 instances look like. (An instance is one server running the site.) | * It is possible to install and run AWS PowerShell tools to see what EC2 instances look like. (An instance is one server running the site.) |
Revision as of 15:37, 3 May 2019
Full Title
Deploying a ASP.NET core website to Amazon Web Services
Context
- Bring up a secure web site deployment with a minimum of fuss.
- At first the challenge is getting the Web Site working well.
- The assumption here is that the design is not fully fleshed out as the User Experience needs to be functional before it can be fully evaluated.
- Later the problem is to get the performance to be good while the deployment expands to multiple instances.
Problems
- The largest part of the problem is not getting the web site to run, but rather to ensure that it is secure using SSL certificates and HTTPS.
Solutions
- Elastic Compute Cloud (EC2) was selected as the resource for its ease of deployment and expansion to handle volume.
- Elastic Beanstalk (EB) automates some of the deployment and expansion services for EC2. Creating and Deploying Elastic Beanstalk Applications in .NET Using AWS Toolkit for Visual Studio.
- Terminating HTTPS on Amazon EC2 Instances Running .NET on single instances (not behind a load balancer.)
Debugging
- It is possible to install and run AWS PowerShell tools to see what EC2 instances look like. (An instance is one server running the site.)
- It is also possible to look at EB, but that requires the local computer to enable Python and PIP.
- Windows Remote Desktop was enabled to see what the EC2 instance really looked like.