October 4th, 5th & 6th 2018.NET Conf AR v2018
Infrastructure as Code on
Azure
Victor Silva
Technology and Infrastructure Analyst
AT
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
“ Infrastructure as Code is a process
of managing and provisioning
computing infrastructure with
some declarative approach while
setting their configuration using
definition files.
“
October 4th, 5th & 6th 2018.NET Conf AR v2018
Extensibility
Reusability
Consistency
Accelerating
October 4th, 5th & 6th 2018.NET Conf AR v2018
Design
01
02
03
04
Configuration
files
Apply
Monitoring
Treat your
servers
like cattle,
not pets
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
https://thinkacloud.wordpress.com/2016/01/18/docker-for-
the-enterprise-are-we-there-yet/
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
Ansible
October 4th, 5th & 6th 2018.NET Conf AR v2018
> Agent-less communication.
> Easy learning curve.
> Playbook structure is simple and clearly structured.
> Procedural and Ordered.
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
Runbook’s anatomy
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
Azure Cloud Shell
October 4th, 5th & 6th 2018.NET Conf AR v2018
“ Azure Cloud Shell is an interactive,
browser-accessible shell for
managing Azure resources.
“
October 4th, 5th & 6th 2018.NET Conf AR v2018
Persist your files in attached cloud storage
Common tools and programming languages included
Choose your preferred shell experience (Bash and PowerSh
Shell access from virtually anywhere
(https://shell.azure.com)
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
DEMO
> Create a Playbook.
> Manage Azure resources.
> Azure Cloud Shell tour.
If you think
you will do a
task twice –
automate it!
October 4th, 5th & 6th 2018.NET Conf AR v2018
ARM Templates
October 4th, 5th & 6th 2018.NET Conf AR v2018
PowerShell DSC
October 4th, 5th & 6th 2018.NET Conf AR v2018
Extension
•PowerShell
syntax
•Configuration
scripts
Configuration
•Create and
deploy
•Configuration
files
Control
•Apply the
configuration
•Local
Configuration
mechanism
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
Azure Automation
October 4th, 5th & 6th 2018.NET Conf AR v2018
> A way to automate the manual, long running,
frequently repeated tasks.
> Automatically performed at regular intervals.
> Runbooks.
>PowerShell DSC.
October 4th, 5th & 6th 2018.NET Conf AR v2018
October 4th, 5th & 6th 2018.NET Conf AR v2018
DEMO
> Build a DSC config.
> Create a webserver.
> Use Azure Automation.
October 4th, 5th & 6th 2018.NET Conf AR v2018
• @PowerShellUY
• http://bit.ly/PoShUYSlack
• meetup.com/PowerShellUY
October 4th, 5th & 6th 2018.NET Conf AR v2018
Thanks!!
https://blog.victorsilva.com.uy
@vmsilvamolina
vmsilvamolina@Gmail.com
Victor Silva

Infrastructure as Code on Azure - NET Conf AR v2018

  • 1.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Infrastructure as Code on Azure Victor Silva Technology and Infrastructure Analyst AT
  • 2.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 3.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 “ Infrastructure as Code is a process of managing and provisioning computing infrastructure with some declarative approach while setting their configuration using definition files. “
  • 4.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Extensibility Reusability Consistency Accelerating
  • 5.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Design 01 02 03 04 Configuration files Apply Monitoring
  • 6.
  • 7.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 8.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 https://thinkacloud.wordpress.com/2016/01/18/docker-for- the-enterprise-are-we-there-yet/
  • 9.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 10.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Ansible
  • 11.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 > Agent-less communication. > Easy learning curve. > Playbook structure is simple and clearly structured. > Procedural and Ordered.
  • 12.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 13.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Runbook’s anatomy
  • 14.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 15.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Azure Cloud Shell
  • 16.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 “ Azure Cloud Shell is an interactive, browser-accessible shell for managing Azure resources. “
  • 17.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Persist your files in attached cloud storage Common tools and programming languages included Choose your preferred shell experience (Bash and PowerSh Shell access from virtually anywhere (https://shell.azure.com)
  • 18.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 19.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 DEMO > Create a Playbook. > Manage Azure resources. > Azure Cloud Shell tour.
  • 20.
    If you think youwill do a task twice – automate it!
  • 21.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 ARM Templates
  • 22.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 PowerShell DSC
  • 23.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Extension •PowerShell syntax •Configuration scripts Configuration •Create and deploy •Configuration files Control •Apply the configuration •Local Configuration mechanism
  • 24.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 25.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 26.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Azure Automation
  • 27.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 > A way to automate the manual, long running, frequently repeated tasks. > Automatically performed at regular intervals. > Runbooks. >PowerShell DSC.
  • 28.
    October 4th, 5th& 6th 2018.NET Conf AR v2018
  • 29.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 DEMO > Build a DSC config. > Create a webserver. > Use Azure Automation.
  • 30.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 • @PowerShellUY • http://bit.ly/PoShUYSlack • meetup.com/PowerShellUY
  • 31.
    October 4th, 5th& 6th 2018.NET Conf AR v2018 Thanks!! https://blog.victorsilva.com.uy @vmsilvamolina vmsilvamolina@Gmail.com Victor Silva