SlideShare una empresa de Scribd logo
1 de 28
©  2016,  Amazon  Web  Services,  Inc.  or  its  Affiliates.  All  rights  reserved.
Shiva  Narayanaswamy,  Solutions  Architect
September  2016
Containers  for  Non-­Developers
Containerised Microservices
Dom  0
Instance Instance Instance
OS OS OS
Container  Runtime Container  Runtime Container  Runtime
App App
Service Service
App App
Service Service
App App
Service Service
Container  Orchestration
Dom  0
Instance Instance Instance
OS OS OS
Container  Runtime Container  Runtime Container  Runtime
App Service App App Service Service
Container  Orchestration
Container  Orchestration
Dom  0
Instance/OS Instance/OS Instance/OS
App Service App App Service Service
Service  Management
Scheduling
Resource  Management
Orchestration
Service  Management
§Labels
§Groups/Namespaces
§Dependencies
§Load  Balancing
§Health  Check
§Service  Discovery
Container  Orchestration
Dom  0
Instance/OS Instance/OS Instance/OS
App Service App App Service Service
Service  Management
Scheduling
Resource  Management
Orchestration
Scheduling
§Placement
§Replication/Scaling
§Resurrection
§Rescheduling
§Rolling  deploys
§Upgrades
§Downgrades
§Colocation
Container  Orchestration
Dom  0
Instance/OS Instance/OS Instance/OS
App Service App App Service Service
Service  Management
Scheduling
Resource  Management
Orchestration
Resource  
Management
§ Memory  
§ CPU
§ GPU
§ Volumes
§ Ports
§ IPs
Non  Functional  Capabilities
Scalability
Performance,  Responsiveness,  Efficiency
Availability
Fault  Tolerance,  Reliability,  DR
Flexibility
Extensibility,  Portability,  Interoperability
Usability
Familiarity,  Debuggability,  Maintainability
Portability
Container  Runtime,  Host  OS,  Cloud  Provider,  On-­prem
Security
Isolation,  Encryption,  Secrets  Management,  Auditability
In  NO  Particular  Order
[    ]  Schedulers  and  Orchestration
[    ]  Networking
[    ]  Security
[    ]  Operating  Systems
[    ]  Storage
[    ]  Monitoring
Schedulers  and  Orchestration
Schedulers  – General  Blurb
Cluster  
Machines
Cluster  State
Information
Monolothic Two-­Level Shared  State
No  Concurrency Pessimistic  
Concurrency
(offers)
Optimistic
Concurrency
(transactions)
Scheduling  Logic
Customers  Like  Options
Docker
Task
Container  Instance
Amazon  
ECS
Container
ECS  Agent
ELB
Internet
ELB
User  /  
Scheduler
API
Cluster  Management  Engine
Task
Container
Docker
Task
Container  Instance
Container
ECS  Agent
Task
Container
Docker
Task
Container  Instance
Container
ECS  Agent
Task
Container
AZ  1 AZ  2
Key/Value  Store
Agent  Communication  Service
ECS
Networking
Container  Networking
Dom  0
Instance Instance Instance
OS OS OS
Container  Runtime Container  Runtime Container  Runtime
Container Container Container Container Container Container
Overlay  all  of  the  Thingz
• Flannel
• Calico
• WeaveNet
• Swarm  Mode
Security
Security  Pro-­Tips
§ Host  Security
§ Lock  it  down
§ Namespaces  and  cgroups are  your  friends
§ Select  few  belong  to  docker UNIX  group
§ SELinux is  also  your  friend
§ Docker  daemon  runs  as  root!
§ Docker  Daemon  Security
§ Do  not  run  in  privileged  mode
§ Lock  down  inter  container  comms –icc=false
§ Secure  APIs  with  TLS  certificates
Whale-­Say
"Only  trusted  users  should  be  allowed  to  control  your  Docker  daemon"
“If  you  run  Docker  on  a  server,  it  is  recommended  to  run  exclusively  Docker  
in  the  server,  and  move  all  other  services  within  containers  controlled  by  
Docker”
IMAGE  REGISTRY
CI/CD
DEPLOYMENT  SYSTEM
SOURCE  
CODE  REPO
SECURITY  
SCANNING
CONTINUOUS  
ASSURANCE
Pull  latest  
signed  image
Commit  Code
Trigger  Build
Push  signed  
image
Pull  latest  
stable  signed  
image
DEVELOPER
Workflow
More  Prescriptive  Advice  Here…
https://benchmarks.cisecurity.org/tools2/docker/CIS_
Docker_1.11.0_Benchmark_v1.0.0.pdf
Operating  System
Micro  OS
CoreOS
RancherOS
Ubuntu  Snappy
RedHat Atom
VmWare Photon
ECS  Optimized  Amazon  Linux
RedHat
Atomic
VmWare
Photon
Ubuntu
Snappy
CoreOS RancherOS
395  MB
317  MB
215  MB
20  MB
150  MB
Storage
Persistent  Storage  
§ POSIX  is  legacy  filesystem.  So  don’t!
§ Named  volumes
§ Data  only  container
§ Flocker
§ Shared  file  system  (EFS,  GlusterFS etc.)
Monitoring  and  Operations
Monitoring  and  Operating
Monitoring  systems  need  to  be  more  available  and  scalable  than  the  systems  (and  services)  being  monitored  
~  Adrian  Cockroft
Demo
ApacheDogs and  NginxCats
Thank  You!

Más contenido relacionado

La actualidad más candente

AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
Amazon Web Services
 
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
Amazon Web Services Korea
 

La actualidad más candente (20)

DevOps in Amazon.com
DevOps in Amazon.com DevOps in Amazon.com
DevOps in Amazon.com
 
Continuous Delivery with Docker and Amazon ECS
Continuous Delivery with Docker and Amazon ECSContinuous Delivery with Docker and Amazon ECS
Continuous Delivery with Docker and Amazon ECS
 
Introduction to Docker on AWS
Introduction to Docker on AWSIntroduction to Docker on AWS
Introduction to Docker on AWS
 
Deep Dive on Elastic Load Balancing
Deep Dive on Elastic Load BalancingDeep Dive on Elastic Load Balancing
Deep Dive on Elastic Load Balancing
 
AWS re:Invent 2016: Securing Container-Based Applications (CON402)
AWS re:Invent 2016: Securing Container-Based Applications (CON402)AWS re:Invent 2016: Securing Container-Based Applications (CON402)
AWS re:Invent 2016: Securing Container-Based Applications (CON402)
 
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
AWS re:Invent 2016: Operations Automation and Infrastructure Management with ...
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWS
 
AWS re:Invent 2016: Building SaaS Offerings for Desktop Apps with Amazon AppS...
AWS re:Invent 2016: Building SaaS Offerings for Desktop Apps with Amazon AppS...AWS re:Invent 2016: Building SaaS Offerings for Desktop Apps with Amazon AppS...
AWS re:Invent 2016: Building SaaS Offerings for Desktop Apps with Amazon AppS...
 
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
 
Continuous delivery and deployment on AWS
Continuous delivery and deployment on AWSContinuous delivery and deployment on AWS
Continuous delivery and deployment on AWS
 
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWSAWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
 
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsDevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
 
(SEC202) Best Practices for Securely Leveraging the Cloud
(SEC202) Best Practices for Securely Leveraging the Cloud(SEC202) Best Practices for Securely Leveraging the Cloud
(SEC202) Best Practices for Securely Leveraging the Cloud
 
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
AWS re:Invent 2016: Development Workflow with Docker and Amazon ECS (CON302)
 
Serverless Stream Processing with Bill Bejeck
Serverless Stream Processing with Bill BejeckServerless Stream Processing with Bill Bejeck
Serverless Stream Processing with Bill Bejeck
 
AWS Serverless concepts and solutions
AWS Serverless concepts and solutionsAWS Serverless concepts and solutions
AWS Serverless concepts and solutions
 
無伺服器架構和Containers on AWS入門
無伺服器架構和Containers on AWS入門 無伺服器架構和Containers on AWS入門
無伺服器架構和Containers on AWS入門
 
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
AWS Innovate: Moving Microsoft .Net applications one container at a time - Da...
 
Advanced Container Management and Scheduling
Advanced Container Management and SchedulingAdvanced Container Management and Scheduling
Advanced Container Management and Scheduling
 
Application Deployment on AWS - Startup Talks June 2015
Application Deployment on AWS - Startup Talks June 2015Application Deployment on AWS - Startup Talks June 2015
Application Deployment on AWS - Startup Talks June 2015
 

Destacado

Do We Need Containers Anyway?
Do We Need Containers Anyway?Do We Need Containers Anyway?
Do We Need Containers Anyway?
Dmitry Buzdin
 

Destacado (20)

A Gentle Introduction To Docker And All Things Containers
A Gentle Introduction To Docker And All Things ContainersA Gentle Introduction To Docker And All Things Containers
A Gentle Introduction To Docker And All Things Containers
 
Batch Applications for the Java Platform
Batch Applications for the Java PlatformBatch Applications for the Java Platform
Batch Applications for the Java Platform
 
Do We Need Containers Anyway?
Do We Need Containers Anyway?Do We Need Containers Anyway?
Do We Need Containers Anyway?
 
Container Orchestration @Docker Meetup Hamburg
Container Orchestration @Docker Meetup HamburgContainer Orchestration @Docker Meetup Hamburg
Container Orchestration @Docker Meetup Hamburg
 
Java EE 01-Servlets and Containers
Java EE 01-Servlets and ContainersJava EE 01-Servlets and Containers
Java EE 01-Servlets and Containers
 
AWS re:Invent 2016: The Cloud Is Enterprise Ready: How the University of Ariz...
AWS re:Invent 2016: The Cloud Is Enterprise Ready: How the University of Ariz...AWS re:Invent 2016: The Cloud Is Enterprise Ready: How the University of Ariz...
AWS re:Invent 2016: The Cloud Is Enterprise Ready: How the University of Ariz...
 
Machine learning advanced applications
Machine learning advanced applicationsMachine learning advanced applications
Machine learning advanced applications
 
SecPod: A Framework for Virtualization-based Security Systems
SecPod: A Framework for Virtualization-based Security SystemsSecPod: A Framework for Virtualization-based Security Systems
SecPod: A Framework for Virtualization-based Security Systems
 
Integrating Spark and Solr-(Timothy Potter, Lucidworks)
Integrating Spark and Solr-(Timothy Potter, Lucidworks)Integrating Spark and Solr-(Timothy Potter, Lucidworks)
Integrating Spark and Solr-(Timothy Potter, Lucidworks)
 
Containers - Transforming the data centre as we know it 2016
Containers - Transforming the data centre as we know it 2016Containers - Transforming the data centre as we know it 2016
Containers - Transforming the data centre as we know it 2016
 
NFV management and orchestration framework architecture
NFV management and orchestration framework architectureNFV management and orchestration framework architecture
NFV management and orchestration framework architecture
 
Pattern Recognition
Pattern RecognitionPattern Recognition
Pattern Recognition
 
Container orchestration
Container orchestrationContainer orchestration
Container orchestration
 
Cyber physical systems and robotics
Cyber physical systems and roboticsCyber physical systems and robotics
Cyber physical systems and robotics
 
Container Orchestration Wars
Container Orchestration WarsContainer Orchestration Wars
Container Orchestration Wars
 
Computer forensics
Computer forensicsComputer forensics
Computer forensics
 
NFV for beginners
NFV for beginnersNFV for beginners
NFV for beginners
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocol
 
Virtualization and cloud Computing
Virtualization and cloud ComputingVirtualization and cloud Computing
Virtualization and cloud Computing
 
Computer forensics powerpoint presentation
Computer forensics powerpoint presentationComputer forensics powerpoint presentation
Computer forensics powerpoint presentation
 

Similar a Containers for Non-Developers

Cloud Best Practices
Cloud Best PracticesCloud Best Practices
Cloud Best Practices
Eric Bottard
 
Getting Started with Docker on AWS - DevDay Austin 2017
Getting Started with Docker on AWS - DevDay Austin 2017Getting Started with Docker on AWS - DevDay Austin 2017
Getting Started with Docker on AWS - DevDay Austin 2017
Amazon Web Services
 

Similar a Containers for Non-Developers (20)

State of Union - Containerz
State of Union - ContainerzState of Union - Containerz
State of Union - Containerz
 
Introduction to Container Management on AWS
Introduction to Container Management on AWSIntroduction to Container Management on AWS
Introduction to Container Management on AWS
 
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
Moving to Containers: Building with Docker and Amazon ECS - CON310 - re:Inven...
 
Introduction to Container Management on AWS
Introduction to Container Management  on AWSIntroduction to Container Management  on AWS
Introduction to Container Management on AWS
 
Containers and the Evolution of Computing
Containers and the Evolution of ComputingContainers and the Evolution of Computing
Containers and the Evolution of Computing
 
AWS re:Invent 2016: Service Integration Delivery and Automation Using Amazon ...
AWS re:Invent 2016: Service Integration Delivery and Automation Using Amazon ...AWS re:Invent 2016: Service Integration Delivery and Automation Using Amazon ...
AWS re:Invent 2016: Service Integration Delivery and Automation Using Amazon ...
 
Amazon ECS with Docker | AWS Public Sector Summit 2016
Amazon ECS with Docker | AWS Public Sector Summit 2016Amazon ECS with Docker | AWS Public Sector Summit 2016
Amazon ECS with Docker | AWS Public Sector Summit 2016
 
AWS re:Invent 2016: Introduction to Container Management on AWS (CON303)
AWS re:Invent 2016: Introduction to Container Management on AWS (CON303)AWS re:Invent 2016: Introduction to Container Management on AWS (CON303)
AWS re:Invent 2016: Introduction to Container Management on AWS (CON303)
 
Pipelining DevOps with Jenkins and AWS
Pipelining DevOps with Jenkins and AWSPipelining DevOps with Jenkins and AWS
Pipelining DevOps with Jenkins and AWS
 
Cloud Best Practices
Cloud Best PracticesCloud Best Practices
Cloud Best Practices
 
.NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time....NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time...
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
Docker Demystified for SB JUG
Docker Demystified for SB JUGDocker Demystified for SB JUG
Docker Demystified for SB JUG
 
Getting Started with Docker on AWS - DevDay Los Angeles 2017
Getting Started with Docker on AWS - DevDay Los Angeles 2017Getting Started with Docker on AWS - DevDay Los Angeles 2017
Getting Started with Docker on AWS - DevDay Los Angeles 2017
 
Getting Started with Docker On AWS
Getting Started with Docker On AWSGetting Started with Docker On AWS
Getting Started with Docker On AWS
 
Getting Started with Docker on AWS - DevDay Austin 2017
Getting Started with Docker on AWS - DevDay Austin 2017Getting Started with Docker on AWS - DevDay Austin 2017
Getting Started with Docker on AWS - DevDay Austin 2017
 
Amazon ECS – Production Docker at Scale
Amazon ECS – Production Docker at ScaleAmazon ECS – Production Docker at Scale
Amazon ECS – Production Docker at Scale
 
Docker on AWS
Docker on AWSDocker on AWS
Docker on AWS
 
Gaming across multiple devices
Gaming across multiple devicesGaming across multiple devices
Gaming across multiple devices
 
Containers and Nutanix - Acropolis Container Services
Containers and Nutanix - Acropolis Container ServicesContainers and Nutanix - Acropolis Container Services
Containers and Nutanix - Acropolis Container Services
 

Más de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 

Containers for Non-Developers

  • 1. ©  2016,  Amazon  Web  Services,  Inc.  or  its  Affiliates.  All  rights  reserved. Shiva  Narayanaswamy,  Solutions  Architect September  2016 Containers  for  Non-­Developers
  • 2. Containerised Microservices Dom  0 Instance Instance Instance OS OS OS Container  Runtime Container  Runtime Container  Runtime App App Service Service App App Service Service App App Service Service
  • 3. Container  Orchestration Dom  0 Instance Instance Instance OS OS OS Container  Runtime Container  Runtime Container  Runtime App Service App App Service Service Container  Orchestration
  • 4. Container  Orchestration Dom  0 Instance/OS Instance/OS Instance/OS App Service App App Service Service Service  Management Scheduling Resource  Management Orchestration Service  Management §Labels §Groups/Namespaces §Dependencies §Load  Balancing §Health  Check §Service  Discovery
  • 5. Container  Orchestration Dom  0 Instance/OS Instance/OS Instance/OS App Service App App Service Service Service  Management Scheduling Resource  Management Orchestration Scheduling §Placement §Replication/Scaling §Resurrection §Rescheduling §Rolling  deploys §Upgrades §Downgrades §Colocation
  • 6. Container  Orchestration Dom  0 Instance/OS Instance/OS Instance/OS App Service App App Service Service Service  Management Scheduling Resource  Management Orchestration Resource   Management § Memory   § CPU § GPU § Volumes § Ports § IPs
  • 7. Non  Functional  Capabilities Scalability Performance,  Responsiveness,  Efficiency Availability Fault  Tolerance,  Reliability,  DR Flexibility Extensibility,  Portability,  Interoperability Usability Familiarity,  Debuggability,  Maintainability Portability Container  Runtime,  Host  OS,  Cloud  Provider,  On-­prem Security Isolation,  Encryption,  Secrets  Management,  Auditability
  • 8. In  NO  Particular  Order [    ]  Schedulers  and  Orchestration [    ]  Networking [    ]  Security [    ]  Operating  Systems [    ]  Storage [    ]  Monitoring
  • 10. Schedulers  – General  Blurb Cluster   Machines Cluster  State Information Monolothic Two-­Level Shared  State No  Concurrency Pessimistic   Concurrency (offers) Optimistic Concurrency (transactions) Scheduling  Logic
  • 12. Docker Task Container  Instance Amazon   ECS Container ECS  Agent ELB Internet ELB User  /   Scheduler API Cluster  Management  Engine Task Container Docker Task Container  Instance Container ECS  Agent Task Container Docker Task Container  Instance Container ECS  Agent Task Container AZ  1 AZ  2 Key/Value  Store Agent  Communication  Service ECS
  • 14. Container  Networking Dom  0 Instance Instance Instance OS OS OS Container  Runtime Container  Runtime Container  Runtime Container Container Container Container Container Container
  • 15. Overlay  all  of  the  Thingz • Flannel • Calico • WeaveNet • Swarm  Mode
  • 17. Security  Pro-­Tips § Host  Security § Lock  it  down § Namespaces  and  cgroups are  your  friends § Select  few  belong  to  docker UNIX  group § SELinux is  also  your  friend § Docker  daemon  runs  as  root! § Docker  Daemon  Security § Do  not  run  in  privileged  mode § Lock  down  inter  container  comms –icc=false § Secure  APIs  with  TLS  certificates
  • 18. Whale-­Say "Only  trusted  users  should  be  allowed  to  control  your  Docker  daemon" “If  you  run  Docker  on  a  server,  it  is  recommended  to  run  exclusively  Docker   in  the  server,  and  move  all  other  services  within  containers  controlled  by   Docker”
  • 19. IMAGE  REGISTRY CI/CD DEPLOYMENT  SYSTEM SOURCE   CODE  REPO SECURITY   SCANNING CONTINUOUS   ASSURANCE Pull  latest   signed  image Commit  Code Trigger  Build Push  signed   image Pull  latest   stable  signed   image DEVELOPER Workflow
  • 20. More  Prescriptive  Advice  Here… https://benchmarks.cisecurity.org/tools2/docker/CIS_ Docker_1.11.0_Benchmark_v1.0.0.pdf
  • 22. Micro  OS CoreOS RancherOS Ubuntu  Snappy RedHat Atom VmWare Photon ECS  Optimized  Amazon  Linux RedHat Atomic VmWare Photon Ubuntu Snappy CoreOS RancherOS 395  MB 317  MB 215  MB 20  MB 150  MB
  • 24. Persistent  Storage   § POSIX  is  legacy  filesystem.  So  don’t! § Named  volumes § Data  only  container § Flocker § Shared  file  system  (EFS,  GlusterFS etc.)
  • 26. Monitoring  and  Operating Monitoring  systems  need  to  be  more  available  and  scalable  than  the  systems  (and  services)  being  monitored   ~  Adrian  Cockroft