Professional Documents
Culture Documents
Deploy containerized
web applications in
minutes
Tuan Huynh
Cloud App Architect
Amazon Web Services
@tuanmhuynh
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key takeaways
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Video 1 - showcase
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why containers?
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Applications aren’t just code,
they have dependencies
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Containers turn applications into one
deployable artifact
Container image
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Running containers in localhost is easy
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Four environments, same container
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Running containers in production is hard
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container orchestration
services
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modern application computing services landscape
AWS Amazon
INFRASTRUCTURE
Fargate EC2
Amazon
IMAGE REGISTRY
ECR
Third-party
tooling
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ECS or Amazon EKS?
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
High performance container registry
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless container
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Fully managed service for web applications
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS App Runner is a simple serverless experience for running HTTP request/reply services
Look at how much we abstract away behind service accounts!
Service infrastructure
Networking
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
When to use AWS App Runner:
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Simplicity + serverless = 🚀
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Introducing AWS Copilot CLI
✅ Solve all of these challenges
• 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!
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
$ copilot init
How to deploy applications? $ copilot svc deploy
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Flexible application builds and deployments
HTTP requests
Secure Clients
Amazon ECR AWS App Runner service URL
AWS Copilot
Amazon DynamoDB
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How about scaling?
• Max Concurrency
• The maximum number of simultaneous requests a single application instance can handle
• Maximum Instances
• Upper bound on the number of instances launched to control cost
• Pause/Resume Service
• Services can also be temporarily disabled using the Pause/Resume feature
• While paused, App Runner reduces application instances to zero until you resume
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Setting concurrency
Concurrency = 10 vs. Concurrency = 30
$
Application
Instance
10
30 30 30
10
requests Application requests Application
$
service URL
Instance $ service URL
Instance
10
Application
Instance $
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to implement CI/CD? $ copilot pipeline init
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Building release pipeline
AWS CodePipeline
AWS Copilot
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Additional resources
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Training & Certification
Access 600+ free digital courses with AWS Skill Builder
Focus on the cloud skills and services that are most relevant to
you across 30+ AWS solutions, including digital self-paced
learning plans and ramp-up guides.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you for attending
AWS Builders Online Series
We hope you found it interesting! A kind reminder to complete the survey.
Let us know what you thought of today’s event and how we can improve the event
experience for you in the future.
aws-apj-marketing@amazon.com
twitter.com/AWSCloud
facebook.com/AmazonWebServices
youtube.com/user/AmazonWebServices
linkedin.com/company/amazon-web-services
twitch.tv/aws
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Tuan Huynh
Cloud App Architect
Amazon Web Services
@tuanmhuynh
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.