So is your mongoDB task stateful? what happens if i restart the task definition for some reason ... would the database still persist if we use fargate?
No, i will not loose till my pods are not deleted. if my pods are deleted restart then i will loose data as i have not configured persistent volume for my db container. As this is just a demo to show case concept and communication between different containers. But for production site we need PV to be configured with container.
Yes you can use same steps for springboot microservices. For kafka you can choose to run in ECS cluster or EC2 VM instance. As kafka comes with zookeeper so would prefer EC2 instance instead. ECS would complicate the kafka setup.
Full Video link th-cam.com/video/reKPCV5y0l4/w-d-xo.html
Hello friends, a new #video on #aws #ecs #container #service setup to #run #springboot #microservice & #mongodb in elastic container service is published on #codeonedigest #youtube channel.
@java #java #aws #awscloud @awscloud @AWSCloudIndia #salesforce #Cloud #CloudComputing @TH-cam #youtube #azure #msazure #awsecs #awsecstutorial #awsecsfargate #awsecsfargatetutorial #awsecsdemo #awsecstutorial #awsecsdeploydockerimage #awsecsandeks #awsecstaskdefinition #awsecsservicediscover #awsecsfargateloadbalancer #awsecs #elasticcontainerservicetutorial #mongodb #mongodb #mongo #database #mongodbtutorial #mongodbfullcourse #mongodbcompass #mongodbinstallation #monogodbtutorial #mongodbtutorialforbeginners #mongodbinaws #mongodbinecs #awsecsmongodb #mongodbinstallationinaws #mongodbsetupinecs #springboot #microservices #springboot #Springboottutorial #springboot #springbootproject #springboottutorialforbeginners #springbootannotations #springbootmicroservices #springbootfullcourse #springboottutorial #springbootprojectstepbystep #springbootmicroservices #springbootmicroservices #springbootmicroservices #springbootpostgressql #springbootmicroservicedocker #microservicesindockercontainer #runmicroservicesindockercontainer
Thanks for this tutorial.. very good and easy to follow.
Delighted to know you liked the content. kindly subscribe our channel to grow codeonedigest family. Do share it with your friends
So is your mongoDB task stateful? what happens if i restart the task definition for some reason ... would the database still persist if we use fargate?
No, i will not loose till my pods are not deleted. if my pods are deleted restart then i will loose data as i have not configured persistent volume for my db container. As this is just a demo to show case concept and communication between different containers. But for production site we need PV to be configured with container.
Do we have to do the same if springboot application uses kafka?
Yes you can use same steps for springboot microservices. For kafka you can choose to run in ECS cluster or EC2 VM instance. As kafka comes with zookeeper so would prefer EC2 instance instead. ECS would complicate the kafka setup.