20
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Carlos Herrera – Sabis/Sabadell - Service Delivery Manager - [email protected] Jesús Cataluña – AWS Solutions Architect – [email protected] 20 th September, 2017 Introduction to Docker on AWS

Introduction to Docker on AWS - Amazon S3...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

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to Docker on AWS - Amazon S3...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

© 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

Page 2: Introduction to Docker on AWS - Amazon S3...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

Agenda

Why containers?

Amazon ECS

What is?

Benefits

Page 3: Introduction to Docker on AWS - Amazon S3...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

Why containers?

Page 4: Introduction to Docker on AWS - Amazon S3...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

What are containers?

OS virtualization

Process isolation

Images

Automation Server

Guest OS

Bins/Libs Bins/Libs

App2App1

Page 5: Introduction to Docker on AWS - Amazon S3...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

Container advantages

Portable

Flexible

Fast

EfficientServer

Guest OS

Bins/Libs Bins/Libs

App2App1

Page 6: Introduction to Docker on AWS - Amazon S3...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

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

Page 7: Introduction to Docker on AWS - Amazon S3...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

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

Page 8: Introduction to Docker on AWS - Amazon S3...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

Going from this…

Server

Guest OS

Bins/Libs Bins/Libs

App2App1

Page 9: Introduction to Docker on AWS - Amazon S3...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

.. 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

Page 10: Introduction to Docker on AWS - Amazon S3...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

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.

Page 11: Introduction to Docker on AWS - Amazon S3...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

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

Page 12: Introduction to Docker on AWS - Amazon S3...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

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/

Page 13: Introduction to Docker on AWS - Amazon S3...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

Createa mobile app from scratch in less

than one year for 1M users.

Page 14: Introduction to Docker on AWS - Amazon S3...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

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

Page 15: Introduction to Docker on AWS - Amazon S3...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

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

Page 16: Introduction to Docker on AWS - Amazon S3...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

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

Page 17: Introduction to Docker on AWS - Amazon S3...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

The Architecture

Broker

Subscriber

Container Layer

CloudHSM

Log Repository

AmazonElasticCache

AWS RDS

CloudWarch

CloudTrail

Page 18: Introduction to Docker on AWS - Amazon S3...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

Benefits

Page 19: Introduction to Docker on AWS - Amazon S3...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

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.

Page 20: Introduction to Docker on AWS - Amazon S3...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

¡Gracias!

#AWSSummit

Síguenos en Twitter: @awscloud_es