PAGE
1
DEVOPS INDONESIA
PAGE
1
DEVOPS INDONESIA
Donnie Prakoso
AWS
Jakarta, 11 November 2021
Operate Containers with AWS Copilot
© 2021, Amazon Web Services, Inc. or its Affiliates.
Operate Containers with
AWS Copilot
Developer Edition
Donnie Prakoso
Sr. Developer Advocate, ASEAN
Amazon Web Services
@donnieprakoso
donnieprakoso
go.donnie.id/youtube
donnieprakoso
Donnie Prakoso, MSc
Senior Developer Advocate, ASEAN
• 17+ years in software development and system operations
• Banking industry, telco to startups
• From software developer to R&D manager to CTO
• I talk a lot about microservices and machine learning
• Self-proclaimed Barista and Café Racer enthusiasts
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
@donnieprakoso
go.donnie.id/youtube
donnieprakoso
donnieprakoso
© 2021, Amazon Web Services, Inc. or its Affiliates.
Agenda
Introductions to Containers and Docker
AWS Container landscape
AWS Copilot — Toolkit for containerized applications on AWS
What’s next?
Join us on December 1st for AWS Cloud Day Indonesia 2021 to accelerate and unlock new innovations using cloud technology. We hope
that from this virtual event you will gain new insights into how the AWS Indonesia Region can deliver efficiencies, save costs, and unlock
new opportunities for your business using AI/ML, data analytics, migration, and more.
3 keynote 2 Industry 1 Technical 1 Developer Financial Healthcare Logistic Smart City
sessions Innovation Tracks Track Community Track Services Services Services Solution
Get inspired by opening keynotes and fireside
chat discussions with business leaders,
governments and startup founders, and gain
insight into how they develop and deliver
value to their customers.
Data
Analytic
Security AI/ML Serverless/
Containers
Migration
Scan Me
1 Decem ber 2 0 2 1
REGISTER NOW AT https://amz.run/5
© 20
1
21,A
X
maz
r
on Web Services,Inc.or its affiliates. All rights reserved.
1 Solution
Spotlight Track
35 customer stories
6 partner tracks
8 Partner solution
zones
Resource
Center
DEMO
© 2021, Amazon Web Services, Inc. or its Affiliates.
First things first…
What are containers and why are
developers using them?
© 2021, Amazon Web Services, Inc. or its Affiliates.
Application environment components
Runtime
engine
Code
Dependencies Configuration
© 2021, Amazon Web Services, Inc. or its Affiliates.
Runtime engine
Dependencies
Code
Docker to the rescue
© 2021, Amazon Web Services, Inc. or its Affiliates.
Local laptop Staging / QA Production On-prem
Four environments,same container
© 2021, Amazon Web Services, Inc. or its Affiliates.
DEMO
© 2021, Amazon Web Services, Inc. or its Affiliates.
Running container in localhost is easy
© 2021, Amazon Web Services, Inc. or its Affiliates.
Running containers in production is hard
© 2021, Amazon Web Services, Inc. or its Affiliates.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Container Service (Amazon ECS)
Container-level networking
Advanced task placement
Deep integration with AWS platform
{ … } Amazon ECS CLI
Global footprint
© 2021, Amazon Web Services, Inc. or its Affiliates.
Powerful scheduling engines
Automatic scaling
Amazon CloudWatch metrics
Load balancers
Amazon Elastic Container Registry (Amazon ECR)
{…
}
Deep integration with AWS platform
Integrated with Amazon ECS and Docker CLI
Scalable and highly available
100 percent cloud-based Docker container registry
© 2021, Amazon Web Services, Inc. or its Affiliates.
Computing Options in Amazon ECS
Hosting
Where the containers run
Amazon Elastic
Compute Cloud
AWS Fargate
© 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Fargate
Launch quickly &
scale easily
No infrastructure
Resource-based
pricing
Manage everything at
container level
© 2021, Amazon Web Services, Inc. or its Affiliates.
DEMO
© 2021, Amazon Web Services, Inc. or its Affiliates.
Container deployment challenges
Release Operate
Build
© 2021, Amazon Web Services, Inc. or its Affiliates.
Container deployment challenges
© 2021, Amazon Web Services, Inc. or its Affiliates.
• How do I deploy applications?
• How to check the applications?
• How do I add a service & integrate with AWS services?
• How can I test without affecting productions?
• How do I release applications?
• How about cleaning up?
Introducing AWS Copilot CLI
© 2021, Amazon Web Services, Inc. or its Affiliates.
Installing AWS Copilot
$ brew install aws/tap/copilot-cli
© 2021, Amazon Web Services, Inc. or its Affiliates.
https://aws.github.io/copilot-cli/
© 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Copilot: Build
© 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Copilot: Release
© 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Copilot: Operate
© 2021, Amazon Web Services, Inc. or its Affiliates.
D 1---------------•
•
Client
Staging Environment
[I Amazon ECS Cluster
Application Load
Balancer
AWS Fargate
API Backend
AWS Fargate
Worker Service
Amazon SNS
Topic: Process
Amazon SQS
Queue: Process
Amazon S3
Amazon DynamoDB
Table: Request
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its Affiliates.
More features…
• Easy deployment with AWS App Runner
• Scheduled job
• Release pipeline
• Environment variables
• Managing secrets
• Service discovery
• Sidecars
• ...more on https://aws.github.io/copilot-cli/
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Takeaways
© 2021, Amazon Web Services, Inc. or its Affiliates.
• Focus on building products not infrastructure
• Amazon Elastic Container Service — highly secure, reliable, and scalable way
to run containers
• AWS Fargate — you don’t have to provision, configure, or scale clusters of
virtual machines to run containers
• AWS Copilot — Build, release and operate with AWS Copilot to streamline the
process
• Start small and grow with add ons — Customize patterns with the manifest
Join us on December 1st for AWS Cloud Day Indonesia 2021 to accelerate and unlock new innovations using cloud technology. We hope
that from this virtual event you will gain new insights into how the AWS Indonesia Region can deliver efficiencies, save costs, and unlock
new opportunities for your business using AI/ML, data analytics, migration, and more.
3 keynote 2 Industry 1 Technical 1 Developer Financial Healthcare Logistic Smart City
sessions Innovation Tracks Track Community Track Services Services Services Solution
Get inspired by opening keynotes and fireside
chat discussions with business leaders,
governments and startup founders, and gain
insight into how they develop and deliver
value to their customers.
Data
Analytic
Security AI/ML Serverless/
Containers
Migration
1 Decem ber 2 0 2 1
REGISTER NOW AT https://amz.run/51Xr
1 Solution
Spotlight Track
35 customer stories
6 partner tracks
8 Partner solution
zones
Resource
Center
© 2021, Amazon Web Services, Inc. or its Affiliates.
Feedback Please!
@donnieprakoso donnieprakoso
Donnie Prakoso
Sr. Developer Advocate, ASEAN
Amazon Web Services go.donnie.id/youtube donnieprakoso
© 2021, Amazon Web Services, Inc. or its Affiliates.
Stay Connected With Us!
t.me/iddevops
DevOps Indonesia
DevOps Indonesia
DevOps Indonesia
@iddevops
@iddevops
DevOps Indonesia
Scan here
PAGE
36
DEVOPS INDONESIA
Alone Weare smart, together We are brilliant
THANK YOU !
Quote by Steve Anderson

Operate Containers with AWS Copilot

  • 1.
    PAGE 1 DEVOPS INDONESIA PAGE 1 DEVOPS INDONESIA DonniePrakoso AWS Jakarta, 11 November 2021 Operate Containers with AWS Copilot
  • 2.
    © 2021, AmazonWeb Services, Inc. or its Affiliates. Operate Containers with AWS Copilot Developer Edition Donnie Prakoso Sr. Developer Advocate, ASEAN Amazon Web Services @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso
  • 3.
    Donnie Prakoso, MSc SeniorDeveloper Advocate, ASEAN • 17+ years in software development and system operations • Banking industry, telco to startups • From software developer to R&D manager to CTO • I talk a lot about microservices and machine learning • Self-proclaimed Barista and Café Racer enthusiasts © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. @donnieprakoso go.donnie.id/youtube donnieprakoso donnieprakoso
  • 4.
    © 2021, AmazonWeb Services, Inc. or its Affiliates. Agenda Introductions to Containers and Docker AWS Container landscape AWS Copilot — Toolkit for containerized applications on AWS What’s next?
  • 5.
    Join us onDecember 1st for AWS Cloud Day Indonesia 2021 to accelerate and unlock new innovations using cloud technology. We hope that from this virtual event you will gain new insights into how the AWS Indonesia Region can deliver efficiencies, save costs, and unlock new opportunities for your business using AI/ML, data analytics, migration, and more. 3 keynote 2 Industry 1 Technical 1 Developer Financial Healthcare Logistic Smart City sessions Innovation Tracks Track Community Track Services Services Services Solution Get inspired by opening keynotes and fireside chat discussions with business leaders, governments and startup founders, and gain insight into how they develop and deliver value to their customers. Data Analytic Security AI/ML Serverless/ Containers Migration Scan Me 1 Decem ber 2 0 2 1 REGISTER NOW AT https://amz.run/5 © 20 1 21,A X maz r on Web Services,Inc.or its affiliates. All rights reserved. 1 Solution Spotlight Track 35 customer stories 6 partner tracks 8 Partner solution zones Resource Center
  • 6.
    DEMO © 2021, AmazonWeb Services, Inc. or its Affiliates.
  • 7.
    First things first… Whatare containers and why are developers using them? © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 8.
    Application environment components Runtime engine Code DependenciesConfiguration © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 9.
    Runtime engine Dependencies Code Docker tothe rescue © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 10.
    Local laptop Staging/ QA Production On-prem Four environments,same container © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 11.
    DEMO © 2021, AmazonWeb Services, Inc. or its Affiliates.
  • 12.
    Running container inlocalhost is easy © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 13.
    Running containers inproduction is hard © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 14.
    © 2021, AmazonWeb Services, Inc. or its affiliates. All rights reserved.
  • 15.
    Amazon Elastic ContainerService (Amazon ECS) Container-level networking Advanced task placement Deep integration with AWS platform { … } Amazon ECS CLI Global footprint © 2021, Amazon Web Services, Inc. or its Affiliates. Powerful scheduling engines Automatic scaling Amazon CloudWatch metrics Load balancers
  • 16.
    Amazon Elastic ContainerRegistry (Amazon ECR) {… } Deep integration with AWS platform Integrated with Amazon ECS and Docker CLI Scalable and highly available 100 percent cloud-based Docker container registry © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 17.
    Computing Options inAmazon ECS Hosting Where the containers run Amazon Elastic Compute Cloud AWS Fargate © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 18.
    AWS Fargate Launch quickly& scale easily No infrastructure Resource-based pricing Manage everything at container level © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 19.
    DEMO © 2021, AmazonWeb Services, Inc. or its Affiliates.
  • 20.
    Container deployment challenges ReleaseOperate Build © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 21.
    Container deployment challenges ©2021, Amazon Web Services, Inc. or its Affiliates. • How do I deploy applications? • How to check the applications? • How do I add a service & integrate with AWS services? • How can I test without affecting productions? • How do I release applications? • How about cleaning up?
  • 22.
    Introducing AWS CopilotCLI © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 23.
    Installing AWS Copilot $brew install aws/tap/copilot-cli © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 24.
    https://aws.github.io/copilot-cli/ © 2021, AmazonWeb Services, Inc. or its Affiliates.
  • 25.
    AWS Copilot: Build ©2021, Amazon Web Services, Inc. or its Affiliates.
  • 26.
    AWS Copilot: Release ©2021, Amazon Web Services, Inc. or its Affiliates.
  • 27.
    AWS Copilot: Operate ©2021, Amazon Web Services, Inc. or its Affiliates.
  • 28.
    D 1---------------• • Client Staging Environment [IAmazon ECS Cluster Application Load Balancer AWS Fargate API Backend AWS Fargate Worker Service Amazon SNS Topic: Process Amazon SQS Queue: Process Amazon S3 Amazon DynamoDB Table: Request
  • 29.
    © 2021, AmazonWeb Services, Inc. or its affiliates. All rights reserved.
  • 30.
    © 2021, AmazonWeb Services, Inc. or its Affiliates. More features… • Easy deployment with AWS App Runner • Scheduled job • Release pipeline • Environment variables • Managing secrets • Service discovery • Sidecars • ...more on https://aws.github.io/copilot-cli/
  • 31.
    © 2021, AmazonWeb Services, Inc. or its affiliates. All rights reserved.
  • 32.
    Takeaways © 2021, AmazonWeb Services, Inc. or its Affiliates. • Focus on building products not infrastructure • Amazon Elastic Container Service — highly secure, reliable, and scalable way to run containers • AWS Fargate — you don’t have to provision, configure, or scale clusters of virtual machines to run containers • AWS Copilot — Build, release and operate with AWS Copilot to streamline the process • Start small and grow with add ons — Customize patterns with the manifest
  • 33.
    Join us onDecember 1st for AWS Cloud Day Indonesia 2021 to accelerate and unlock new innovations using cloud technology. We hope that from this virtual event you will gain new insights into how the AWS Indonesia Region can deliver efficiencies, save costs, and unlock new opportunities for your business using AI/ML, data analytics, migration, and more. 3 keynote 2 Industry 1 Technical 1 Developer Financial Healthcare Logistic Smart City sessions Innovation Tracks Track Community Track Services Services Services Solution Get inspired by opening keynotes and fireside chat discussions with business leaders, governments and startup founders, and gain insight into how they develop and deliver value to their customers. Data Analytic Security AI/ML Serverless/ Containers Migration 1 Decem ber 2 0 2 1 REGISTER NOW AT https://amz.run/51Xr 1 Solution Spotlight Track 35 customer stories 6 partner tracks 8 Partner solution zones Resource Center © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 34.
    Feedback Please! @donnieprakoso donnieprakoso DonniePrakoso Sr. Developer Advocate, ASEAN Amazon Web Services go.donnie.id/youtube donnieprakoso © 2021, Amazon Web Services, Inc. or its Affiliates.
  • 35.
    Stay Connected WithUs! t.me/iddevops DevOps Indonesia DevOps Indonesia DevOps Indonesia @iddevops @iddevops DevOps Indonesia Scan here
  • 36.
    PAGE 36 DEVOPS INDONESIA Alone Wearesmart, together We are brilliant THANK YOU ! Quote by Steve Anderson