Skip to content

Example of a .NET core application being compiled and deployed to an AWS EC2 Container Service (ECS) cluster.

Notifications You must be signed in to change notification settings

jasonjanderson/dotnet-core-ecs-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Core ECS demo

Deployment requirements:

Deploy the ECR repository:

cd terraform/ecr-repo
terraform plan
terraform apply

Build the Docker container:

docker build --rm -f Dockerfile -t dotnet-ecs-demo:latest .

Login to ECR and push the Docker image:

aws ecr get-login
docker tag dotnet-ecs-demo <AWS ACCOUNT ID>.dkr.ecr.us-east-1.amazonaws.com/dotnet-ecs-demo:latest
docker push <AWS ACCOUNT ID>.dkr.ecr.us-east-1.amazonaws.com/dotnet-ecs-demo

Deploy the ECS cluster and the demo container:

cd terraform
terraform plan
terraform apply

About

Example of a .NET core application being compiled and deployed to an AWS EC2 Container Service (ECS) cluster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published