All posts by fujute

About fujute

Fukiat Julnual's role as Technical Evangelist is to support awareness for Microsoft Azure , engages with Technical Community and help IT Professionals to discover the technical value of innovations in Microsoft platform.

Configuring self-hosted runners with a default self-signed certificate for GitHub Enterprise Server

Quick fix:

  1. Copy “/etc/haproxy/ssl.crt” from GHE Server to Runner machine under ” /usr/local/share/ca-certificates/ “
  1. Updated the certificate in the runner server by running ” sudo update-ca-certificates “
$ az vm image list --all -f GitHub-Enterprise | grep '"urn":' | sort -V
#Standard E4s v3 (4 vcpus, 32 GiB memory)
$ az vm create -n myghesvr -g My-01-RG --size Standard_E4ds_v4 -l southeastasia --image GitHub:GitHub-Enterprise:GitHub-Enterprise:3.3.3 --storage-sku StandardSSD_LRS
$ az vm disk attach --name ghevm-data-01 --new --resource-group My-01-RG --size-gb 100 --sku Standard_LRS --vm-name myghesvr  
$ az vm open-port -n myghesvr  -g My-01-RG --port 8443
$ az vm open-port -n myghesvr -g My-01-RG --port 122 --priority 903
$ az vm open-port -n myghesvr -g My-01-RG --port 443 --priority 904
$ az vm open-port -n myghesvr -g My-01-RG --port 80 --priority 905


Screenshot: Local machine:

$ scp -P 122 admin@myghesvr.exzilla.com:/etc/haproxy/ssl.crt .
$ scp ssl.crt azuser@gherne4.exzilla.com:/home/azuser/ghe7-ssl.crt

Screenshot: Runner machine:

azuser@myghesvr:~$ openssl x509 -noout -text -in /etc/haproxy/ssl.crt
azuser@gherne4:~$ sudo cp ghe7-ssl.crt /usr/local/share/ca-certificates/
azuser@gherne4:~$ ls -l /usr/local/share/ca-certificates
total 4
-rw-r--r-- 1 root root 1618 Feb 13 09:35 ghe7-ssl.crt
azuser@gherne4:~$ sudo update-ca-certificates
Updating certificates in /etc/ssl/certs…
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d…
done.
azuser@gherne4:~$

Sample YAML file: m18h/sample-actions-ghe7-self-signed.yaml at master · fujute/m18h (github.com)

Alternative: Disabling TLS certificate verification

## https://docs.github.com/en/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners#disabling-tls-certificate-verification
##
export GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY=1
./config.sh --url https://github.com/octo-org/octo-repo --token
./run.sh

See Also:

* Troubleshooting GitHub Actions for your enterprise – GitHub Docs
* https://github.com/actions/runner/issues
* Monitoring and troubleshooting self-hosted runners
* Troubleshooting GitHub Actions for your enterprise

Azure Web App for Containers & Github Action

RESOURCES ” ( The journey through Azure Web Apps | Meetup – 08-March-2021)

Github Workflow:

  • https://docs.microsoft.com/en-us/azure/app-service/deploy-container-github-action?tabs=publish-profile

Configure continuous deployment – Azure App Service | Microsoft Docs

  • https://github.com/Azure/actions-workflow-samples/blob/master/assets/create-secrets-for-GitHub-workflows.md
  • https://github.com/Azure/actions-workflow-samples

App Service & Deployment:

  • https://docs.microsoft.com/en-us/azure/app-service/deploy-best-practices
  • https://docs.microsoft.com/en-us/azure/developer/terraform/provision-infrastructure-using-azure-deployment-slots

Tutorial App Service & Container App:

  • https://docs.microsoft.com/en-us/learn/modules/deploy-run-container-app-service/
  • https://docs.microsoft.com/en-us/azure/app-service/tutorial-multi-container-app
  • https://docs.microsoft.com/en-us/azure/app-service/tutorial-custom-container?pivots=container-linux
  • https://code.visualstudio.com/docs/containers/app-service
  • https://docs.microsoft.com/en-us/azure/devops-project/devops-starter-gh-web-app
  • https://github-actions-hero.now.sh

Reference:

  • https://azure.microsoft.com/en-us/services/app-service/containers/#features
  • https://docs.microsoft.com/en-us/azure/architecture/solution-ideas/articles/dev-test-paas
  • https://docs.microsoft.com/en-us/learn/modules/stage-deploy-app-service-deployment-slots/1-introduction
  • https://docs.microsoft.com/en-us/learn/modules/deploy-run-container-app-service/
  • https://azure.microsoft.com/en-us/services/app-service/containers/


FAQ:

  • https://docs.github.com/en/actions/reference/usage-limits-billing-and-administration
  • https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator

การเตรียมตัวก่อนการเข้าร่วม Developer Workshop – Visual Studio Dev Essentials

เนื่องจากเป็นการอบรมเชิงปฏิบัติ ผมแนะนำสิ่งที่ต้องเตรียมก่อนเข้าอบรมดังต่อไปนี้นะครับ

  1. สมัครสมาชิก ( ฟรี ) โดยใช้ email ที่เป็น @outlook.com หรือ @hotmail.com ที่ https://www.visualstudio.com/dev-essentials/ ซึ่งหลังจากสมัครเรียบร้อยแล้ว ที่ web Browser จะมีหน้าตาประมาณนี้ครับ

Visual Studio Dev Essentials

Continue reading การเตรียมตัวก่อนการเข้าร่วม Developer Workshop – Visual Studio Dev Essentials

ข้อมูลประกอบการอบรมเชิงปฏิบัติ WUNCA35

Topics: การอบรมเชิงปฏิบัติ การประยุกต์ใช้ Cloud Computing สำหรับงานวิจัย และการเรียนการสอน
Date: 21-July-2017
Venue : http://wunca.uni.net.th/wunca35/
Agenda:
9:00 – 10:30 The fundamental concepts of cloud computing and how to apply them
10:30 – 10:45 Break
10:45 – 11:45 Using Node.js to build a back-end application
11:45 – 13:00 Lunch
13:00 – 14:30 How to deploy application to a cloud hosting platform with persistent data
14:30 – 14:45 Break
14:45 – 15:45 Data Science and Machine Learning
15:45 – 16:00 Wrap-up

Prerequisite : การเตรียมตัวก่อนเข้าอบรม

  1. สมัครสมาชิก ( ฟรี ) โดยใช้ email ที่เป็น @outlook.com หรือ @hotmail.com ที่ https://www.visualstudio.com/dev-essentials/ ซึ่งหลังจากสมัครเรียนร้อยแล้ว ที่ web Browser จะมีหน้าตาประมาณนี้ครับ

Continue reading ข้อมูลประกอบการอบรมเชิงปฏิบัติ WUNCA35

การใช้บริการ Office 365 สำหรับนักเรียน ACP

แนะนำการใช้บริการ Office  365 สำหรับนักเรียน ACP  มีขั้นตอนการเริ่มใช้บริการดังนี้

1. เปิด Web Browser ไปที่ http://office.com จากนั้นจะเป็น “Sign in” ดังรูป

clip_image002

Continue reading การใช้บริการ Office 365 สำหรับนักเรียน ACP

ข้อมูลประกอบการบรรยายจาก WUNCA33– Microsoft Azure IoT Services

ข้อมูลจาการบรรยาย “ Bringing the Internet of Things to life with Microsoft Azure IoT Services “  – 14-July-2016

Slidehttps://1drv.ms/b/s!AgZyyCR4CCEsh4AJZ6Uzje5Ew3OpBg

https://youtu.be/L8xjSjxaaVA
Case study  จาก ThyssenKrupp Elevators

* https://www.microsoft.com/en-gb/server-cloud/customer-stories/thyssen-krupp-elevator.aspx

Continue reading ข้อมูลประกอบการบรรยายจาก WUNCA33– Microsoft Azure IoT Services

IT INNOVATION SERIES: What’s New in Hybrid IT Infrastructure| 26-Apr-2016

IT INNOVATION SERIES “What’s New in Hybrid IT Infrastructure: Increasing efficiency and scalability with Windows Server 2016 and Microsoft Azure” ( Microsoft IT Camps)   in Bangkok , Tuesday 26-Apr-2016 from 9:00 am to 5:00 pm.

This 26-April-2016 – IT INNOVATION SERIES ( IT Camps )  already fully booked .
ขณะนี้ ที่นั่งที่เตรียมไว้เต็มแล้วครับ – ผมขอขอบคุณทุกท่านที่ให้ความสนใจใน technical workshop ครั้งนี้ครับ

IT INNOVATION SERIES: What’s New in Hybrid IT Infrastructure| 26-Apr-2016

สำหรับ Technical training ครั้งนี้ผมอนุญาตเฉพาะท่านที่ได้ลงทะเบีบนผ่านระบบเท่านั้นนะครับ

สำหรับรอบเดือนเมษายนนี้ผมขอนำเสนอในหัวข้อ “What’s New in Hybrid IT Infrastructure”  โดยท่านที่เข้าร่วม technical training ครั้งนี้จะได้เรียนรู้ความสามารถใหม่ ๆ ของ Windows  Server 2016 และ MMicrosoft Azure ในมุมมองการประยุกต์ใช้ด้าน IT Infrastructure ในรูปแบบ Hybrid Cloud โดยคาดหวังไว้ว่าท่านที่มาร่วมกิจกรรมจะได้กลับไปพร้อมกับสิ่งเหลานี้ครับ

  • ท่านจะได้ศึกษาและทำความเข้าใจความสามารถใหม่เรื่อง Hyper-V ของ   Windows  Server 2016 และการทำงานร่วมกันกับ Microsoft Azure 
  • ท่านจะได้ศึกษาและความเข้าใจการนำ Software-defied Storage และ Network  ที่ครอบคลุมเรื่ิอง  performance, flexibility และ redundancy ของ Windows Server 2016
  • ท่านจะได้ศึกษาและทำความเข้าใจเรื่องการใข้งาน NanoServer  และ Container
  • ท่านจะได้ศึกษาและทำความเข้าใจเรื่อง Virtual Network เพื่อให้ทำงานร่วมกันได้ระหว่าง on-premises infrastructure และ Microsoft Azure
  • ท่านจะได้ทดลองการใช้งาน Azure Resource Manager เพื่อช่วยในการ Deploy ระะบบทีมีความซับซ้อน

Continue reading IT INNOVATION SERIES: What’s New in Hybrid IT Infrastructure| 26-Apr-2016

Microsoft IT Camp: What’s new in Windows 10 Enterprise | 26-Feb-2016

Microsoft IT Camp “What’s new in Windows 10 Enterprise: Increasing Security, Predictability, and Compatibility”   in Bangkok , Friday 26-Feb-2016 from 9:00 am to 5:00 pm.

This 26-Feb-2016 – IT Camp already fully booked .
ขณะนี้ ที่นั่งที่เตรียมไว้เต็มแล้วครับ – ผมขอขอบคุณทุกท่านที่ให้ความสนใจใน technical workshop ครั้งนี้ครับ

Microsoft IT Camp: What's new in Windows 10 Enterprise | 26-Feb-2016

สำหรับ Technical training ครั้งนี้ผมอนุญาตเฉพาะท่านที่ได้ลงทะเบีบนผ่านระบบเท่านั้นนะครับ

สำหรับรอบเดือนกุมภาพันธ์นี้ผมขอนำเสนอในหัวข้อ “What’s new in Windows 10 Enterprise”  โดยท่านที่เข้าร่วม technical training ครั้งนี้จะได้เรียนรู้ความสามารถใหม่ ๆ ของ Windows 10  ทั้งในเรื่องความมั่นคง ความปลอดภัย วิธีการจัดการ การเข้าถึงข้อมูล รวมถึงการควบคุมการเข้าถึงข้อมูลขององค์กรจากอุปกรณ์ต่าง ๆ โดย คาดหวังไว้ว่าท่านที่มาร่วมกิจกรรมจะได้กลับไปพร้อมกับสิ่งเหลานี้ครับ

  • ท่านจะได้ศึกษาและทำความเข้าใจเรื่อง Application Compatibility สำหรับ App ที่ท่านจะทำงานกับ Microsoft Edge และ IE 11
  • ท่านจะได้ศึกษาและความเข้าใจเรื่องความสามารถใหม่ ๆ เรื่อง Security และ Identity ไม่ว่าจะเป็นเรื่อง Microsoft Azure Active Directory, Hello/Passport, Device Guard, Enterprise Data Protection รวมถึงเรื่อง Multi-Factor Authentication.
  • ท่านจะได้ศึกษาและทำความเข้าใจเรื่อง Windows as a Service  ทั้งสถานการณ์การใช้ Current Branch  และ Long Branch .
  • ท่านจะได้ทดลองการจัดการ package โดยผ่าน Microsoft Mobile Device Management และ Microsoft Intune รวมถึงการใช้งาน Microsoft Deployment Toolkit  สำหรับ Windows 10

Continue reading Microsoft IT Camp: What’s new in Windows 10 Enterprise | 26-Feb-2016

Azure Community Meeting in Bangkok #1 | 26-Dec-2015

Azure Community Meeting in Bangkok #1 | 26-Dec-2015
งานนี้ Azure Thailand User Group & Narisa.com ขอจัดขึ้นเล็ก ๆ เพื่อให้เพื่อนที่สนใจใน Technical และเรื่องกระบวนการจัดการบริหาร Microsoft Azure โดยครอบคลุมเรื่อง Extending  Datacenter , DevOps และ IoT ได้มีเวลามาคุยกันก่อนสิ้นปีเรื่องความรู้ และกิจกรรมที่เกี่ยวข้อง งานนี้เลยขอนำแสนอเป็นรูปแบบบรรายากาศสนุก กันเอง ก่อนหยุด ปีใหม่ ครับ

Continue reading Azure Community Meeting in Bangkok #1 | 26-Dec-2015

The Minecraft Hour of Code | 19-Dec-2015

The Minecraft Hour of Code tutorial aims to encourage millions of young people to try an hour of coding. The new tutorial – now available at code.org/mc – introduces players to basic coding within the fun and popular Minecraft environment. Created by Minecraft game designers together with Code.org, the tutorial features Steve and Alex from Minecraft, and Minecraft-inspired challenges that will be familiar to its more than 100 million players around the world.

Hour of Code | 19-Dec-2015

Join the House of Code ?

Microsoft Thailand will host the Hour of Code  event with details as follows  :
 Date/Time: December 19, 2015 , 9:00-16:30
Venue:  Microsoft Thailand office, 38th Floor, CRC Tower, All Seasons Place.
Registration : To reserve your seat please register at http://bit.ly/21i9Tsk (  And please prepare to bring your own computer )

Continue reading The Minecraft Hour of Code | 19-Dec-2015