DevOpsDay
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 從 Ops 與 SRE 的角度看 DevOps - 胡士亮 Robert Hu {%hackmd @DevOpsDay/BJXaW1_k6 %} > 從這裡開始寫 簡報連結: https://bit.ly/3PSZHHB --- 講師背景:工程師開始 Dev => Ops 會眾背景調查:https://app.sli.do/event/vGFbFcHriSwA3UBgu7Bze5/live/polls - Ops 失業危機?! - 人人皆 Ops!? - DevOps - ChatOps - AIOps - NoOps - 很多Ops的工作就是在維護機房,當機房沒了(上雲) Ops要做什麼? - Ops 做的其實是? - 出了問題 Ops 要負責 - Ops 就是一個『女媧』補天的角色 - DevOps 要解決什麼問題? - 一天可以 Release 10 次? 一天可以 Release 多次的公司大約 10% 而已,幾乎是不可能的任務,對於傳統的公司是做不到的 - 需要透過 CI/CD 自動化,Dev 將流程最佳化,達成一天 Release 的任務 - 不是Dev來搶Ops的工作,其實是Dev的Operation - Ops Processes `如果dev要把所有ops的工作都做完,那就沒時間開發了` - Ops 創造出來的價值 - 橘色的點,就是上線的點,要上線才能為公司帶來價值者 #### Total Cost of Ownership - 70% 的成本在維運 Operations - Maintenance - Repairs - Renewals - 20% Construction - 6% Design - 4% Disposal 降低維運成本->展現Ops價值的地方 ### DevOps v.s. OpsDev - DevOps - 開發效率 - 執行效率 - OpsDev (比較困難) - What is OpsDevs?其實就是SRE - Google SRE 出發點 - 解決開發與維運之間的衝突 - Dev - 盡快上線 - Ops - 強調穩定,少release - SRE 指標 - 服務能不能用是 User 說的算,不是 IT 、維運等 - 在意的是 User 能不能使用,而不是只看指標 - SRE - 如果懂開發跟維運,可能會被抓去做開發 - 要算真實的SOE:取得end-user的行為數據 `唯一真實的數據在production上才會有` - OpsDev Capabilities - Application Runtime Characteristics - Application Performance/SLA - End-user interaction - Business Activities - Other dependencies - Costs - Reduce Manual Operation - Automation(不要成為「資深重開重安裝師」) - Self-service - Feedback to Dev - Incidents/Problems - Reliability/Availability/Scalability/Security 先解決對公司來說cost最嚴重的系統,所以最好是讓工程師知道哪個系統的cost跟公司的關係 - 要怎麼定位是不是應用程式的問題 - Application Runtime Characteristics - Monitoring - Analyze - Actions #### Visualization - 視覺化工具非常重要,把數據變成狀態圖形幫助理解 - **要常常觀察** ,當有遇到問題時,線圖的改變就會容易發現,對系統越理解的時候,就越能找到系統正在幹嘛 - 就跟醫生也是依據病人的數據分析報告,才會發現出問題 #### Application Map - 幫你畫出應用程式呼叫圖,告訴你花了多少時間,有什麼 error - https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-dependencies #### Business Activity Monitoring - 監控層級提升到Business的商業價值 #### Correlation 在 curl 圖表上可以看到它的錯誤率較左邊的圖表來得多,後來發現是 curl 在某個特定版本有 openSSL 的問題。 #### Feedback to Dev Application Insight 可以將指標 feedback 到 IDE 上,dev 就可以透過 IDE 知道這段 code 最近在 Production 上的執行狀況,進而做程式的調整與優化 - https://docs.microsoft.com/zh-tw/azure/application-insights/app-insights-visual-studio-codelens #### Visualize Istio Mesh - 看到應用程式是怎麼樣互相呼叫的 - https://www.youtube.com/watch?v=Loy4pJ8aUXc #### User Monitoring - 可以在 web 埋 js 之後,蒐集應用程式的使用狀態 - https://www.elastic.co/observability/real-user-monitoring #### Machine Learning - 當數值偏離正常值的時候,就會出現警告 #### OpsDev - 要知道應用程式 runtime 特性和行爲 #### 理想的應用程式問題處理流程 - 找出到底是哪裡出問題 - 出問題時不是由User來告訴我問題,而是Alert告訴我出問題了 1. Alert 2. Dashboard 3. Adhoc Query 4. Log Aggregation 5. Distributed Tracing 6. Fix

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully