AWS ECS Setup | Run Springboot Microservice & MongoDB in Elastic Container Service ECS



AWS ECS Setup | Run Springboot Microservice & MongoDB in Elastic Container Service ECS

AWS ECS Setup | Run Springboot Microservice & MongoDB in Elastic Container Service ECS

In this video we will learn amazon ECS Elastic Container Service setup from beginning. Also, Deploy Springboot microservice image and Mongo database image from Docker-Hub repository and run these images in AWS ECS container service.

1. Creating aws ECS service from AWS management console.
2. Create & setup ECS cluster
3. Create & setup Task Definition
4. Download Mongo database Image from docker hub repository
5. Run Task Definition in Cluster
6. Create and upload Springboot microservice container image
7. Deploy springboot microservice in AWS ECS
8. Test microservice with mongo database in AWS ECS

** Introduction of AWS ECS Elastic Container Service Instance **
Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service that simplifies your deployment, management, and scaling of containerized applications. Simply describe your application and the resources required, and Amazon ECS will launch, monitor, and scale your application across flexible compute options with automatic integrations to other supporting AWS services that your application needs. Perform system operations such as creating custom scaling and capacity rules, and observe and query data from application logs and telemetry.

Amazon ECS is a fully managed container orchestration service that helps you to more efficiently deploy, manage, and scale containerized applications. It deeply integrates with the AWS environment to provide an easy-to-use solution for running container workloads in the cloud and on premises with advanced security features using Amazon ECS Anywhere.

** Springboot Microservice **
Spring Boot is built on the top of the spring framework and contains all the features of spring. And is becoming a favorite of developers these days because it’s a rapid production-ready environment that enables the developers to directly focus on the logic instead of struggling with the configuration and setup. Spring Boot is a microservice-based framework and making a production-ready application in it takes very little time.

** NoSQL MongoDB **
MongoDB is an open-source document database and leading NoSQL database. This video will give you complete understanding of running the MongoDB in docker container. Mongo Database – Database is a physical container for collections. Each database gets its own set of files on the file system. A single MongoDB server typically has multiple databases. Mongo DB Collection – Collection is a group of MongoDB documents. It is the equivalent of an RDBMS table. A collection exists within a single database. Collections do not enforce a schema. MongoDB Compass – MongoDB Compass is a powerful GUI for querying, aggregating, and analyzing your MongoDB data in a visual environment. Compass is free to use and can be run on macOS, Windows, and Linux.

** Chapter Timestamps **
0:00 Introduction to AWS ECS service.
1:28 Agenda of the Video Tutorial
3:28 Explained Architecture for AWS ECS and MongoDB
5:22 Creating & setup AWS ECS Fargate cluster for MongoDB
10:00 Select mongo db image from docker hub.
11:31 Create & setup task definition to run in cluster.
15:43 Run mongodb task definition in cluster
22:26 Create springboot microservice project
27:50 Create & Upload springboot microservice docker image to docker hub repository
34:05 Create task definition for springboot microservice
36:50 Deploy springboot microservice in AWS ECS container
39:31 Testing microservice running in AWS ECS.

#aws #ecs #microservice

** CHECK OUT OUR OTHER VIDEOS **
Amazon EC2 Instance Setup and Running Springboot Microservice in EC2: https://youtu.be/TLuuf4UsiXA
Spring boot project setup: https://youtu.be/bsgA20eJKxs
Spring Boot Microservice with postgres database Project: https://youtu.be/iw4wO9gEb50
Prepare Docker file, Container and Build Image: https://youtu.be/g_pdTzjnuso
Deploy Docker Image AWS Elastic Container Service: https://youtu.be/ZlR5onuwZzw
Run MongoDB in Docker Container: https://youtu.be/r4Yl4SO1BiA

** CHECK OUR PLAYLISTS **
Spring Boot Complete Tutorial https://youtube.com/playlist?list=PL2NZAYdLkYvg_VlNmszrb-Um0wRx5yGDF
Cloud & Container Tutorial with AWS Cloud and Docker Containers https://youtube.com/playlist?list=PL2NZAYdLkYvhZQo2VTVCSug_zVjekNodi
Java Design Pattern Complete Tutorial https://youtube.com/playlist?list=PL2NZAYdLkYvglL0xl-4tgBAribrcjeuNH
GITHUB Repository Tutorial | Complete Guide to GITHUB for Beginners
https://www.youtube.com/playlist?list=PL2NZAYdLkYvh5inIifHYlpAX10IE3vVGS

** ABOUT OUR CHANNEL **
CodeOneDigest is a youtube channel that produces videos on programming languages, cloud and container technologies, Software design principles, Java frameworks in English and Hindi languages.

Check out our channel here:
https://www.youtube.com/channel/UC9V0QYsWKz_OD2uooCtEtRg
Don’t forget to subscribe!

** OUR WEBSITE **
https://codeonedigest.wordpress.com/

** GET IN TOUCH **
Email us on [email protected]

Comments are closed.