Upload
others
View
9
Download
0
Embed Size (px)
Citation preview
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Carlos Herrera – Sabis/Sabadell - Service Delivery Manager - [email protected]ús Cataluña – AWS Solutions Architect – [email protected]
20th September, 2017
Introduction to Docker on AWS
Agenda
Why containers?
Amazon ECS
What is?
Benefits
Why containers?
What are containers?
OS virtualization
Process isolation
Images
Automation Server
Guest OS
Bins/Libs Bins/Libs
App2App1
Container advantages
Portable
Flexible
Fast
EfficientServer
Guest OS
Bins/Libs Bins/Libs
App2App1
Services evolve to microservices
Monolithic application
Order UI User UI Shipping UI
Orderservice
Userservice
Shippingservice
Dataaccess
Host 1
Service A
Service B
Host 2
Service B
Service D
Host 3
Service A
Service C
Host 4
Service B
Service C
Containers are natural for microservices
Simple to model
Any app, any language
Image is the version
Test and deploy same artifact
Stateless servers decrease change risk
Going from this…
Server
Guest OS
Bins/Libs Bins/Libs
App2App1
.. to this - is hard!
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Server
Guest OS
Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service that supports Docker containers and allows you to easily run applications on a managed cluster of Amazon EC2 instances.
In November 2015 we moved our Docker container architecture to Amazon ECS,
and for the first time ever in December we were able to celebrate a new year in which our system could handle the huge number
of requests without any crashes or interruptions—an accomplishment that we
were extremely proud of.
Sebastian Herzberg System Engineer
https://aws.amazon.com/solutions/case-studies/mytaxi
Amazon ECS enabled Coursera to focus on releasing new software rather than
spending time managing clusters.
Frank Chen Software Engineer
https://aws.amazon.com/solutions/case-studies/coursera-ecs/
Createa mobile app from scratch in less
than one year for 1M users.
Who we areBanco Sabadell is Spain’s fourth largest private banking group, which is comprised of different banks, brands, subsidiaries and part-owned companies covering all areas of the financial business sector under a common denominator: professional performance and quality.
The management model of the Bank aims at long-term client retention through a constant activity of building up the customer loyalty of its client portfolio on the basis of initiative and innovation
Brands and banks: Banc Sabadell, ActivoBank, Sabadell Urquijo Private Banking, Sabadell United Bank and TSB Bank
The Challenge
The requisite was clear, createa mobile app from scratch in less than one year for 1M users. All with the common requisites for a bank application: security, reliability anduser friendly
The SolutionAfter evaluating several options andonce we realized that the platformneeds to be highly scalable and easyto administrate we decided to bring allthe design to AWS using several of itsBaseline functionalities: security, reliabilityand a very simple and powerful tool to playwith containers ECR and ECS.With these two tools we are able to controlthe release of the container with a verysimple and fast tool
Amazon ECR
Amazon ECS
The Architecture
Broker
Subscriber
Container Layer
CloudHSM
Log Repository
AmazonElasticCache
AWS RDS
CloudWarch
CloudTrail
Benefits
Amazon ECS benefits• Fully managed elastic service – You don’t
need to run anything, and the service scales as your architecture grows
• Deep Integration With Other AWS Services• Application Load Balancing• Amazon Elastic Block Store• Amazon Virtual Private Cloud• Amazon CloudWatch• AWS Identify and Access Management• AWS CloudTrail
• The service is free.
¡Gracias!
#AWSSummit
Síguenos en Twitter: @awscloud_es