Difference between revisions of "Publish Project to AWS"

From MgmtWiki
Jump to: navigation, search
(Deployment File)
(Solution)
Line 5: Line 5:
 
==Problems==
 
==Problems==
 
==Solution==
 
==Solution==
 +
From the website [https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/dotnet-core-tutorial.html Deploying an ASP.NET core application with Elastic Beanstalk].
 
# Prepare a project with all dependencies marked.
 
# Prepare a project with all dependencies marked.
 
# Add a deployment file (see section below)
 
# Add a deployment file (see section below)

Revision as of 11:28, 5 June 2020

Full Title or Meme

Build and zip a Visual Studio dot net core 2.1+ Project for publication to Amazon Web Services.

Context

Problems

Solution

From the website Deploying an ASP.NET core application with Elastic Beanstalk.

  1. Prepare a project with all dependencies marked.
  2. Add a deployment file (see section below)

Deployment File

{
 "manifestVersion": 1,
 "deployments": {
   "aspNetCoreWeb": [
     {
       "name": "my-dotnet-core-app",
       "parameters": {
         "archive": "dotnet-core-app.zip"
       }
     }
   ]
 }
}
Example dotnet-core-bundle.zip
-- aws-windows-deployment-manifest.json
-- dotnet-core-app.zip

References