SlideShare a Scribd company logo
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting started on AWS with Containers
O n l i n e W e b i n a r – 2 0 2 0 / 0 5 / 2 5
Cobus Bernard
Sr Developer Advocate
Amazon Web Services
@cobusbernard
cobusbernard
cobusbernard
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Recap of Compute
Overview of Containers
Amazon ECR
Amazon CodeBuild
Options to run containers on AWS
Q&A
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS manages Customer manages
Data source integrations
Physical hardware, software,
networking, and facilities
Provisioning
Application code
Container orchestration, provisioning
Cluster scaling
Physical hardware, host OS/kernel,
networking, and facilities
Application code
Data source integrations
Security config
and updates
Network config
Management tasks
Container orchestration control plane
Physical hardware, software,
networking, and facilities
Application code
Data source integrations
Work clusters
Security config and updates,
network config, firewall, and
management tasks
Physical hardware, software,
networking, and facilities
Application code
Data source integrations
Scaling
Security config and updates
Network config
Management tasks
Provisioning, managing scaling
and patching of servers
Compute options
AWS Lambda
Serverless functions
AWS Fargate
Serverless containers
Amazon ECS/EKS
Container-management
-as-a-service
Amazon EC2
Infrastructure-as-a-service
Less
More
Opinionated
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2
Virtual servers in the cloud
Physical servers in
AWS global Regions
Guest 1 Guest 2 Guest n
Hypervisor
Host server
EC2 instances
ECS
agent
Docker
agent
OS
Amazon Elastic
Compute Cloud
(Amazon EC2) instance
ECS
agent
Docker
agent
OS
EC2 instance
ECS
agent
Docker
agent
OS
EC2 instance
Amazon Elastic Container Service
(Amazon ECS)
ECS
agent
Docker
agent
OS
Amazon Elastic
Compute Cloud
(Amazon EC2) instance
ECS
agent
Docker
agent
OS
EC2 instance
ECS
agent
Docker
agent
OS
EC2 instance
Amazon Elastic Container Service
(Amazon ECS)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Subnet Subnet
Subnet Subnet
VPC
Availability Zone
US-EAST-1A
Availability Zone
US-EAST-1B
Amazon VPC (Virtual Private Cloud)
172.31. 172.31.
172.31. 172.31.
Subnet
Subnet
Availability Zone
US-EAST-1C
172.31.
172.31.
172.31.0.0/16:
172.31.0.1
to
172.31.255.254
=
65534 host IPs
/24 = 254 hosts
/20 = 4096 hosts
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Subnet
Subnet Subnet
VPC
Availability Zone
US-EAST-1A
Availability Zone
US-EAST-1B
Amazon VPC (Virtual Private Cloud)
172.31. 172.31.
172.31. 172.31.
Subnet
Subnet
Availability Zone
US-EAST-1C
172.31.
172.31.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Subnet
Subnet
VPC
Availability Zone
US-EAST-1A
Amazon VPC (Virtual Private Cloud)
172.31.
172.31.
Subnet
Subnet
172.31.
172.31.
Availability Zone
US-EAST-1C
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Containers and Docker
A container is a standard unit of software that packages up code and
all its dependencies so the application runs quickly and reliably from
one computing environment to another.1
1 https://www.docker.com/resources/what-container
Server
Operating System
Docker Engine
AppA
AppB
AppC
AppD
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Docker Image
• Used to launch container
• Instructions documented in Dockerfile
• Merge layers into single image
• Read-only template
kernel
Base Image
Image layer
Image layer
Image layer
References
parent image
layer
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container image tagging for deployments
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container image tagging for deployments
Build pushes new “latest” image
Image: sha256@22222... (“latest”)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container image tagging for deployments
Service scales up, launching new tasks
Image: sha256@22222... (“latest”)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container image tagging for deployments
Deploy using immutable tags
{
"name": "sample-app",
"image": "amazon/amazon-ecs-
sample@sha256:3e39d933b1d948c92309bb583b5a1f3d28f0119e1551ca1fe538ba414a41af48d"
}
{
"name": "sample-app",
"image": "amazon/amazon-ecs-sample:build-b2085490-359f-4eaf-8970-6d1e26c354f0"
}
SHA256 Digest
Build ID
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container image tagging for deployments
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container image tagging for deployments
Build pushes new image tagged with new build ID
Image: sha256@22222... (“build-22222”)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container image tagging for deployments
Service scales up, launching new tasks
Image: sha256@22222... (“build-22222”)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container image tagging for deployments
Image: “build-22222” tag
Deployment updates service’s task definition, replacing tasks
Image: sha256@22222... (“build-22222”)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ECS key components
Development cluster
Container instance Container instance
Container instance
Productioncluster
Container instance Container instance
Container instance
AmazonElastic Container Service
(AmazonECS)
Container
Container
Volume
Taskdefinition
AmazonElastic Container Registry
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EKS Architecture
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Elastic Beanstalk Workflow
Deploy
Configure &
Provision
Monitor &
Manage
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
A single service for web applications that automatically handles…
 Infrastructure provisioning
 Auto scaling configurations
 Network and security configurations
 Load balancing configurations
 OS and runtime updates
 Application deployments
 Application health monitoring
 Application analysis and debugging tools
… at no additional cost
AWS Elastic Beanstalk
Thank you!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cobus Bernard
Sr Developer Advocate
Amazon Web Services
@cobusbernard
cobusbernard
cobusbernard

More Related Content

Similar to AWS SSA Webinar 12 - Getting started on AWS with Containers (20)

PPTX
DevConfZA 2020 : Automating your cloud: What are the building blocks
Cobus Bernard
 
PPTX
AWS SSA Webinar 8 - Getting Started on AWS: Compute
Cobus Bernard
 
PPTX
AWS DevDay Cologne - Automating building blocks choices you will face with co...
Cobus Bernard
 
PPTX
AWS SSA Webinar 7 - Getting Started on AWS
Cobus Bernard
 
PPTX
AWS DevDay Vienna - Automating building blocks choices you will face with con...
Cobus Bernard
 
PPTX
Innovate - Breaking Down The Monolith
ShouvikKnightmare
 
PPTX
AWS DevDay Berlin - Automating building blocks choices you will face with con...
Cobus Bernard
 
PPTX
DevConf 2020: Resiliency and availability design patterns for the cloud
Cobus Bernard
 
PPTX
Leveraging serverless in fullstack development
Eric Johnson
 
PDF
20200513 - CloudComputing UCU
Marcia Villalba
 
PPTX
AWS SSA Webinar 10 - Getting Started on AWS: Networking
Cobus Bernard
 
PDF
20200803 - Serverless with AWS @ HELTECH
Marcia Villalba
 
PPTX
5 incredible (and uncommon) serverless patterns
DavidVictoria12
 
PPTX
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
Bhuvaneswari Subramani
 
PPTX
AWS SSA Webinar 34 - Getting started with databases on AWS - Managing DBs wit...
Cobus Bernard
 
PDF
From Docker Straight to AWS
DevOps.com
 
PDF
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS Summits
 
PDF
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
AWS Summits
 
PPTX
Creating a RDS MySQL instance from AWS Console and CloudFormation
Subhamay Bhattacharyya
 
PDF
20200520 - Como empezar a desarrollar aplicaciones serverless
Marcia Villalba
 
DevConfZA 2020 : Automating your cloud: What are the building blocks
Cobus Bernard
 
AWS SSA Webinar 8 - Getting Started on AWS: Compute
Cobus Bernard
 
AWS DevDay Cologne - Automating building blocks choices you will face with co...
Cobus Bernard
 
AWS SSA Webinar 7 - Getting Started on AWS
Cobus Bernard
 
AWS DevDay Vienna - Automating building blocks choices you will face with con...
Cobus Bernard
 
Innovate - Breaking Down The Monolith
ShouvikKnightmare
 
AWS DevDay Berlin - Automating building blocks choices you will face with con...
Cobus Bernard
 
DevConf 2020: Resiliency and availability design patterns for the cloud
Cobus Bernard
 
Leveraging serverless in fullstack development
Eric Johnson
 
20200513 - CloudComputing UCU
Marcia Villalba
 
AWS SSA Webinar 10 - Getting Started on AWS: Networking
Cobus Bernard
 
20200803 - Serverless with AWS @ HELTECH
Marcia Villalba
 
5 incredible (and uncommon) serverless patterns
DavidVictoria12
 
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
Bhuvaneswari Subramani
 
AWS SSA Webinar 34 - Getting started with databases on AWS - Managing DBs wit...
Cobus Bernard
 
From Docker Straight to AWS
DevOps.com
 
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
AWS Summits
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
AWS Summits
 
Creating a RDS MySQL instance from AWS Console and CloudFormation
Subhamay Bhattacharyya
 
20200520 - Como empezar a desarrollar aplicaciones serverless
Marcia Villalba
 

More from Cobus Bernard (19)

PPTX
London Microservices Meetup: Lessons learnt adopting microservices
Cobus Bernard
 
PPTX
AWS SSA Webinar 33 - Getting started with databases on AWS Amazon DynamoDB
Cobus Bernard
 
PPTX
AWS SSA Webinar 32 - Getting Started with databases on AWS: Choosing the righ...
Cobus Bernard
 
PPTX
AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...
Cobus Bernard
 
PPTX
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
Cobus Bernard
 
PPTX
AWS Webinar 24 - Getting Started with AWS - Understanding DR
Cobus Bernard
 
PPTX
AWS Webinar 23 - Getting Started with AWS - Understanding total cost of owner...
Cobus Bernard
 
PPTX
AWS SSA Webinar 21 - Getting Started with Data lakes on AWS
Cobus Bernard
 
PDF
AWS SSA Webinar 20 - Getting Started with Data Warehouses on AWS
Cobus Bernard
 
PPTX
AWS SSA Webinar 18 - Getting Started with Multi-Region Architecture: Data
Cobus Bernard
 
PPTX
AWS EMEA Online Summit - Live coding with containers
Cobus Bernard
 
PPTX
AWS EMEA Online Summit - Blending Spot and On-Demand instances to optimizing ...
Cobus Bernard
 
PPTX
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
Cobus Bernard
 
PPTX
HashiTalks Africa - Going multi-account on AWS with Terraform
Cobus Bernard
 
PPTX
AWS SSA Webinar 9 - Getting Started on AWS: Storage
Cobus Bernard
 
PPTX
AWS SSA Webinar 9 - Getting Started on AWS: Storage
Cobus Bernard
 
PPTX
AWS SSA Webinar - Cost optimisation on AWS
Cobus Bernard
 
PPTX
AWS Lake Formation Deep Dive
Cobus Bernard
 
PPTX
Getting started with AWS Machine Learning
Cobus Bernard
 
London Microservices Meetup: Lessons learnt adopting microservices
Cobus Bernard
 
AWS SSA Webinar 33 - Getting started with databases on AWS Amazon DynamoDB
Cobus Bernard
 
AWS SSA Webinar 32 - Getting Started with databases on AWS: Choosing the righ...
Cobus Bernard
 
AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...
Cobus Bernard
 
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
Cobus Bernard
 
AWS Webinar 24 - Getting Started with AWS - Understanding DR
Cobus Bernard
 
AWS Webinar 23 - Getting Started with AWS - Understanding total cost of owner...
Cobus Bernard
 
AWS SSA Webinar 21 - Getting Started with Data lakes on AWS
Cobus Bernard
 
AWS SSA Webinar 20 - Getting Started with Data Warehouses on AWS
Cobus Bernard
 
AWS SSA Webinar 18 - Getting Started with Multi-Region Architecture: Data
Cobus Bernard
 
AWS EMEA Online Summit - Live coding with containers
Cobus Bernard
 
AWS EMEA Online Summit - Blending Spot and On-Demand instances to optimizing ...
Cobus Bernard
 
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
Cobus Bernard
 
HashiTalks Africa - Going multi-account on AWS with Terraform
Cobus Bernard
 
AWS SSA Webinar 9 - Getting Started on AWS: Storage
Cobus Bernard
 
AWS SSA Webinar 9 - Getting Started on AWS: Storage
Cobus Bernard
 
AWS SSA Webinar - Cost optimisation on AWS
Cobus Bernard
 
AWS Lake Formation Deep Dive
Cobus Bernard
 
Getting started with AWS Machine Learning
Cobus Bernard
 
Ad

Recently uploaded (20)

PDF
DevOps Design for different deployment options
henrymails
 
PPT
introduction to networking with basics coverage
RamananMuthukrishnan
 
PPTX
法国巴黎第二大学本科毕业证{Paris 2学费发票Paris 2成绩单}办理方法
Taqyea
 
PPT
introductio to computers by arthur janry
RamananMuthukrishnan
 
PDF
𝐁𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓
hokimamad0
 
PPT
Computer Securityyyyyyyy - Chapter 2.ppt
SolomonSB
 
PPTX
ONLINE BIRTH CERTIFICATE APPLICATION SYSYTEM PPT.pptx
ShyamasreeDutta
 
PPTX
Orchestrating things in Angular application
Peter Abraham
 
PPTX
L1A Season 1 Guide made by A hegy Eng Grammar fixed
toszolder91
 
PPTX
英国假毕业证诺森比亚大学成绩单GPA修改UNN学生卡网上可查学历成绩单
Taqyea
 
PDF
Build Fast, Scale Faster: Milvus vs. Zilliz Cloud for Production-Ready AI
Zilliz
 
PDF
The-Hidden-Dangers-of-Skipping-Penetration-Testing.pdf.pdf
naksh4thra
 
PPTX
Presentation3gsgsgsgsdfgadgsfgfgsfgagsfgsfgzfdgsdgs.pptx
SUB03
 
PPTX
unit 2_2 copy right fdrgfdgfai and sm.pptx
nepmithibai2024
 
PPTX
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
PPT
Computer Securityyyyyyyy - Chapter 1.ppt
SolomonSB
 
PDF
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
PPTX
原版西班牙莱昂大学毕业证(León毕业证书)如何办理
Taqyea
 
PPTX
sajflsajfljsdfljslfjslfsdfas;fdsfksadfjlsdflkjslgfs;lfjlsajfl;sajfasfd.pptx
theknightme
 
PPT
Agilent Optoelectronic Solutions for Mobile Application
andreashenniger2
 
DevOps Design for different deployment options
henrymails
 
introduction to networking with basics coverage
RamananMuthukrishnan
 
法国巴黎第二大学本科毕业证{Paris 2学费发票Paris 2成绩单}办理方法
Taqyea
 
introductio to computers by arthur janry
RamananMuthukrishnan
 
𝐁𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓
hokimamad0
 
Computer Securityyyyyyyy - Chapter 2.ppt
SolomonSB
 
ONLINE BIRTH CERTIFICATE APPLICATION SYSYTEM PPT.pptx
ShyamasreeDutta
 
Orchestrating things in Angular application
Peter Abraham
 
L1A Season 1 Guide made by A hegy Eng Grammar fixed
toszolder91
 
英国假毕业证诺森比亚大学成绩单GPA修改UNN学生卡网上可查学历成绩单
Taqyea
 
Build Fast, Scale Faster: Milvus vs. Zilliz Cloud for Production-Ready AI
Zilliz
 
The-Hidden-Dangers-of-Skipping-Penetration-Testing.pdf.pdf
naksh4thra
 
Presentation3gsgsgsgsdfgadgsfgfgsfgagsfgsfgzfdgsdgs.pptx
SUB03
 
unit 2_2 copy right fdrgfdgfai and sm.pptx
nepmithibai2024
 
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
Computer Securityyyyyyyy - Chapter 1.ppt
SolomonSB
 
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
原版西班牙莱昂大学毕业证(León毕业证书)如何办理
Taqyea
 
sajflsajfljsdfljslfjslfsdfas;fdsfksadfjlsdflkjslgfs;lfjlsajfl;sajfasfd.pptx
theknightme
 
Agilent Optoelectronic Solutions for Mobile Application
andreashenniger2
 
Ad

AWS SSA Webinar 12 - Getting started on AWS with Containers

  • 1. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Getting started on AWS with Containers O n l i n e W e b i n a r – 2 0 2 0 / 0 5 / 2 5 Cobus Bernard Sr Developer Advocate Amazon Web Services @cobusbernard cobusbernard cobusbernard
  • 2. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Recap of Compute Overview of Containers Amazon ECR Amazon CodeBuild Options to run containers on AWS Q&A
  • 3. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 4. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS manages Customer manages Data source integrations Physical hardware, software, networking, and facilities Provisioning Application code Container orchestration, provisioning Cluster scaling Physical hardware, host OS/kernel, networking, and facilities Application code Data source integrations Security config and updates Network config Management tasks Container orchestration control plane Physical hardware, software, networking, and facilities Application code Data source integrations Work clusters Security config and updates, network config, firewall, and management tasks Physical hardware, software, networking, and facilities Application code Data source integrations Scaling Security config and updates Network config Management tasks Provisioning, managing scaling and patching of servers Compute options AWS Lambda Serverless functions AWS Fargate Serverless containers Amazon ECS/EKS Container-management -as-a-service Amazon EC2 Infrastructure-as-a-service Less More Opinionated
  • 5. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 Virtual servers in the cloud Physical servers in AWS global Regions Guest 1 Guest 2 Guest n Hypervisor Host server EC2 instances
  • 6. ECS agent Docker agent OS Amazon Elastic Compute Cloud (Amazon EC2) instance ECS agent Docker agent OS EC2 instance ECS agent Docker agent OS EC2 instance Amazon Elastic Container Service (Amazon ECS)
  • 7. ECS agent Docker agent OS Amazon Elastic Compute Cloud (Amazon EC2) instance ECS agent Docker agent OS EC2 instance ECS agent Docker agent OS EC2 instance Amazon Elastic Container Service (Amazon ECS)
  • 8. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Subnet Subnet Subnet Subnet VPC Availability Zone US-EAST-1A Availability Zone US-EAST-1B Amazon VPC (Virtual Private Cloud) 172.31. 172.31. 172.31. 172.31. Subnet Subnet Availability Zone US-EAST-1C 172.31. 172.31. 172.31.0.0/16: 172.31.0.1 to 172.31.255.254 = 65534 host IPs /24 = 254 hosts /20 = 4096 hosts
  • 9. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Subnet Subnet Subnet VPC Availability Zone US-EAST-1A Availability Zone US-EAST-1B Amazon VPC (Virtual Private Cloud) 172.31. 172.31. 172.31. 172.31. Subnet Subnet Availability Zone US-EAST-1C 172.31. 172.31.
  • 10. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Subnet Subnet VPC Availability Zone US-EAST-1A Amazon VPC (Virtual Private Cloud) 172.31. 172.31. Subnet Subnet 172.31. 172.31. Availability Zone US-EAST-1C
  • 11. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 12. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Containers and Docker A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another.1 1 https://www.docker.com/resources/what-container Server Operating System Docker Engine AppA AppB AppC AppD
  • 13. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Docker Image • Used to launch container • Instructions documented in Dockerfile • Merge layers into single image • Read-only template kernel Base Image Image layer Image layer Image layer References parent image layer
  • 14. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 15. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container image tagging for deployments
  • 16. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container image tagging for deployments Build pushes new “latest” image Image: sha256@22222... (“latest”)
  • 17. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container image tagging for deployments Service scales up, launching new tasks Image: sha256@22222... (“latest”)
  • 18. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container image tagging for deployments Deploy using immutable tags { "name": "sample-app", "image": "amazon/amazon-ecs- sample@sha256:3e39d933b1d948c92309bb583b5a1f3d28f0119e1551ca1fe538ba414a41af48d" } { "name": "sample-app", "image": "amazon/amazon-ecs-sample:build-b2085490-359f-4eaf-8970-6d1e26c354f0" } SHA256 Digest Build ID
  • 19. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container image tagging for deployments
  • 20. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container image tagging for deployments Build pushes new image tagged with new build ID Image: sha256@22222... (“build-22222”)
  • 21. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container image tagging for deployments Service scales up, launching new tasks Image: sha256@22222... (“build-22222”)
  • 22. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Container image tagging for deployments Image: “build-22222” tag Deployment updates service’s task definition, replacing tasks Image: sha256@22222... (“build-22222”)
  • 23. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 24. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon ECS key components Development cluster Container instance Container instance Container instance Productioncluster Container instance Container instance Container instance AmazonElastic Container Service (AmazonECS) Container Container Volume Taskdefinition AmazonElastic Container Registry
  • 25. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 27. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 28. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Elastic Beanstalk Workflow Deploy Configure & Provision Monitor & Manage
  • 29. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. A single service for web applications that automatically handles…  Infrastructure provisioning  Auto scaling configurations  Network and security configurations  Load balancing configurations  OS and runtime updates  Application deployments  Application health monitoring  Application analysis and debugging tools … at no additional cost AWS Elastic Beanstalk
  • 30. Thank you! © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cobus Bernard Sr Developer Advocate Amazon Web Services @cobusbernard cobusbernard cobusbernard

Editor's Notes

  • #5: So we talked about ECS, Fargate, and Lambda and so the serverless operations model looks like this 1/ You can start at the very bottom with EC2 and have access to all the knobs you want to manage or you could go completely serverless with lambda and Fargate where you’re focusing just on your application. 2/ So the layers of abstractions available to you with AWS is super empowering because your teams have the choice to pick the layer of abstraction they’re most comfortable with and we will provide you the tools, services, and APIs necessary to help you build your application
  • #6: As I mentioned earlier, we EC2 stands for Elastic Compute Cloud. We have racks of EC2 servers deployed across all of our regions, with each AWS regions consisting of multiple availability zones or AZs as we call then, and each AZ is typically multiple data centers. Within these racks, we have sometimes dozens of servers that each contain Processors, Memory, Networking and sometime local storage. As part of the EC2 stack, we have an hypervisor that partitions these resources, in to virtual machines or guests, which we call as an EC2 instance.
  • #7: 1/ And this is what your layers of management end up looking like. You’ve this completely managed orchestration or container management layer but you also have these software management layers just to run your application. 2/ And all you really want here is to run your containers. And Fargate enables you to do just that. So if you notice here, there is no management of instances, your infra is ready to scale as you application is. 3/ There are no 2 levels of management of scale anymore. You only define the requirement of your application in terms of a task – how should the service scale, what metrics do you care about and how many more such container or task you want Fargate to launch.
  • #9: Here we’ve configured 172.31.0.0/16 as the VPC CIDR and created two public subnets (172.31.0.0/24, 172.31.1.0/24) and two private subnets (172.31.128.0/24, 172.31.129.0/24).
  • #10: Here we’ve configured 172.31.0.0/16 as the VPC CIDR and created two public subnets (172.31.0.0/24, 172.31.1.0/24) and two private subnets (172.31.128.0/24, 172.31.129.0/24).
  • #11: Here we’ve configured 172.31.0.0/16 as the VPC CIDR and created two public subnets (172.31.0.0/24, 172.31.1.0/24) and two private subnets (172.31.128.0/24, 172.31.129.0/24).
  • #29: ReInvent 2018
  • #30: ReInvent 2018