What are monoliths, what are microservices, how do containers fit into the picture, and how do I do this all in production?
In this webinar, we will explore the reasoning and concepts behind microservices and how you can transform monolithic apps into microservices. We will discuss how containers simplify building microservices-based applications, and we will walk through a number of patterns used by our customers to run their microservices platforms.
We will cover:
- 101 introduction to container solutions and microservices
- Key microservices concepts and common patterns
- Why you should use containers and the benefits of using Amazon ECS
Presented by Daniel Hobson, Associate Solutions Architect, Amazon Web Services.
https://aws.amazon.com/webinars/anz-webinar-series/
4. VM’s vs Containers
App A App B App C
Bins/Libs Bins/Libs Bins/Libs
Guest OS Guest OS Guest OS
Hypervisor
Host OS
Server (Host)
AppA AppA App B App B App C App C
Bins/Libs Bin/Libs
Content Manager (Docker)
Host OS
Server (Host)
4
11. Microservices Example
Order UI User UI Shipping UI
Order
Service
User
Service
Shipping
ServiceUser
ServiceUser
ServiceUser
ServiceUser
ServiceUser
Service
Order UI
Shipping
ServiceShipping
Service
Order
ServiceOrder
ServiceOrder
Service
11
14. What is EC2 Container Service
Easy Cluster
Management
Flexible
Scheduling
Integrated and
extensible
Performance at
ScaleSecurity
14
15. Cluster Management Made Easy
• No cluster software to install and manage
• Manages cluster state
• Manages containers
• Control and monitoring
• Scale from one to tens of thousands of containers
15
17. Integrated and Extensible
• Integrated with AWS Services
• IAM and Security
• Elastic Load Balancers
• More
• Extensible through powerful APIs
• Use your own scheduler
• Connect with existing software delivery process
17
19. Performance at Scale
• Building block for distributed applications
• Coordinates and automates container
deployment
• Launch thousands of containers in seconds
19
20. Common Use Cases
• Distributed Applications / Microservices
• Batch /ETL Jobs
• CI/CD
20
33. Demo - Let’s Take a Look
• Look at Dockerhub
• Build a Dockerfile for nginx
• ECR
• Create a repository
• Push the image
• ECS
• Create a Cluster
• Create a Task Definition
• Launch a Task
• Create a Service
• Stop tasks to check resiliency
• Create A load Balancer
33