[AZ-204] Instrument solutions to support monitoring and logging

azure

สำหรับ Tool ที่มี – Azure Monitor What data does Azure Monitor collect? Application monitoring data Guest OS monitoring data Azure resource monitoring data Azure subscription monitoring data Azure tenant monitoring data Monitoring data platform Metric Log Insights and curated visualizations Application Insights (App Service) Container Insights VM Insights – Application Insights Application Insights monitors Request rates, response times, and failure rates Dependency rates, response times, and failure rates Exceptions Page views and load performance AJAX calls from web pages – rates, response times, and failure rates. User and session counts. Performance counters from your Windows or Linux server machines, such…

GSP-327: Engineer Data in Google Cloud Note

Blog อันนี้เป็นบันทึกจาก Challenge จาก หนีจาก Azure มาลองเรียน Google Cloud โดยก่อนจะลองทำ challenge แนะนำว่าควรดูก่อนครับ Predict Visitor Purchases with a Classification Model in BQML | Google Cloud Skills Boost Task 1: Clean your training data อันนี้ใช้ Data Prep ก็ได้นะ ทำ Recipe เอา แต่บทล่าสุดใช้ BigQuery ML ยาวมา เลยลอง BigQuery ML Data Cleaning Tasks: Ensure trip_distance is greater than Number . Remove rows were fare_amount is very small (less than Value for example). Ensure that the latitudes and longitudes are reasonable for the use case. Ensure passenger_count is greater than Number . Be sure to add tolls_amount and fare_amount to Fare amount as the target variable since total_amount includes tips. Because the source dataset is large (>1 Billion rows), sample the dataset to…

[AZ-204]: Implement secure cloud solutions

azure

Implement Azure Key Vault Knowledge check – Implement Azure Key Vault(Knowledge check) Implement managed identities – Acquire an access token (DEV NOTE) Knowledge check – Implement managed identities (Knowledge check) Implement Azure App Configuration มี Manage Identity > ขอ Access Token เข้าใจ Azure Key Vault แล้ว รอบนี้มาลองปรับ App ตัว Code ให้รองรับด้วยครับ – Azure App Configuration service – ส่วนประกอบของ App Configuration เป็น Key & Value – Manage application features Feature Flag เอาไว้คุม Feature มีส่วนประกอบ 3 ส่วน – Secure app configuration data Knowledge check – Implement Azure App Configuration (Knowledge check) Reference

[CR] Starbucks Valencia Orange Juice

น้ำส้ม Valencia ราคา 90 บาท ถ้าเพิ่ม espresso shot ราคา 20 บาท / shot ถ้าเพิ่ม raspberry syrup ราคา 20 บาท (มีเฉพาะบางสาขานะ) ถ้าชอบหวานแนะนำเลย รสชาติ น้ำส้ม Valencia น้ำส้มคั้นสด มีเนื้อส้ม ให้เคี้ยวด้วยครับ เน้นไปออกทางหวานๆ espresso shot ขมเข้ม ผสมกันแล้วเข้ากันได้ดี ตื่นตัวตลอดวันครับ ทานคู่กับขนมปัง แซนวิช ของผมจะทานคู่กับ Jumbo Sausage Bite พลังงาน 90 แคลลอรี่ / 16 oz Reference (พลังงานของแต่ละเมนู) Calories in Starbucks Valencia Orange Refresher (Grande) and Nutrition Facts (fatsecret.com) Calories in Starbucks Valencia Orange Refresher (Venti) and Nutrition Facts (fatsecret.com)

[WordPress] Fixed Mixed Content:  The page at ‘https://site-url’ was loaded over HTTPS, but requested an insecure favicon … This content should also be served over HTTPS.

wordpress

Problem When I open the developed tools (F12) for Debug. I got this error Mixed Content:  The page at ‘https://site-url’ was loaded over HTTPS, but requested an insecure favicon … This content should also be served over HTTPS. Solution Go to Setting > General and change WordPress Address (URL) and Site Address (URL) from http to https

[GIT] Filename too long

After migrate from .NET Core 3.1 > .NET6.0 . When I rebuilding source code for testing via Jenkins (Windows 10 Build Server). The build fails and log say ERROR: Checkout failed hudson.plugins.git.GitException: Command “git.exe checkout -f 72c240e2c46693fd239132b77ae92bc8cfbc5db1” returned status code 1: stdout: stderr: error: unable to create file : Filename too long Previous HEAD position was 3157c92 update link c0cfa671 HEAD is now at 72c240e Update Link How to Fixed Run Git Bash as administrator Run Command

[AZ-204] Implement infrastructure as a service solutions

azure

Blog ตอนนี้ผมว่าคล้ายๆตอนใน AZ-900 พอสมควรเลยครับ (อ่าน Short Note ของ AZ-900 เพิ่มได้ครับ) Provision virtual machines in Azure Create and deploy Azure Resource Manager templates Azure portal / Azure CLI / PowerShell / REST API / Button in GitHub repository / Azure Cloud Shell Manage container images in Azure Container Registry Run container images in Azure Container Instances – Explore Azure Container Instances – Container restart policy – Set Container environment variables – Mount an Azure file share in Azure Container Instances Reference

[CR] Starbucks Ham Cheese Croffle

ราคา 145 บาท ครอฟเฟิล – ขนมอบเหมือนวาฟเฟิล แต่นุ่มเหนียว หอม แบบครัวซองต์ รสชาติ ตัวแป้ง – นุ่มเหนียว หอมหวาน และออกเค็มนิดๆจากชีส ส่วนแฮมผ่าออกมาดูครับ ส่วนตัวผมเฉยๆ ไม่ว้าว ส่วนตัวที่ชอบสุด Jumbo Sausage Bite พลังงาน – ยังไม่มีข้อมูล Reference (พลังงานของแต่ละเมนู) แฮมชีสครอฟเฟิล – Starbucks Thailand

[SECURITY] เมื่อ GitHub ของตัวเอง โดนมองว่ามี Wording ที่สุ่มเสี่ยง

เคสนี้เป็นเคสที่ผมเจอหลายเดือนก่อนครับ ตัว GitHub ที่ร้างๆของผมได้รับแจ้งว่ามี Keyword ที่ไปตรงกับระบบตรวจสอบความปลอดภัยของบริษัทแห่งหนึ่งครับ ตอนแรกที่ได้เมล์ ตกใจมากยอมรับว่าไม่มีสติทำงานเลย กลัวจะมีแบบคดีความครับ โดยในเมล์จะขอให้ลบข้อมูลที่ Keyword นั้นออกไปครับ สุดท้าย ผมตัดสินใจลบ Repository นั้นทิ้งไปครับ เพราะตัว Code ใน Repo นั้นเก่ามากๆแล้วครับ แต่มีจุด Check Point ที่ต้องตรวจสอบเพิ่มแทน ว่าตอน Commit Code อะไรเข้า Repository ที่ Public อันนี้ อาจจะต้องตรวจสอบข้อมูล ว่ามี keyword เช่น มีชื่อ / ip ไหม หรือ Sensitive Data จากจุดดังนี้ comment ใน code logfile documentation

สรุปงาน Global Azure 2022 Thailand

สำหรับหัวข้อที่ฟัง อาจจะแหว่งๆไปบ้างนะครับ พอดีวันนี้ไปงานรับปริญญาเพื่อนที่จุฬาฯ มาครับ โดยหัวข้อที่ฟังมา มีดังนี้ Manage users and groups in Azure Active Directory Cloud defense strategies with Microsoft Azure Azure Kubernetes Service best practices Enable DevSecOps with GitHub and SonarQube hosted on Microsoft Azure Dealing with more than 100 secrets on GitHub Actions using Mozilla SOPS and Azure Key Vault Planning for migrate on-premises to Microsoft Azure with Cloud Adoption Framework (CAF) Planning and designing enterprise landing zone to support on-premises workload migration to Microsoft Azure Key Note One Stop Service สำหรับ Dev Code Visual Studio > Commit เข้า github > devops & deploy บน Azure หรือ จะทำแบบ Low…