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
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.
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.
@@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.
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
It would be helpful if you could demonstrate how to deploy multiple containers in Azure, whether for a microservice architecture or a modular monolith.
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 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.
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
Thanks Milan for the great videos. Would you please do one for Digital Ocean?
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.
Great idea for a future video
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.
😊😊
😊
@@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.
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
Coming soon!
As you know, you can build docker images programatically with Terraform. then a shell command pushes it to ECR automatically.
I didn't know. Thanks for teaching me!
It would be helpful if you could demonstrate how to deploy multiple containers in Azure, whether for a microservice architecture or a modular monolith.
Will do
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
Tasks are simpler to set up and demonstrate quickly.
Hi,Thanks for the fantastic video. Can you do another one with Azure as well?
Yes, releasing soon!
Do you want to dynamically add containers based on the number of visits?
Yes, we can do that
Hi Milan, can you provide a video in which we restrict extra fields in json payload in c#
Which JSON payload?
“Hello Milan! A question for you: why don’t you use macOS or Linux for .NET development?”
I find windows easier
Excellent video. One question though. What about CORS ? I didn't see it being mentioned anywhere in the services / middleware pipeline.
You can configure it from your .NET app, for example.
How can we automate that deploy through github actions?
You could use the Docker CLI / AWS CLI like I did here. There's also: aws.github.io/aws-dotnet-deploy/
@MilanJovanovicTech How do I automate this process? It seems like it will be quite complicated to build a pipeline to automate this process.
With cloud formation or terraform. You ci can create or update the cfn stack with all the information needed to automate.
Looks like I need to make a CI video for AWS
@@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.
Yes would appreciate a CI CD followup of this topic!
CORS?!!
You can configure it from your .NET app, for example.