Easily Deploy Your .NET Applications With Amazon ECS and Fargate

  Рет қаралды 73,028

Milan Jovanović

Milan Jovanović

Күн бұрын

Пікірлер: 34
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Get the source code for this video for FREE → the-dotnet-weekly.ck.page/aws-ecs Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
@dieterstreck5582
@dieterstreck5582 2 ай бұрын
Thanks Milan for the great videos. Would you please do one for Digital Ocean?
@vvincent22
@vvincent22 2 ай бұрын
How do we deploy multiple containers or deploying using docker compose. A good example can be How do we deploy the Modular Monoliths that contains multiple containers.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Great idea for a future video
@pilotboba
@pilotboba 2 ай бұрын
You wouldn't really use Docker Compose. You should use cloud formation or terraform. Generally with multiple containers you would define an ECS service. A service can contain multiple tasks (containers) and also auto scaling and other rules for orchestration. Doing stuff with the console is really more for dev stuff or learning/testing things.
@antukumar382
@antukumar382 2 ай бұрын
😊😊 😊
@ravindurasanjana4247
@ravindurasanjana4247 3 күн бұрын
@@MilanJovanovicTech It would be greate if you could demonstrate how to deploy multiple containers in Azure, whether for a microservice architecture or a modular monolith.
@digitnomad
@digitnomad 21 күн бұрын
As you know, you can build docker images programatically with Terraform. then a shell command pushes it to ECR automatically.
@MilanJovanovicTech
@MilanJovanovicTech 21 күн бұрын
I didn't know. Thanks for teaching me!
@MatheusLB2009
@MatheusLB2009 2 ай бұрын
Would love to see more Azure instead of AWS content, not that there's anything wrong with AWS but .NET docs use only Azure examples, they kinda are expected to go together
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Coming soon!
@shoooozzzz
@shoooozzzz 2 ай бұрын
why did Milan select "Task" instead of "Service"? Task's are standalone, run once and terminate.. Whereas Services are for things like a CRUD API... which is what he's demoing
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Tasks are simpler to set up and demonstrate quickly.
@ravindurasanjana4247
@ravindurasanjana4247 3 күн бұрын
It would be helpful if you could demonstrate how to deploy multiple containers in Azure, whether for a microservice architecture or a modular monolith.
@MilanJovanovicTech
@MilanJovanovicTech 2 күн бұрын
Will do
@ahimachaliboy162
@ahimachaliboy162 2 ай бұрын
Hi Milan, can you provide a video in which we restrict extra fields in json payload in c#
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Which JSON payload?
@fleems930
@fleems930 2 ай бұрын
Hi,Thanks for the fantastic video. Can you do another one with Azure as well?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Yes, releasing soon!
@natancolleoni
@natancolleoni 2 ай бұрын
How can we automate that deploy through github actions?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
You could use the Docker CLI / AWS CLI like I did here. There's also: aws.github.io/aws-dotnet-deploy/
@sunzhang-d9v
@sunzhang-d9v 2 ай бұрын
Do you want to dynamically add containers based on the number of visits?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Yes, we can do that
@DeejayMAK11
@DeejayMAK11 2 ай бұрын
@MilanJovanovicTech How do I automate this process? It seems like it will be quite complicated to build a pipeline to automate this process.
@pilotboba
@pilotboba 2 ай бұрын
With cloud formation or terraform. You ci can create or update the cfn stack with all the information needed to automate.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Looks like I need to make a CI video for AWS
@pilotboba
@pilotboba 2 ай бұрын
@@MilanJovanovicTech Maybe on cloud formation or the new kid CDK. We are moving to terraform so not using the CDK. But would solve some issues we've had.
@augustbryanflorese8882
@augustbryanflorese8882 2 ай бұрын
Yes would appreciate a CI CD followup of this topic!
@nouchance
@nouchance 2 ай бұрын
“Hello Milan! A question for you: why don’t you use macOS or Linux for .NET development?”
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
I find windows easier
@karthikkeyan4460
@karthikkeyan4460 2 ай бұрын
Excellent video. One question though. What about CORS ? I didn't see it being mentioned anywhere in the services / middleware pipeline.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
You can configure it from your .NET app, for example.
@lightknight876
@lightknight876 2 ай бұрын
CORS?!!
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
You can configure it from your .NET app, for example.
Migrating From Docker Compose to .NET Aspire (my experience)
17:01
Milan Jovanović
Рет қаралды 15 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Containers on AWS Overview: ECS | EKS | Fargate | ECR
25:10
TechWorld with Nana
Рет қаралды 540 М.
Deploying  .NET Web API to Amazon ECS Fargate Easily!
15:52
Mukesh Murugan
Рет қаралды 1,9 М.
What's New in .NET 9 with Examples
25:02
Nick Chapsas
Рет қаралды 65 М.
How to Deploy a Docker App to AWS ECS
24:18
Laith Academy
Рет қаралды 117 М.
The Right Way To Build Async APIs in ASP.NET Core
20:12
Milan Jovanović
Рет қаралды 23 М.
How to Setup AWS ECS Fargate with a Load Balancer | Step by Step
27:33
Be A Better Dev
Рет қаралды 178 М.