7 best practices for operating containers

7 best practices for operating containers proposed by Google. These can serve as blueprint for ensuring resilient solutions.

Below are some of the best practices for operating containers proposed by Google. These can serve as blueprint for ensuring resilient solutions.

  1. Use native logging mechanisms or containers
    • JSON logs
    • Log aggregator sidecar pattern
  2. Ensure that containers are stateless and immutable
  3. Avoid privileged containers
  4. Make application easy to monitor
    • Metrics HTTP endpoint
    • Sidecar pattern for monitoring
  5. Expose the health of your application
    • Liveness probe
    • Readiness probe
  6. Avoid running as root
  7. Carefully choose image version

For full details of each line item check this link:

https://cloud.google.com/solutions/best-practices-for-operating-containers

Notes from Microsoft Build Conference 2020

Some notes from the 3-day online MSFT Build Conference held on May 2020Recording of all sessions: https://channel9.msdn.com/Events/Build/2020

  • Microsoft Teams user base grew to 75 million in April!
  • Github is the home for developers
    • Lots of Visual Studio Code integration
    • CI/CD with Github Actions
    • Remote developer productivity with Codespaces
    • Codespaces in Github is very similar to Cloud Shells: an IDE in the browser integrated with github repo, with browser preview and Azure Static Web Apps integration.
    • https://github.com/features/codespaces/
  • Windows Subsystem for Linux (WSDL)
    • WSDL 2 will be released with the next Windows (~ Sept)
    • Almost native Linux Kernel – Faster – Can open Linux GUI apps
    • Docker Desktop runs better on WSDL
  • Power Platform
    • Tool to building low-code/no-code apps
    • Great for quick data-driven business apps
    • Integrates nicely with Teams, reaching a wide audience instantly
  • Azure
    • 95% of Fortune 500 use Azure
    • Azure Arc is the first control plane for multi-cloud env
    • Azure Static Web App http://aka.ms/staticwebaapps
      • A modern web app service that offers streamlined full-stack development from source code to global high availability.
      • Very easy a quick to spin up a production app from github
    • Cloud Native App Development
      • Spot pricing
      • Kubenertes Engine – Run windows servers
      • Cosmos DB
        • Free tier
        • Serverless pricing
        • Auto-scale
      • Azure Cognitive Services
        • Vision
        • Speech
        • Search
        • Language