<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tony Lee, Taiwan on Medium]]></title>
        <description><![CDATA[Stories by Tony Lee, Taiwan on Medium]]></description>
        <link>https://medium.com/@xu3ej04u454?source=rss-e2ac55c8ff20------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*m53JS2ANHkYNXO8SmC6ISQ.png</url>
            <title>Stories by Tony Lee, Taiwan on Medium</title>
            <link>https://medium.com/@xu3ej04u454?source=rss-e2ac55c8ff20------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:34:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@xu3ej04u454/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Azure 上的省錢技巧 — Service Endpoint(2)]]></title>
            <link>https://medium.com/@xu3ej04u454/azure-%E4%B8%8A%E7%9A%84%E7%9C%81%E9%8C%A2%E6%8A%80%E5%B7%A7-service-endpoint-2-2a90fba38f2?source=rss-e2ac55c8ff20------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a90fba38f2</guid>
            <category><![CDATA[azure-pricing]]></category>
            <category><![CDATA[azure-private-link]]></category>
            <category><![CDATA[azure-service-endpoint]]></category>
            <dc:creator><![CDATA[Tony Lee, Taiwan]]></dc:creator>
            <pubDate>Sat, 22 Jan 2022 14:44:06 GMT</pubDate>
            <atom:updated>2022-01-22T14:44:06.176Z</atom:updated>
            <content:encoded><![CDATA[<h3>Azure 上的省錢技巧 — Service Endpoint(2)</h3><p>如果在 Azure 上的資料存取時，希望用安全方式存取，那有兩個方案可達成：</p><ol><li>Service Endpoint：用 Internet 安全的存取資料</li><li>Private Endpoint：用 SSLVPN 安全的存取資料，需部署 Private Link Service</li></ol><p>就上述解釋當然是 Private Endpoint 比較符合需求，這當然沒錯！但是魔鬼藏在細節裡，因為依照 Azure Private Link 收費，除了本身 Private Link 服務的月租費之外，還有 Private Endpoint 的流量 In &amp; Out 費用。</p><p><strong>到這邊可能大家會以為只有流量流出 Data Center 才需要收費</strong>，這是錯的！包含 GCP (Private Connect Service)、AWS (Private Link) 都是有相同的計費方式。</p><p>所以到這做法就相當明確了，如果像下架構所示，Storage Account 需要被雲地服務存取，勢必是會需要 Private Endpoint 的設定，同時該 Storage FQDN 也須備注冊在 Private DNZ Zone 中。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*BgVQpDI9EewUUcX3ZbFvPw.png" /></figure><p>地端服務存取 Storage 流量計費確實無可避免，但此架構也會直接導致雲端 Storage 走 Private Endpoint 存取，變成無形中，流量 In &amp; Out 會被收費。</p><p>大家會覺得怪，雲端資料存取並未落地 (流出 Data Center) 卻還是被收費，確實很沒意思，也因此 Service Endpoint 就是目前唯一解。</p><p>要完成此架構，很簡單，只要想辦法讓 Azure VM 認得 Storage Account 的 Public IP 就好，那就是…改 DNS 指向 8.8.8.8！</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a90fba38f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Azure 上的省錢技巧 — Storage Account (2)]]></title>
            <link>https://medium.com/@xu3ej04u454/azure-%E4%B8%8A%E7%9A%84%E7%9C%81%E9%8C%A2%E6%8A%80%E5%B7%A7-storage-account-2-3bb52a95a4b3?source=rss-e2ac55c8ff20------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bb52a95a4b3</guid>
            <category><![CDATA[elastic-stack]]></category>
            <category><![CDATA[azure-storage-blob]]></category>
            <dc:creator><![CDATA[Tony Lee, Taiwan]]></dc:creator>
            <pubDate>Tue, 23 Nov 2021 15:05:47 GMT</pubDate>
            <atom:updated>2021-11-23T15:05:47.856Z</atom:updated>
            <content:encoded><![CDATA[<h3>Azure 上的省錢技巧 — Storage Account (2)</h3><p>其實會講這篇的起因是 Azure Monitor &amp; Log Analytics ，資料回傳的不是這麼的即時。</p><p>曾經在使用 Azure Firewall 時，想看前 1 個小時的資料，結果撈一撈，只能看到 12 小時前的資料，但我去 Storage 找 Log，確實是有收集到啊…</p><p>後來我開 Case 問，Support 也覺得很納悶，但也因為這個契機，腦力激盪把 Azure Log 收集到 ELK 內，技術上這當然是另外一個故事了，尤其 Filebeat…。</p><p>總而言之，為了達到集中管理 Azure Log，我們把欲監控的 PaaS (Diagnostic settings) &amp; SaaS (Sentinel) Log 記錄到 Storage Account，收集起來會像下圖這樣：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r21oEN2SKT8cg0SVPK9vFQ.png" /></figure><p>再來就是取得 Storage Account 的 Access Key，使用文件可參考 <a href="https://docs.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux#configure-your-storage-account-credentials">Configure your storage account credentials</a>。另外，掛載上去之後是不佔空間的，所以大可放心使用。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4sDXwI90r5e7iEQy9j6pgQ.png" /></figure><p>再來就是資料讀取的步驟了，每個操作都是費用，真的要小心！！</p><p>我的作法很陽春，就是定期複製檔案到 Local Disk，定期刪除過時的檔案，就這樣，再把需要 Scan 的檔案丟到 ELK 去，大功告成！！步驟上簡略為以下，意思就是，有需要的檔案才 Scan，參考看看吧。</p><pre>blobfuse /dir_to_path --tmp-path=/dir_to_tmp_path --config-file=/dir_to_cfg_path/fuse.cfg</pre><pre>mkdir -p /dir_to_local_path</pre><pre>cp -r /dir_to_blob_path/最新檔案 /dir_to_local_path</pre><pre>rm -fr /dir_to_local_path/過期檔案</pre><pre>crontab -e</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bb52a95a4b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RMS簡介]]></title>
            <link>https://medium.com/@xu3ej04u454/rms%E7%B0%A1%E4%BB%8B-5bcf1b7fd957?source=rss-e2ac55c8ff20------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bcf1b7fd957</guid>
            <category><![CDATA[fab]]></category>
            <dc:creator><![CDATA[Tony Lee, Taiwan]]></dc:creator>
            <pubDate>Sat, 19 Oct 2019 15:00:09 GMT</pubDate>
            <atom:updated>2021-11-23T15:08:18.699Z</atom:updated>
            <content:encoded><![CDATA[<h3>RMS 簡介</h3><p>配方管理系統 (Recipe Management System, RMS) 為機台數據的倉庫，可作為產品量產前的控管措施，其步驟如下：</p><ol><li>工程師在設備產生機台參數(此時參數尚未被認證，無法進行量產)</li><li>由於不同廠商的設備機台使用的通訊協定規格互異，因此需有機台自動化程式 (Equipment Automatic Program, EAP) 透過 SECS/GEM 與設備機台進行資料溝通</li><li>取得該機台參數後與 RMS 進行比對，確認該參數是否一樣或有無符合規格，若一樣或符合規格可進行量產；反之，需調整機台參數或走簽核流程調整規格。此外，該機台參數若是第一次使用，需個別設定該規格且走機台預設的簽核流程</li></ol><p>由以上可知，機台數據的使用是由機型、EAP、RMS 及其簽核系統所掌管，如此可確保數據的有效性，使整體設備效率 (OEE) 提升。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bcf1b7fd957" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>