Skip to content

Stefcho's Tech Blog

Software Development, Cloud, DevOps and PfSense

Tag: Azure

Azure and Beyond in 2020

Posted on 27/04/2020 by Stefan

I have started this post around Christmas. From that time up until now a lot has happened.
First I would like to share my certification achievements so far:

Microsoft Certified: Azure DevOps Engineer Expert

azure-devops-engineer-expert-

Right after this on a tight deadline I was able to pass
AWS Certified Solutions Architect – Associate

AWS.Certified.Solutions.Architect.Associate

 

This was my first non-Microsoft exam for a very long while.

Here are some useful tips that I would like to share:
Tips for learning Azure in the new year

What Medieval People Got Right About Learning

Announcing free C#, .NET, and ASP.NET for beginners video courses and tutorials
For some time, I was planning to do a refresher and currently am passing some of these courses. My humble opinion is that they are pretty good. I would suggest to give them a try.

Right after my AWS exam we’ve enter the Covid-19 pandemic.

In relation to this I would like to share some useful and interesting materials that would help you during this time:

Pluralsight is free for the entire month of April 2020

Udacity FREE ACCESS for one month. Learn higher-paying, employable skills at home

Audible Providing Free Audio Books to Kids & Teens: Introducing the New Service, Audible Stories

The Internet Archive Hosts 20,000 VHS Recordings of Pop Culture from the 1980s & 1990s: Enter the VHS Vault

The National Emergency Library Makes 1.5 Million Books Free to Read Right Now

Patrick Stewart Is Reading Every Shakespeare Sonnet on Instagram: One a Day “to Keep the Doctor Away”

Here’s The Entire List of Ivy League Courses You Can Take Online For Free Due to School Closings

Introducing the Udemy Free Resource Center

 

some local content:

Издателство Слово безплатен достъп до всичките ни електронни варианти за 1. и 2. група

Видео уроците на Уча.се стават БЕЗПЛАТНИ до 29.03.2020 г.

СофтУни подкрепя усилията за превенция, като пуска ключови обучения напълно безплатно

СофтУни: стартираме безплатни обучения в помощ на хората, останали без работа след обявяването на извънредното положение

 

 

Posted in TechnicalTagged Azure, DevOps

Microsoft Certification Paths for Azure and Microsoft 365 in 2019

Posted on 21/05/2019 - 02/06/2019 by Stefan

Vlad Catrinescu posted a few very useful article in relation to the new Certification Exams. I would like to share them here.

Microsoft Certification Paths for Azure and Microsoft 365 in 2019

Teamwork Administrator Associate

He also made the effort to put together study guide for the Teamwork Administrator Associate exam:

  • MS-300: https://absolute-sharepoint.com/ms-300-study-guide-deploying-microsoft-365-teamwork
  • MS-301: https://absolute-sharepoint.com/ms-301-study-guide-deploying-sharepoint-server-hybrid
Teamwork Administrator Associate

Update 02.06.2019:

Check this great presentation listing all Microsoft Training & Certification info.

Posted in TechnicalTagged Azure, Certification, Office 365, SharePoint 2019

My blog new home

Posted on 05/03/2019 - 05/03/2019 by Stefan

Introduction
Hello everyone. I’ve been running this blog for 9 years now. In 2010 there were very few options to host WordPress site. The blog was hosted in one local provider up until its acquisition by another company two years ago. This pushed me to move. At that time, I was experimenting with Azure and the natural choice of service was an Azure Web App with WordPress template.


The platform is packed with settings that you can tweak. Unfortunately, the prices are targeted at enterprise customers and were too steep for a small site like mine.
Recently a friend of mine mentioned the Static Site Generators. I’ve investigated the topic and it appeared quite an interesting concept. For my purposes this solution fits well as most of my content is static. Thanks to GDPR I had to close all comments and feedback options, which made the site even more static. On the positive side not having to worry about PHP and MySQL out in the wild sounds very a pleasing.

Static Site Generators Research
After reviewing a couple of solutions, the idea to use WordPress as a Static Site Generators begin to take shape. This could be achieved by employing Plugins. The ones that I’m currently experimenting with are:
Simply Static
WP2Static
Each has some very strong features. But I still haven’t decided which one to keep.
Simply Static has great Diagnostics that helped me troubleshoot some issues. Offering streamlined interface with essential options. While WP2Static gives more control over the crawling and processing with valuable options to clean up some garbage from the output pages.
They both produced archives containing the static content, WP2Static can even be configured to push it directly to GitHub repository.

Web Hosting
Either way I have a static version of my site now. The next hurdle is where to store the files?
I don’t want to host it On-Premise as this will require a lot of additional time and effort. As the Cloud options are so many, let’s narrow it down to Static Websites on Azure Storage and GitHub for simplicity sake.
Ever since I’ve read about the Static Websites in Azure, I really wanted to try it with something. Now having the content experiments can commence. My inspiration came from this article Static websites on Azure Storage now generally available
Price for storing content and data transfers charges would be low in my case. SSL is requirement but it is not directly offered from Static Websites. I need Azure CDN in front to get the desired feature. This will incur additional cost and complexity for just one simple static site served over HTTPs.
For Web Apps there is a Azure Let’s Encrypt Extension that is a pretty useful solution to automatically renew the SSL Certificate.

This tilted the table in favour of GitHub. There are no taxes for storing publicly accessible content and it automatically takes care of the SSL Certificate provisioning and renewal. For the moment GitHub wins.

WordPress Hosting
Now that I have the generation and web hosting covered. The last obstacle is where to keep my Static Content Generating WordPress instance?

Cloud:
WordPress.com – good starting point. But pretty much the same. You get a free WordPress instance somewhere out there. Not my ideal solution.

Azure Containers Instance – recently I have experiment with this service. It is perfectly suited to quickly get up and running a bunch of containers. Get the job done and destroy them. There is a ready-made template to build two containers solution for WordPress here: Create a WordPress site on a Container Instance
My experience with the service is mostly positive. Bringing it up is easy. Getting data persistence requires modifying the template. The performance at the lowest tire was comparable to the once in Web App and insufficient from my perspective.

Local:
VM with docker containers – My first choice. Spun up Ubuntu server, quickly and easily installed docker and docker compose. As I felt generous at the time the VM had 4 CPU cores and 4 GB or RAM. Even on mechanical HDD, performance was Fantastic! I never knew that WordPress could feel so snappy! The downside is that I will not keep the VM running all the time and must start and stop it every time that I want to do something.














RPI with docker containers – As I have a Raspberry Pi humming in the background. This is a preferable alternative to a full blown VM. I’ve managed to install docker and docker compose relatively easy using as a starting point this article: The easy way to set up Docker on a Raspberry Pi and HOW TO RUN DOCKER AND DOCKER-COMPOSE ON RASPBIAN

To my unpleasant surprise there is NO official MySQL image for ARM, Really!? Check this article: Install mysql server-5.7 on ARMv8 architecture (raspberry pi 3 model B)
But there is one for WordPress. I’ve tried building one on my own and hit a lot of problems! As a temporary solution for the moment I’m using this image hypriot/rpi-mysql. Works fine but holds MySQL 5.5 and my aim is 5.7. In near future I’ll look into it and if possible, build one image on my own.
Had a few hiccups with the persistent storage of data for both WordPress and MySQL containers, but got it right at the end.
Here is the content of my docker-compose file:

version: '3.7'

services:
   db:
     image: hypriot/rpi-mysql:latest
     volumes:
       - ./db_data:/var/lib/mysql
     restart: always
     environment:
       MYSQL_ROOT_PASSWORD: [ROOTPASSWORD]
       MYSQL_DATABASE: [DBNAME]
       MYSQL_USER: [DBUSER]
       MYSQL_PASSWORD: [DBPASSWORD]

   wordpress:
     depends_on:
       - db
     image: wordpress:latest
     volumes:
      - ./wp-content:/var/www/html:rw
     ports:
       - "80:80"
     restart: always
     environment:
       WORDPRESS_DB_HOST: db:3306
       WORDPRESS_DB_NAME: [DBNAME]
       WORDPRESS_DB_USER: [DBUSER]
       WORDPRESS_DB_PASSWORD: [DBPASSWORD]

volumes:
    db_data: {}
    wp-content: {}

Again, the performance is even more surprisingly good compared the cloud scenarios. Considering that it is run off a mechanical hard drive on a very humble 1.2GHz Quad and only 1 GB of RAM.

Conclusion
With this exercise I’ve managed to decrease the costs of hosting this blog to the bare minimum. Hosting costs are reduced to virtually free. The power costs for the Raspberry Pi are shared with other services and are negligible.
Compared with Azure Web App and it’s 20 Euros per month it is a feat!
My initial intention for this post was to be short and sweet, but it grew into something much larger. I was able to compress a few weeks of research and experiments into these few lines omitting a lot of problems crossed along the way. Hope you enjoy reading it.

Posted in TechnicalTagged Azure, Docker, MySQL, Raspberry Pi, WordPress

Azure Architecture Useful Resources

Posted on 28/02/2019 - 17/06/2019 by Stefan

I’ve collected a few useful resources and would like to share them with you. If you are into Azure Architecture these most probably will be quite useful.

Azure Architecture Center – Start Here

Azure Application Architecture Guide – This guide presents a structured approach for designing applications on Azure that are scalable, resilient, and highly available. It is based on proven practices that we have learned from customer engagements.

Azure Reference Architectures – Our reference architectures are arranged by scenario. Each architecture includes recommended practices, along with considerations for scalability, availability, manageability, and security. Most also include a deployable solution or reference implementation.

Azure Quickstart Templates – Deploy Azure resources through the Azure Resource Manager with community contributed templates to get more done. Deploy, learn, fork and contribute back.

Cloud Design Patterns – These design patterns are useful for building reliable, scalable, secure applications in the cloud.
Each pattern describes the problem that the pattern addresses, considerations for applying the pattern, and an example based on Microsoft Azure. Most of the patterns include code samples or snippets that show how to implement the pattern on Azure. However, most of the patterns are relevant to any distributed system, whether hosted on Azure or on other cloud platforms.

Microsoft patterns & practices – We discover, collect, and encourage practices that bring joy to engineering software.

Introducing the Azure portal “how to” video series – A new video weekly series highlights specific aspects of the Azure portal so you can be more efficient and productive while deploying your cloud workloads from the portal.

Azure Resource Explorer – Azure Resource Explorer is a new web site where you can easily discover the Azure Resource Management APIs, get API documentation, make actual API calls directly in your own subscriptions

Microsoft Cloud Workshops: Free Microsoft Azure Hands-on Lab Guides – The Microsoft Cloud Workshop (MCW) program maintains a number of Workshops that are used to train Microsoft’s own Cloud Solution Architects, as well as Microsoft Partners all over the world, how to use Microsoft Azure services. Currently there are a total of 36 Microsoft Cloud Workshops that cover a wide range of enterprise scenarios within Azure. These include Interest of Things (IoT), Blockchain, Cost Optimization, Cloud Migration, Microservices, Serverless, and much more!

Posted in TechnicalTagged Azure

pfSense on Azure, Teaser

Posted on 01/04/2015 - 28/10/2018 by Stefan

Could it be,

What is we can run our beloved pfSense in Azure?

As it’s written here:

Running FreeBSD in Azure

It is, but is it really? pfSense on Azure

Posted in TechnicalTagged Azure, pfSemse

Tags

ADDS AES-NI Asterisk ASUS Azure Captive Portal Cell Phone CentOS Certification Creative DD-WRT DNS Hyper-V LDAP Learning Linksys Microsoft Mikrotik RouterBoard RB250G Network OpenLDAP OpenVPN OpenWrt pfCenter pfSemse pfSense pfSense 2.0 RC1 pfSense 2.0 RC3 pfSense 2.2 PKI RADIUS Raspberry Pi Routing Site To Site Technical Uncategorized VLAN VMWare VoIP Vyatta Web Sites Windows Server 8 Windows Server 2008 R2 Windows Server 2012 R2 Wireless Workstation 8

Archives

  • April 2020
  • July 2019
  • May 2019
  • March 2019
  • February 2019
  • October 2018
  • August 2018
  • March 2016
  • April 2015
  • March 2015
  • January 2015
  • February 2012
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • July 2010
Proudly powered by WordPress | Theme: micro, developed by DevriX.