Slide 1

Slide 1 text

© 2021, Amazon Web Services, Inc. or its Affiliates. Developer Advocate, ASEAN Amazon Web Services Building Modern Application with Containers Donnie Prakoso Developer Edition @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso

Slide 2

Slide 2 text

© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 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 donnieprakoso go.donnie.id/youtube @donnieprakoso donnieprakoso

Slide 3

Slide 3 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso • Understand the goal of building with modern approach • Understand the overall essential container services on AWS • How to use AWS Copilot to deploy your application • How to deploy another service with AWS Copilot • How to integrate services Key Takeaways

Slide 4

Slide 4 text

© 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Modern Application. The combination of modern technologies, architectures, software delivery practices, and operational processes that lead teams to deliver value more quickly, frequently, consistently, and safely.

Slide 5

Slide 5 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Goal of Modern Application Value for Customers Build better products Release features faster Experiment and Innovate more often Focus on business logic Decouple software systems

Slide 6

Slide 6 text

© 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Developers provision infrastructure on demand and deploy in minutes Software delivery is automated via continuous delivery pipelines Applications are fully instrumented for metric and log collection Organizations standardize on tools and best practices Security best practices are baked in to every application and service Developers wait days/weeks for infrastructure to be provisioned Tooling is inconsistent across teams and business units Software is manually deployed on an ad-hoc basis Security is configured ad-hoc for each application Developers lack visibility into applications running in production Challenge Solution From Challenges to Solutions

Slide 7

Slide 7 text

© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Slide 8

Slide 8 text

© 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Code Code packages Operating system packages Runtime Applications aren’t just code, they have dependencies

Slide 9

Slide 9 text

© 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Code Code packages Operating system packages Container image Runtime Containers turn applications into one deployable artifact

Slide 10

Slide 10 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Local Laptop Staging / QA Production On-Prem Four environments, same container

Slide 11

Slide 11 text

© 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Running containers in production 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

Slide 12

Slide 12 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso AWS Container Services Landscape Management Deployment, scheduling, scaling, and management of containerized applications Hosting Where the containers run Image Registry Container image repository

Slide 13

Slide 13 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Simplicity + Serverless = 🚀

Slide 14

Slide 14 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Introducing AWS Copilot CLI • 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? • ...and more! ✅ Solve all of these challenges

Slide 15

Slide 15 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso DEMO Deploy API with AWS Copilot You will learn how to : 1. Install AWS Copilot 2. Initialize your first app 3. Create environment 4. Deploy your API

Slide 16

Slide 16 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Diagram Architecture

Slide 17

Slide 17 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso DEMO Deploy Web and Integrate with API You will learn how to : 1. Create and deploy a new service 2. Change HTTP path routing 3. Synchronous communication using service discovery

Slide 18

Slide 18 text

© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. @donnieprakoso donnieprakoso go.donnie.id/youtube donnieprakoso Diagram Architecture

Slide 19

Slide 19 text

© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. www.copilot.rocks 🤘

Slide 20

Slide 20 text

© 2021, Amazon Web Services, Inc. or its Affiliates. Q&A Time! Donnie Prakoso @donnieprakoso donnieprakoso Developer Advocate, ASEAN Amazon Web Services go.donnie.id/youtube donnieprakoso