Containers and the Evolution of Computing

Similar documents
Getting Started With Amazon EC2 Container Service

Amazon EC2 Container Service: Manage Docker-Enabled Apps in EC2

Introduction to Amazon EC2 Container Service (Amazon ECS) Hands On Lab

Building a Microservices Platform, Patterns and Best Practices

S U M M I T B e r l i n

Serverless Predictions at Scale

Wrapp. Powered by AWS EC2 Container Service. Jude D Souza Solutions Wrapp Phone:

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

/ Cloud Computing. Recitation 5 February 14th, 2017

About Intellipaat. About the Course. Why Take This Course?

Securing Microservices Containerized Security in AWS

/ Cloud Computing. Recitation 5 September 26 th, 2017

AWS Solutions Architect Associate (SAA-C01) Sample Exam Questions

Deploying WordPress and MySQL

AWS Solution Architecture Patterns

Container Orchestration on Amazon Web Services. Arun

Overview. AWS networking services including: VPC Extend your network into a virtual private cloud. EIP Elastic IP

Elastic Load Balancing

Deep Dive on Microservices and ECS

/ Cloud Computing. Recitation 5 September 27 th, 2016

AWS Solution Architect Associate

Design Patterns for the Cloud. MCSN - N. Tonellotto - Distributed Enabling Platforms 68

Deploy an external load balancer with

Das Leben ist zu kurz

Reactive Microservices Architecture on AWS

Training on Amazon AWS Cloud Computing. Course Content

Amazon Web Services (AWS) Solutions Architect Intermediate Level Course Content

How can you implement this through a script that a scheduling daemon runs daily on the application servers?

Automate best practices and operational health for your AWS resources with Trusted Advisor and AWS Health

Securely Access Services Over AWS PrivateLink. January 2019

Using AWS to Build a Large Scale Dockerized Microservices Architecture. Dr. Oliver Wahlen moovel Group GmbH Frankfurt, 30.

SAA-C01. AWS Solutions Architect Associate. Exam Summary Syllabus Questions

Cloud Computing /AWS Course Content

Swift Web Applications on the AWS Cloud

Introduction to AWS GoldBase. A Solution to Automate Security, Compliance, and Governance in AWS

Enroll Now to Take online Course Contact: Demo video By Chandra sir

Managing Deep Learning Workflows

Serverless Architecture Hochskalierbare Anwendungen ohne Server. Sascha Möllering, Solutions Architect

Amazon Web Services (AWS) Training Course Content

LINUX, WINDOWS(MCSE),

CogniFit Technical Security Details

Cloud & container monitoring , Lars Michelsen Check_MK Conference #4

Important DevOps Technologies (3+2+3days) for Deployment

AGILE DEVELOPMENT AND PAAS USING THE MESOSPHERE DCOS

Architecting for Greater Security in AWS

Introduction to Cloud Computing

Oracle WebLogic Server 12c on AWS. December 2018

Amazon Web Services Training. Training Topics:

Advanced Architectures for Oracle Database on Amazon EC2

Introduction to Amazon Web Services. Jeff Barr Senior AWS /

BARCELONA. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

Running MarkLogic in Containers (Both Docker and Kubernetes)

Expert Reference Series of White Papers. Introduction to Amazon Auto Scaling

Building Apps in the Cloud to reduce costs up to 90%

Deploying and Operating Cloud Native.NET apps

@joerg_schad Nightmares of a Container Orchestration System

AALOK INSTITUTE. DevOps Training

How to host and manage enterprise customers on AWS: TOYOTA, Nippon Television, UNIQLO use cases

Oracle 1Z Oracle Cloud Solutions Infrastructure Architect Associate.

Deployment Patterns using Docker and Chef

Documentation. This PDF was generated for your convenience. For the latest documentation, always see

DevOps on AWS Deep Dive on Continuous Delivery and the AWS Developer Tools

Deliver Docker Containers Continuously on AWS. Philipp

Amazon. Exam Questions AWS-Certified-Solutions-Architect- Professional. AWS-Certified-Solutions-Architect-Professional.

Splunk & AWS. Gain real-time insights from your data at scale. Ray Zhu Product Manager, AWS Elias Haddad Product Manager, Splunk

CASE STUDY Application Migration and optimization on AWS

When (and how) to move applications from VMware to Cisco Metacloud

Ingress Kubernetes Tutorial

Microservices Architekturen aufbauen, aber wie?

Scale your Docker containers with Mesos

AWS Administration. Suggested Pre-requisites Basic IT Knowledge

Security: Michael South Americas Regional Leader, Public Sector Security & Compliance Business Acceleration

BERLIN. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

AWS: Basic Architecture Session SUNEY SHARMA Solutions Architect: AWS

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

Designing Fault-Tolerant Applications

Microservices on AWS. Matthias Jung, Solutions Architect AWS

Web Cloud Solution. User Guide. Issue 01. Date

ARCHITECTING WEB APPLICATIONS FOR THE CLOUD: DESIGN PRINCIPLES AND PRACTICAL GUIDANCE FOR AWS

NGF0502 AWS Student Slides

ServiceStage. User Guide. Issue 01 Date

How to go serverless with AWS Lambda

Amazon AWS-Solution-Architect-Associate Exam

Deploying and Operating Cloud Native.NET apps

Using DC/OS for Continuous Delivery

AWS Interview Questions and Answers

SCALE AND SECURE MOBILE / IOT MQTT TRAFFIC

AWS_SOA-C00 Exam. Volume: 758 Questions

Designing MQ deployments for the cloud generation

DISTRIBUTED SYSTEMS [COMP9243] Lecture 8a: Cloud Computing WHAT IS CLOUD COMPUTING? 2. Slide 3. Slide 1. Why is it called Cloud?

Pocket: Elastic Ephemeral Storage for Serverless Analytics

BERLIN. 2015, Amazon Web Services, Inc. or its affiliates. All rights reserved

Cloud Computing. Amazon Web Services (AWS)

Getting Started with AWS Security

WHITEPAPER AMAZON ELB: Your Master Key to a Secure, Cost-Efficient and Scalable Cloud.

Elastic Efficient Execution of Varied Containers. Sharma Podila Nov 7th 2016, QCon San Francisco

Implementing the Twelve-Factor App Methodology for Developing Cloud- Native Applications

Launch and Scale your Social Game in the Cloud with AltEgo, Amazon Web Services and RightScale

Principal Solutions Architect. Architecting in the Cloud

Conversing in the Cloud. Ryan Kupfer, Scott Wetter, Bryan Welfel, Shekhar Pradhan

Transcription:

Containers and the Evolution of Computing Matt Nowina Solutions Architect 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Scaling Applications

Order UI User UI Shipping UI Order Service User Service Shipping Service Data Access

Order UI User UI Shipping UI Order Service User Service Shipping Service

Order UI User UI UI Order UI User UI Shipping UI Order UI UI Order Service Order Service Order Service Service Service Service Service Service User Service Shipping Service Shipping Service

What are Containers? App1 Bins/Libs App2 Bins/Libs OS virtualization Process isolation Images Automation

Container advantages App1 Bins/Libs App2 Bins/Libs Portable Flexible Fast Efficient

Containers are natural for microservices Simple to model Any app, any language Image is the version Test & deploy same artifact Stateless servers decrease change risk

Managing one host is straightforward App1 Bins/Libs App2 Bins/Libs

Managing a fleet is hard AZ 1 AZ 2 AZ 3

What is Amazon ECS? Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service. You can use Amazon ECS to schedule the placement of containers across your cluster. You can also integrate your own scheduler or third-party scheduler to meet business or application specific requirements.

Our Goals with Amazon ECS

Container Management at Any Scale Nothing to run Complete state Control and monitoring Scale

Flexible Container Placement Long running applications Batch jobs Multiple schedulers

Integration with the AWS Platform Elastic Load Balancing Amazon Elastic Block Store Amazon Virtual Private Cloud Amazon CloudWatch AWS Identity and Access Management AWS CloudTrail

Container Management

What is a Container Manager? Maintains Available Resources Tracks Resource Changes Accepts Resource Requests Guarantees Accuracy and Consistency

Resources CPU Memory Ports Disk Space Disk IOPS Network Bandwidth

Container Instance Docker ECS Task Task Agent Container Container ECS Agent https://github.com/aws/amazon-ecs-agent

Instance Registration register-container-instance --total-resources [ ] { }, name : cpu, type : integervalue, integervalue : 2048

Modifying Exposed Resources

How do you model your applications?

{ }, "environment": [], "name": "simple-demo", "image": "my-demo", "cpu": 10, "memory": 500, "portmappings": [ { "containerport": 80, "hostport": 80 } ], "mountpoints": [ { "sourcevolume": "my-vol", "containerpath": "/var/www/my-vol" } ], "entrypoint": [ "/usr/sbin/apache2", "-D", "FOREGROUND" ], "essential": true

Tasks Shared Data Volume Containers Volume Definitions Container Definitions launch Container Instance

Starting a Task User / Scheduler StartTask API

Starting a Task User / Scheduler StartTask API Cluster Management Engine

Starting a Task User / Scheduler StartTask Agent Communication API Cluster Management Engine

Starting a Task Docker Container Instance Task Container User / Scheduler WebSocket ECS Agent StartTask Agent Communication API Cluster Management Engine

Starting a Task Container Instance Docker Task Container Task Container User / Scheduler ECS Agent SubmitStateChange StartTask Agent Communication API Cluster Management Engine

Tracking Resource Changes

Terminated Task Container Instance Docker Task Container User / Scheduler ECS Agent SubmitStateChange StartTask Agent Communication API Cluster Management Engine

Missing Container Instance Container Instance Docker Task Container? ECS Agent User / Scheduler StartTask Agent Communication API Cluster Management Engine

Terminated Container Instance Container Instance Docker Task Container User / Scheduler ECS Agent StartTask Agent Communication API Termination Notifier Cluster Management Engine

Guaranteeing Accuracy and Consistency

Amazon ECS under the Hood WRITE ID N+6 ID N-1 ID N ID N+1 ID N+2 ID N+3 ID N+4 ID N+5 READ ID N+5

Amazon ECS under the Hood WRITE WRITE ID N+3 ID N+6 ID N-1 ID N ID N+1 ID N+2 ID N+3 ID N+4 ID N+5 READ ID N+2 READ ID N+5

Scalable

Schedulers

What is a Scheduler? Determine Desired State Check Against Current State Perform Action

Amazon ECS Service Scheduler

What is a Service? Models a long-running application Maintains desired state Optionally runs behind an Elastic Load Balancer

Discovering Differences Deployment Status Desired Pending Running ecs-svc/1 PRIMARY 5 0 0 Minimum Healthy Maximum Healthy 50% 200%

Discovering Differences Deployment Status Desired Pending Running ecs-svc/2 PRIMARY 10 0 0 ecs-svc/1 ACTIVE 5 0 5 Minimum Healthy Maximum Healthy 50% 200%

Other Considerations ELB Registration/Deregistration Permissions and Errors Task Health Scale Down Requests

Multiple Schedulers

Amazon ECS: Scheduling

Amazon ECS: Scheduling

Amazon ECS: Scheduling

Amazon ECS: Scheduling

Let us recap

Task Definitions { }, "environment": [], "name": "simple-demo", "image": "my-demo", "cpu": 10, "memory": 500, "portmappings": [ { "containerport": 80, "hostport": 80 } ], "mountpoints": [ { "sourcevolume": "my-vol", "containerpath": "/var/www/my-vol" } ], "entrypoint": [ "/usr/sbin/apache2", "-D", "FOREGROUND" ], "essential": true

Internet User / Scheduler ELB ELB AZ 1 AZ 2 Container Instance Container Instance Container Instance Docker Docker Docker Task Container Task Container Task Container Task Container Task Container Task Container ECS Agent ECS Agent ECS Agent Amazon ECS Agent Communication Service Cluster Management Engine Key/Value Store API

Thank you!