Containers contd…
- Lets try to run some applications in container.
- Note: In this demonstration, i have created a ubuntu linux and installed docker and executed some commands (you can ignore all of this)
- Docker has made it extreemly simple to create containers (which was built in linux concept almost from day1)
The idea of microservices
- Lets look at a typical ecommerce application
- Layered architecture of e-commerce application

-
Lets focus on app tier/layer. This does the following functions
- Administration
- User Management
- Inventory
- Catalog
- Cart
- Payments
- Notifications
-
Micro Services:
- This is all about breaking a monolith to multiple smaller services
- Each micro service generally represents a module/functionality which can run on its own
- Smaller changes are possible and replacing services is easier (new versions)
- Each service can be in different technology.


What is that we need to do this
- Make your application/service run inside containers => containerization => Docker
- Ensure we can scale containers automatically/manually (k8s)
- Enable CI/CD pipepline to make smaller changes frequently without downtime. (k8s)
- Challenges:
- storage
- networking
Exercise
- Open Azure Free tier account: Refer Here
- Open AWS Free tier account: Refer Here
