Jump to content
  • entries
    142
  • comments
    0
  • views
    87564

About this blog

Remarks from a Cloud Architect daily encounters

Entries in this blog

Protect your Web App using Azure Application Gateway Web Application Firewall

Protect your Web App using Azure Application Gateway Web Application Firewall Web Application Firewall was always a big investment for a small or growing company as most of the top branded companies are charging a lot of money A Web Application Firewall protects your application from common web vulnerabilities and exploits like SQL Injection or Cross site scripting. Azure provides enterprise grade Web Application Firewall through the Application Gateway. It comes in two pricing models, Medium a

proximagr

proximagr

Set Static Private IP to an Azure VM

First of all, the VM must be within a virtual network to be able to add a static Private IP address   There are two ways to set a static private IP. One is using the new Azure Portal "portal.azure.com" and one via PowerShell.   Using the new Portal, browse a VM, select settings and then IP addresses. There at the Private IP address you can select "Static" and add the IP address.   Using PowerShell, first connect to the Azure (details on this post), and use the following commands:   #Test

proximagr

proximagr

Azure Client VPN using Azure AD & MFA

Azure Virtual Network Gateway provides the ability to connect to your Azure Virtual Network with Azure Client VPN (SSL) connections using your Azure AD or hybrid identity, with Multi Factor Authentication (MFA) and your Conditional Access policies. We can have an Enterprise grade SSL VPN, with Active Directory authentication and Single Sign on (SSO) from your corporate laptops and apply all your conditional access policies, like MFA, Compliance devices, trused locations, etc. How to cr

proximagr

proximagr

Add AlwaysOn AG to SQL Failover Cluster Instance (Page 3)

SQL Failover Cluster with AlwaysOn Availability Groups   Πάμε τώρα για το τελευταίο κομμάτι του lab, να προσθέσουμε AlwaysOn Availability Group στο υπάρχον SQL WSFC. Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3 (Page 1, Page 2) Microsoft SQL 2012 on Failover Cluster (Page 1, Page 2, Page 3) Add AlwaysOn AG to SQL Failover Cluster Instance (Page 1, Page 2, Page 3) Add AlwaysOn AG to SQL Failover Cluster Instance (Page 3)   Στην καρτέλα validation αγνοούμε το warning για τ

proximagr

proximagr

Add AlwaysOn AG to SQL Failover Cluster Instance (Page 2)

SQL Failover Cluster with AlwaysOn Availability Groups   Πάμε τώρα για το τελευταίο κομμάτι του lab, να προσθέσουμε AlwaysOn Availability Group στο υπάρχον SQL WSFC. Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3 (Page 1, Page 2) Microsoft SQL 2012 on Failover Cluster (Page 1, Page 2, Page 3) Add AlwaysOn AG to SQL Failover Cluster Instance (Page 1, Page 2, Page 3) Add AlwaysOn AG to SQL Failover Cluster Instance (Page 2)   Επίσης σε αυτό το σημείο να αναφέρω ότι επειδή χρ

proximagr

proximagr

Microsoft SQL 2012 on Failover Cluster (Page 1)

SQL Failover Cluster with AlwaysOn Availability Groups Αυτό είναι το δεύτερο Post της τριλογίας SQL Failover Cluster with AlwaysOn Availability Groups. Είναι η ώρα της SQL. Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3 (Page 1, Page 2) Microsoft SQL 2012 on Failover Cluster (Page 1, Page 2, Page 3) Add AlwaysOn AG to SQL Failover Cluster Instance (Page 1, Page 2, Page 3) Microsoft SQL 2012 on Failover Cluster (Page 1) Για το lab θα χρησιμοποιήσω τον Domain Administrator, αλλά

proximagr

proximagr

Puppet On Azure | Βήμα 2, Εγκατάσταση Open Source Puppet

Puppet On Azure   Εγκατάσταση Open Source Puppet   Βήμα 1 Σύνδεση στο Ubuntu   ανοίγουμε έναν SSH client, στην προκειμένη περίπτωση PuTTY και δίνουμε για Host Name το Public όνομα του Cloud Service, στην προκειμένη περίπτωση openpuppetlab.cloudapp.net, δίνουμε την πόρτα 30021 που έχουμε ορίσει για το puppetmaster και πατάμε Open Κάνουμε login με το username & password που ορίσαμε στην δημιουργία του VΜ. Για να μην βάζουμε “sudo” σε κάθε εντολή, τρέχουμε “sudo su –“ και ενεργοποιούμε τ

proximagr

proximagr

AzureRm | Create Internal Load Balancer with two VMs

AzureRm | Create Internal Load Balancer with two VMs This post is part of a general idea, to create an end-to-end high available application infrastructure solution in Azure using internal load balancer with the new AzureRm commands and Azure PowerShell v.1.0 preview. For this solution I will use: 2x Centos 11 sp4 Web/Application Servers 2x Centos 11 sp4 MySQL Servers 1x Gateway The first part is to create an Internal Load Balancer in Azure to use it for two VMs. This setup is ideal for

proximagr

proximagr

Microsoft SQL 2012 on Failover Cluster (Page 3)

SQL Failover Cluster with AlwaysOn Availability Groups   Αυτό είναι το δεύτερο Post της τριλογίας SQL Failover Cluster with AlwaysOn Availability Groups. Είναι η ώρα της SQL. Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3 (Page 1, Page 2) Microsoft SQL 2012 on Failover Cluster (Page 1, Page 2, Page 3) Add AlwaysOn AG to SQL Failover Cluster Instance (Page 1, Page 2, Page 3) Microsoft SQL 2012 on Failover Cluster (Page 3)   Στο Cluster Network Configuration ελέγχουμε ότι έχ

proximagr

proximagr

Azure Storage | Static Web Site

Azure Storage | Static Web Site Το Microsoft Azure ανακοίνωσε την δυνατότητα να φιλοξενεί στατικές ιστοσελίδες απευθείας στο Blob Storage, με το κόστος του Blob Storage! Τι σημαίνει αυτό? Για 1 GB χώρο και 100000 views το κόστος είναι περίπου 0,05 ευρώ το μήνα! Στις στατικές ιστοσελίδες μπορούμε επίσης εκτός από στατικό περιεχόμενο να έχουμε και CLient Side Scripting οπως JavaScript αλλά όχι Server Side Scripting. Επίσης μπορούμε να δώσουμε και μια Custom σελίδα που θα γυρίζει αντί για 404. Μπορ

proximagr

proximagr

Puppet On Azure | Βήμα 4, Puppet Automation

Puppet On Azure Puppet Automation – Δημιουργία αρχείου στους Servers που κάνουμε Manage Έχουμε εγκαταστήσει το Puppet και τους Agents, τώρα είναι η ώρα να δούμε ένα test automation. Παράδειγμα «Δημιουργία αρχείου» Στον Puppet Master τρέχουμε: nano /etc/puppet/manifests/site.pp και δίνουμε όνομα του αρχείου και το path το security “mode” και το περιεχόμενο του αρχείου ”content” Και το σώζουμε Τώρα πάμε στον Slave να δούμε το αρχείο. Μπορούμε να περιμένουμε μισή ώρα μέχρι να κάνει request ο agen

proximagr

proximagr

Microsoft SQL 2012 on Failover Cluster (Page 2)

SQL Failover Cluster with AlwaysOn Availability Groups   Αυτό είναι το δεύτερο Post της τριλογίας SQL Failover Cluster with AlwaysOn Availability Groups. Είναι η ώρα της SQL. Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3 (Page 1, Page 2) Microsoft SQL 2012 on Failover Cluster (Page 1, Page 2, Page 3) Add AlwaysOn AG to SQL Failover Cluster Instance (Page 1, Page 2, Page 3) Microsoft SQL 2012 on Failover Cluster (Page 2)   Και έχουμε έναν διαθέσιμο δίσκο στο Cluster μας Π

proximagr

proximagr

Connect PowerShell to Exchange Online

To connect PowerShell to Exchange Online, open the PowerShell and run: $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/-Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session source: http://www.e-apostolidis.gr/microsoft/connect-to-exchange-online/

proximagr

proximagr

Classic Azure VM Details

<p>I was looking for a way to have a list with many details about VMs of Azure Classic deployment. Some of the details are VM Name, HostName, Service Name, IP address, Instance Size, Availability Set, Operating System, Disk Name (OS), SourceImageName (OS), MediaLink (OS), HostCaching (OS), Subnet, DataDisk Name, DataDisk HostCaching, DataDisk MediaLink, DataDisk Size.</p> <p>I started with PowerShell ISE and some technet search and after a lot of test I created this script:<

proximagr

proximagr

Calculate Azure VHD actual/billing size

<p>Azure blob storage is billed based to how much data you use. So you can have an 1023 GB disk but if you use only 20 GB you will be billed for 20 GB. But, <img src="https://s.w.org/images/core/emoji/72x72/1f642.png"alt="?" class="wp-smiley" style="height: 1em; max-height: 1em;" /> , if you write more data, lets say 50 GB and then you erase them, the free space will not automatically be released.</p> <p>sandrinodimattia, https://github.com/sandrinodimattia, released an

proximagr

proximagr

Auto Start/Stop an Azure VM (ARM)

Auto Start/Stop an Azure VM (ARM) For Azure VMs that are not needed to be running 24/7, we can use Azure Automation to schedule automatic Stop (Deallocate) and Start. First ensure to reserve resources if needed, such as the Private and the Public IP. Now lets see how we will Auto Start/Stop an Azure VM (ARM). First create an Automation Account, go to the Azure Portal, expand more services and search for automation. Then click the “Automation Accounts” At the Automation Accounts press “Add” At

proximagr

proximagr

Copy AZURE VHD to other storage account

Copy AZURE VHD to other storage account   #Source storage account $context1 = new-azurestoragecontext -storageaccountname "name_source_account" -storageaccountkey "key_source_account"   #Destination storage account $context2 = new-azurestoragecontext -storageaccountname "name_destination_account" -storageaccountkey "key_destination_account"   #Initiate copy this might take a while Start-AzureStorageBlobCopy -SrcContainer "vhds" -SrcBlob "name_as_found_in_step_one.vhd" -SrcContext $context1

proximagr

proximagr

Exchange 2010 & Hbrid Wizard troubleshooooting

Καλησπέρα στην κοινότητα. Θέλω να μοιραστώ μαζί σας τα προβλήματα που αντιμετώπισα σήμερα σε ένα Hybrid Configuration με Exchange 2010 SP3 UR6. Δεν είναι κάτι τραγικό, ούτε κάτι που δεν έχουμε αντιμετωπίσει στο παρελθόν αλλά πιστεύω ότι όσο μοιραζόμαστε τόσο μαθαίνουμε.   Παραλείπω τα αρχικά, Domain verification, DirSync, Certificate request, το Outlook Anywhere ενεργό, όλα τα virtual directories φαίνονται μια χαρά, telnet 443 μια χαρά, OWA μια χαρά, γενικώς καλά και φτάνω στο Hybrid Wizard.

proximagr

proximagr

Compliance Report using Azure Policy

Compliance Report using Azure Policy Azure Policy is a powerful tool for Azure Governance. With Azure Policy we can define rules for all Azure Subscriptions the we manage. We can use this rules for simple limitation actions, like permitting only specific VM Series and Sizes that can be created and also more complex rule sets that helps you standardize the whole Azure deployment. At my previous posts, we learned How to limit the Azure VM Sizes and How to enforce tags for resources creation

proximagr

proximagr

Azure Log Analytics | CPU Performance Monitor

Azure Log Analytics | CPU Performance Monitor In this article we will create a CPU Performance monitor View for our servers at the Azure Log Analytics (OMS) Portal. At the Microsoft Operations Management Suite (OMS) portal press the + button to create a new View The View Designer workspace will open. Select the “Line chart & callout” At the Properties blade enter a Name, something like “CPU Performance Monitor”, add the below query and press Apply Type:Perf CounterName="% Processor Time"

proximagr

proximagr

Puppet On Azure | Βήμα 3, Προσθήκη Windows Agent

Puppet On Azure Προσθήκη Windows Agent Βήμα 1 Δημιουργία Windows VM Δημιουργούμε ένα Virtual Machine, από το Azure Management Portal πάμε στα Virtual Machines, πατάμε New και πατάμε «From Gallery” Διαλέγουμε Windows Server 2012 R2 Datacenter Δίνουμε όνομα, για το Lab: “puppetslave03”, size ένα A0, username & password Στην επόμενη οθόνη επιλέγουμε το ίδιο Cloud Service, Virtual Network & Storage Account, τέλος αλλάζουμε τις public Ports του RDP & PowerShell (για ασφάλεια) και πατάμ

proximagr

proximagr

Auto-Shutdown Hyper-V free with UPS

<h1>Auto-Shutdown Hyper-V free with USB UPS</h1> <p>Recently i installed a Hyper-V 2012 R2 server (the free version) but my UPS doesn’t support Windows Core. No problem, we have PowerShell!! after some search on various sites – blogs – etc i end up creating the following script. It checks the battery status every 3 minutes, using WMI and when the battery drops below 50% is sends the shutdown signal. As long as you set the VMs to save on shutdown you are OK!</p> <p>I

proximagr

proximagr

SQL Failover Cluster with AlwaysOn Availability Groups

SQL Failover Cluster with AlwaysOn Availability Groups Η ιδέα είναι να έχουμε ένα SQL Flailover Cluster στο Primary Site και στο υπάρχον Cluster να προσθέσουμε ένα AlwaysOn Availability group για το DR. Λόγο του μεγέθους της υλοποίησης θα γίνει τρία Posts. Ένα το Failover Cluster, ένα η εγκατάσταση της SQL σε Failover Clster και ένα η υλοποίηση του AlwaysON Availability Groups. Windows Server 2012 R2 Failover Cluster with FreeNAS 9.3 (Page 1, Page 2) Microsoft SQL 2012 on Failover Cluster (Pa

proximagr

proximagr

Puppet On Azure | Βήμα 1, Προετοιμασία Azure

Επειδή η τεχνολογία είναι ένα ποτάμι που ποτέ δεν σταματάει… και το μικρόβιό μας δεν έχει θεραπεία, ο Παντελής Αποστολίδης (IT Pro) από την Office Line και ο Μάνος Πέπης (DEV) από την Innovative Ideas με αρκετά χρόνια εμπειρίας στην αγορά και αρκετές πιστοποιήσεις σε τεχνολογίες Microsoft, Cisco, Azure, κλπ. σκεφτήκαμε να μοιραστούμε ένα οδηγό για DevOps στο Azure! Παρουσιάζοντας το Puppet, το πώς στήνετε στο Azure καθώς και μερικές από τις δυνατότητές του. Έτσι το Lab μας στο Azure έτρεχε με 10

proximagr

proximagr

Puppet On Azure | Βήμα 5, FOREMAN

Puppet On Azure Εγκατάσταση & Παραμετροποίηση του FOREMAN για να έχουμε γραφικό περιβάλλον μέσω WEB Το Open Puppet δεν έχει γραφικό περιβάλλον στην βασική του εγκατάσταση. Υπάρχουν μερικά open source προγράμματα τα οποία μπορούν να προτεθούν στο Puppet Master και να μας προσφέρουν γραφικό περιβάλλον. Ένα από τα καλύτερα είναι το Foreman. Με το Foreman μπορούμε να διαχειριστούμε το Puppet πλήρως. Το Dashboard του Foreman: Εγκατάσταση: Συνδεόμαστε στο Puppet Master με SSH, κάνουμε login και

proximagr

proximagr

×
×
  • Create New...