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

Modern Development Approach Cloud Native Way

Dimitrij Klesev
April 13, 2023
45

Modern Development Approach Cloud Native Way

Dimitrij Klesev

April 13, 2023
Tweet

Transcript

  1. Modern Development Approach
    Cloud Native Way
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  2. Intro

    View Slide

  3. When we develop, we commonly see something like this:
    (See: https://learn.microsoft.com/en-us/azure/architecture/example-scenario/apps/devops-with-aks)
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  4. When we develop, we may experience also this:
    breaks
    here :(
    (See: https://learn.microsoft.com/en-us/azure/architecture/example-scenario/apps/devops-with-aks)
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  5. As developers today we are faced with the following difficulties:
    more complex pipelines
    more complex environments
    delivering features faster
    onboard new colleagues faster
    fix bugs even faster
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  6. dev

    View Slide

  7. dev+ops

    View Slide

  8. As developers today we are faced with the following difficulties:
    more complex pipelines
    more complex environments
    delivering features faster
    onboard new colleagues faster
    fix bugs even faster
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  9. Development Containers

    View Slide

  10. View Slide

  11. What are Development Containers?
    A Development Container (or Dev Container for short) allows you
    to use a container as a full-featured development environment. It
    can be used to run an application, to separate tools, libraries, or
    runtimes needed for working with a codebase, and to aid in
    continuous integration and testing. Dev containers can be run
    locally or remotely, in a private or public cloud.
    (See: https://containers.dev)
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  12. When a new engineer joins the team, they can open a codespace
    and skip the local environment setup because the required
    extensions, dependencies, and environment variables exist within
    the codespace.
    (See: https://github.blog/2023-02-28-10-things-you-didnt-know-you-could-do-with-github-codespaces/)
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  13. ( S e e : h t t p s : / / w w w. r e s e a r c h g a t e . n e t / p u b l i c a t i o n / 2 7 5 4 0 5 5 7 2 _ E v o l u t i o n _o f _C l o u d _C o m p u t i n g _ a n d _ E n a b l i n g _Te c h n o l o g i e s )

    View Slide

  14. As developers today we are faced with the following difficulties:
    more complex pipelines
    more complex environments
    delivering features faster
    onboard new colleagues faster
    fix bugs even faster
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  15. When we develop, we may experience also this:
    breaks
    here :(
    (See: https://learn.microsoft.com/en-us/azure/architecture/example-scenario/apps/devops-with-aks)
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  16. WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  17. WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  18. "reverse" port-forward

    View Slide

  19. Just a sample Kubernetes Service object
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  20. (See: https://codefresh.io/blog/telepresence-2-local-development/)
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  21. developing services like being within the cluster
    not affecting anyone else using current deployed version
    (See: https://learn.microsoft.com/en-us/visualstudio/bridge/overview-bridge-to-kubernetes)
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide

  22. DEMO

    View Slide

  23. References
    https://containers.dev
    https://github.com/features/codespaces
    https://coder.com
    https://www.telepresence.io
    https://learn.microsoft.com/en-us/visualstudio/bridge/overview-bridge-to-kubernetes
    WhizUs GmbH
    WhizUs GmbH KCSP & KTP
    KCSP & KTP 04/2023
    04/2023

    View Slide