Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Accelerate Modern Application Development with Containers

Accelerate Modern Application Development with Containers

Containers are a powerful way for developers to package and deploy their applications. They are lightweight and provide a consistent, portable software environment for applications to easily run and scale anywhere. However, deploying our containers still creates another layer of complexity. This talk focused on how you can easily deploy, release and run containerized applications using Amazon ECS, integration with Amazon ECR, and using AWS Copilot to streamline the process.

Donnie Prakoso

June 25, 2022
Tweet

More Decks by Donnie Prakoso

Other Decks in Technology

Transcript

  1. Community
    AWS Community
    Accelerate Modern Application
    Development with Containers

    View full-size slide

  2. AWS Community
    Key Takeaways
    • 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

    View full-size slide

  3. AWS Community
    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.

    View full-size slide

  4. AWS Community
    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

    View full-size slide

  5. AWS Community
    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

    View full-size slide

  6. Why containers?

    View full-size slide

  7. AWS Community
    Code
    Code packages Operating
    system packages
    Runtime
    Applications aren’t just code, they have dependencies

    View full-size slide

  8. AWS Community
    Code
    Code packages Operating
    system packages
    Container image
    Runtime
    Containers turn applications into one deployable artifact

    View full-size slide

  9. AWS Community
    Local Laptop Staging / QA Production On-Prem
    Four environments, same container

    View full-size slide

  10. AWS Community
    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

    View full-size slide

  11. AWS Community
    AWS Container Services Landscape
    Management
    Deployment, scheduling, scaling, and management
    of containerized applications
    Hosting
    Where the containers run
    Image Registry
    Container image repository

    View full-size slide

  12. AWS Community
    Simplicity + Serverless = 🚀

    View full-size slide

  13. AWS Community
    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

    View full-size slide

  14. AWS Community
    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

    View full-size slide

  15. AWS Community
    Diagram Architecture

    View full-size slide

  16. AWS Community
    DEMO
    Deploy Web, Integrate with API and Database
    You will learn how to :
    1. Create and deploy a new service
    2. Change HTTP path routing
    3. Synchronous communication using service discovery

    View full-size slide

  17. AWS Community
    Diagram Architecture

    View full-size slide

  18. AWS Community
    www.copilot.rocks 🤘

    View full-size slide

  19. Community
    Download the PPT
    Code Repo + Demo
    AWS Community
    https://bit.ly/aws-community-asean-content

    View full-size slide