SlideShare a Scribd company logo
1 of 14
PowerShell Conference Asia
AWS (EC2|CloudFormation) and
PowerShell Desired State
Configuration
Ravikanth Chaganti
@Ravikanth
Microsoft MVP (Windows PowerShell & Microsoft Azure)
PowerShell Conference
Singapore 2016
AGENDA
• PowerShell DSC configuration delivery methods and AWS EC2
• Why CloudFormation?
• CloudFormation and DSC - Know How’s
Demo Scripts: http://azrs.tk/cfnatpsconf
PowerShell Conference
Singapore 2016
PowerShell DSC - Delivering Configuration
PowerShell Conference
Singapore 2016
Demo – Configuration via Push
• Requires WinRM configuration
- HTTP (5985) or
- HTTPS (5986)
• Requires relevant firewall rules inside
EC2 instance
• Requires local administrator or
equivalent credentials
PowerShell Conference
Singapore 2016
Demo – Pull Configuration via Pull Service on
EC2
• Requires an additional EC2 Windows
instance
• Requires security group
configuration to allow the pull server
web services access
• Requires AWS credentials
• Access and Shared keys
PowerShell Conference
Singapore 2016
Demo – Pull Configuration via Pull Service on
EC2 and onboarding via SSM Command
• Requires an additional EC2 Windows
instance
• Requires security group
configuration to allow the pull server
web services access
• Requires AWS credentials
• Access and Shared keys
• Requires meta-configuration stored
in a blob
PowerShell Conference
Singapore 2016
Demo – Bootstrapping new EC2 instance via Pull
Service on EC2
• Requires an additional EC2 Windows
instance
• Requires security group
configuration to allow the pull server
web services access
• Requires AWS credentials
• Access and Shared keys
• Requires meta-configuration stored
in a blob
• Requires AWS PowerShell tools
PowerShell Conference
Singapore 2016
Demo – Configuration via AA DSC Pull Service
• Requires Azure subscription
• Requires connectivity to Azure
Automation
• Internet or
• VPN
• Requires AWS credentials
• Access and Shared keys
PowerShell Conference
Singapore 2016
Why CloudFormation?
• Typical enterprise application deployments are multi-tier
• Each tier may have multiple instances
• Dependencies exist between tiers
• Individual instance deployment is not scalable
• Not DevOps friendly
• Must treat an entire application service deployment as a single entity
• CloudFormation enables this definition via a declarative and JSON or YAML
based template language
PowerShell Conference
Singapore 2016
CloudFormation – Template Syntax
{
"AWSTemplateFormatVersion": "version date",
"Description": "JSON string",
"Metadata": {
templatemetadata
},
"Parameters": {
setofparameters
},
"Mappings": {
setofmappings
},
"Conditions": {
setofconditions
},
"Resources": {
setofresources
},
"Outputs": {
setofoutputs
}
}
JSON
---
AWSTemplateFormatVersion: "version date"
Description:
String
Metadata:
template metadata
Parameters:
set of parameters
Mappings:
set of mappings
Conditions:
set of conditions
Resources:
set of resources
Outputs:
set of outputs
YAML
PowerShell Conference
Singapore 2016
Demo – First CFN Template
• Requires a keypair name
• Requires security group configuration to
allow RDP and web service access
• Deployment via
• Console
• PowerShell Tools
PowerShell Conference
Singapore 2016
Demo – DSC Configuration via CFN Template
• Requires a keypair name
• Requires security group configuration to
allow RDP and web service access
• Requires DSC configuration stored in a
place accessible to CFN
• Deployment via
• Console
• PowerShell Tools
PowerShell Conference
Singapore 2016
Summary
• Several ways to onboard EC2 instances
• Understand CFN helper scripts when using CloudFormation
• xCloud services are certainly helpful
PowerShell Conference
Singapore 2016
Don’t Forget!
• Fill in your survey – it’s how we do better!
• Don’t lose your badge! You need it for the Social Events
• Grab the Speakers for a chat – they all have time for you!
• Let everyone know what they are missing on Social Media
#PowerShell
#PSConfAsia
Tweets (preferably with Pictures) win Prizes!!!!
Photos of Marina Bay Credit: Sebastian Szumigalski

More Related Content

What's hot

HandsOn TestDriven Infrastructure As Code Development
HandsOn TestDriven Infrastructure As Code DevelopmentHandsOn TestDriven Infrastructure As Code Development
HandsOn TestDriven Infrastructure As Code Development
pingworks
 

What's hot (20)

Serverless patterns v3 public
Serverless patterns v3 publicServerless patterns v3 public
Serverless patterns v3 public
 
Azure Integration DTAP Series, How to go from Development to Production – Par...
Azure Integration DTAP Series, How to go from Development to Production – Par...Azure Integration DTAP Series, How to go from Development to Production – Par...
Azure Integration DTAP Series, How to go from Development to Production – Par...
 
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
 
Sencha Roadshow 2017: What's New in Sencha Test
Sencha Roadshow 2017: What's New in Sencha TestSencha Roadshow 2017: What's New in Sencha Test
Sencha Roadshow 2017: What's New in Sencha Test
 
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
Mastering Best Azure DevOps Online Training and Certification - Dot Net TricksMastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
 
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
LONDON SDET MEETUP - Difference between Selenium and Cypress presentationLONDON SDET MEETUP - Difference between Selenium and Cypress presentation
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
 
Automated Testing in DevOps
Automated Testing in DevOpsAutomated Testing in DevOps
Automated Testing in DevOps
 
Introduction to ASP.NET 5
Introduction to ASP.NET 5Introduction to ASP.NET 5
Introduction to ASP.NET 5
 
Zalenium - How to run Selenium Script using Docker and Selenium Grid
Zalenium - How to run Selenium Script using Docker and Selenium GridZalenium - How to run Selenium Script using Docker and Selenium Grid
Zalenium - How to run Selenium Script using Docker and Selenium Grid
 
HandsOn TestDriven Infrastructure As Code Development
HandsOn TestDriven Infrastructure As Code DevelopmentHandsOn TestDriven Infrastructure As Code Development
HandsOn TestDriven Infrastructure As Code Development
 
Azure function DevOps pipeline, ALM / DevOps Rangers feedbacks
Azure function DevOps pipeline, ALM / DevOps Rangers feedbacks Azure function DevOps pipeline, ALM / DevOps Rangers feedbacks
Azure function DevOps pipeline, ALM / DevOps Rangers feedbacks
 
ASP.NET MVC 5 and SignalR 2
ASP.NET MVC 5 and SignalR 2ASP.NET MVC 5 and SignalR 2
ASP.NET MVC 5 and SignalR 2
 
SenchaCon 2016: Developing and Delivering Quality Code, Frequently - Neil Manvar
SenchaCon 2016: Developing and Delivering Quality Code, Frequently - Neil ManvarSenchaCon 2016: Developing and Delivering Quality Code, Frequently - Neil Manvar
SenchaCon 2016: Developing and Delivering Quality Code, Frequently - Neil Manvar
 
O365Con18 - SharePoint Framework for Administrators - Waldek Mastykarz
O365Con18 - SharePoint Framework for Administrators - Waldek MastykarzO365Con18 - SharePoint Framework for Administrators - Waldek Mastykarz
O365Con18 - SharePoint Framework for Administrators - Waldek Mastykarz
 
Infrastructure as Code (BBWorld/DevCon13)
Infrastructure as Code (BBWorld/DevCon13)Infrastructure as Code (BBWorld/DevCon13)
Infrastructure as Code (BBWorld/DevCon13)
 
DevOps Engineer [Arabic]
DevOps Engineer [Arabic]DevOps Engineer [Arabic]
DevOps Engineer [Arabic]
 
PowerShell Uncensored
PowerShell UncensoredPowerShell Uncensored
PowerShell Uncensored
 
O365Con18 - Yo I want to extend - Stefan Bauer
O365Con18 - Yo I want to extend - Stefan BauerO365Con18 - Yo I want to extend - Stefan Bauer
O365Con18 - Yo I want to extend - Stefan Bauer
 
Testing in DevOps world
Testing in DevOps worldTesting in DevOps world
Testing in DevOps world
 
Get Started with ASP.NET Core Training, Tutorial - Beginner to Advance
Get Started with ASP.NET Core Training, Tutorial - Beginner to AdvanceGet Started with ASP.NET Core Training, Tutorial - Beginner to Advance
Get Started with ASP.NET Core Training, Tutorial - Beginner to Advance
 

Similar to Using PowerShell DSC with AWS Cloud and CloudFormation

Jan Egil Ring - Get started with windows power shell desired state configuration
Jan Egil Ring - Get started with windows power shell desired state configurationJan Egil Ring - Get started with windows power shell desired state configuration
Jan Egil Ring - Get started with windows power shell desired state configuration
Nordic Infrastructure Conference
 

Similar to Using PowerShell DSC with AWS Cloud and CloudFormation (20)

Cnam azure ze cloud resource manager
Cnam azure ze cloud  resource managerCnam azure ze cloud  resource manager
Cnam azure ze cloud resource manager
 
MLflow Model Serving
MLflow Model ServingMLflow Model Serving
MLflow Model Serving
 
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSCWinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
 
MLflow Model Serving - DAIS 2021
MLflow Model Serving - DAIS 2021MLflow Model Serving - DAIS 2021
MLflow Model Serving - DAIS 2021
 
(ATS6-DEV09) Deep Dive into REST and SOAP Integration for Protocol Authors
(ATS6-DEV09) Deep Dive into REST and SOAP Integration for Protocol Authors(ATS6-DEV09) Deep Dive into REST and SOAP Integration for Protocol Authors
(ATS6-DEV09) Deep Dive into REST and SOAP Integration for Protocol Authors
 
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
 
Jan Egil Ring - Get started with windows power shell desired state configuration
Jan Egil Ring - Get started with windows power shell desired state configurationJan Egil Ring - Get started with windows power shell desired state configuration
Jan Egil Ring - Get started with windows power shell desired state configuration
 
DEVNET-2005 Using the Cisco Open SDN Controller RESTCONF APIs
DEVNET-2005	Using the Cisco Open SDN Controller RESTCONF APIsDEVNET-2005	Using the Cisco Open SDN Controller RESTCONF APIs
DEVNET-2005 Using the Cisco Open SDN Controller RESTCONF APIs
 
AWS Cloud Formation
AWS Cloud Formation AWS Cloud Formation
AWS Cloud Formation
 
The Spring Framework
The Spring FrameworkThe Spring Framework
The Spring Framework
 
The Spring Framework
The Spring FrameworkThe Spring Framework
The Spring Framework
 
Dev Ops on AWS with PowerShell (PowerShell Conference Asia 2016)
Dev Ops on AWS with PowerShell (PowerShell Conference Asia 2016)Dev Ops on AWS with PowerShell (PowerShell Conference Asia 2016)
Dev Ops on AWS with PowerShell (PowerShell Conference Asia 2016)
 
AWS re:Invent 2016: Enabling DevOps for an Enterprise with AWS Service Catalo...
AWS re:Invent 2016: Enabling DevOps for an Enterprise with AWS Service Catalo...AWS re:Invent 2016: Enabling DevOps for an Enterprise with AWS Service Catalo...
AWS re:Invent 2016: Enabling DevOps for an Enterprise with AWS Service Catalo...
 
Jug - ecosystem
Jug -  ecosystemJug -  ecosystem
Jug - ecosystem
 
CloudFormation experience
CloudFormation experienceCloudFormation experience
CloudFormation experience
 
Chti jug - 2018-06-26
Chti jug - 2018-06-26Chti jug - 2018-06-26
Chti jug - 2018-06-26
 
Infrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationInfrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormation
 
Cloudformation101
Cloudformation101Cloudformation101
Cloudformation101
 
Automating Security in your IaC Pipeline
Automating Security in your IaC PipelineAutomating Security in your IaC Pipeline
Automating Security in your IaC Pipeline
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 

More from Ravikanth Chaganti

Desired state-configuration-ravikanth-august-2013-vtc india
Desired state-configuration-ravikanth-august-2013-vtc indiaDesired state-configuration-ravikanth-august-2013-vtc india
Desired state-configuration-ravikanth-august-2013-vtc india
Ravikanth Chaganti
 

More from Ravikanth Chaganti (20)

Azure Bicep - An Introduction
Azure Bicep - An IntroductionAzure Bicep - An Introduction
Azure Bicep - An Introduction
 
Azure CLI 2.0 Tips and Tricks
Azure CLI 2.0 Tips and TricksAzure CLI 2.0 Tips and Tricks
Azure CLI 2.0 Tips and Tricks
 
Tests Driven PowerShell Learning
Tests Driven PowerShell LearningTests Driven PowerShell Learning
Tests Driven PowerShell Learning
 
PowerShell Data as File System
PowerShell Data as File SystemPowerShell Data as File System
PowerShell Data as File System
 
Azure at the command line
Azure at the command lineAzure at the command line
Azure at the command line
 
Microsoft Azure Cloud and DevOps
Microsoft Azure Cloud and DevOpsMicrosoft Azure Cloud and DevOps
Microsoft Azure Cloud and DevOps
 
Authoring Azure Resource Manager Templates - Future Unleashed 2015
Authoring Azure Resource Manager Templates - Future Unleashed 2015Authoring Azure Resource Manager Templates - Future Unleashed 2015
Authoring Azure Resource Manager Templates - Future Unleashed 2015
 
Cloud Computing for IT professionals
Cloud Computing for IT professionalsCloud Computing for IT professionals
Cloud Computing for IT professionals
 
Introduction to Microsoft Azure Compute
Introduction to Microsoft Azure ComputeIntroduction to Microsoft Azure Compute
Introduction to Microsoft Azure Compute
 
Cross platform configuration management using Desired State Configuration
Cross platform configuration management using Desired State ConfigurationCross platform configuration management using Desired State Configuration
Cross platform configuration management using Desired State Configuration
 
Windows Server 2012 R2 Hyper-V Replica
Windows Server 2012 R2 Hyper-V ReplicaWindows Server 2012 R2 Hyper-V Replica
Windows Server 2012 R2 Hyper-V Replica
 
Whats new in Windows Server 2012 R2 Hyper-V
Whats new in Windows Server 2012 R2 Hyper-VWhats new in Windows Server 2012 R2 Hyper-V
Whats new in Windows Server 2012 R2 Hyper-V
 
Configuration management comes to Windows
Configuration management comes to WindowsConfiguration management comes to Windows
Configuration management comes to Windows
 
Desired state-configuration-ravikanth-august-2013-vtc india
Desired state-configuration-ravikanth-august-2013-vtc indiaDesired state-configuration-ravikanth-august-2013-vtc india
Desired state-configuration-ravikanth-august-2013-vtc india
 
PowerShell 3.0 workflows
PowerShell 3.0 workflowsPowerShell 3.0 workflows
PowerShell 3.0 workflows
 
Introduction to PowerShell and getting started
Introduction to PowerShell and getting startedIntroduction to PowerShell and getting started
Introduction to PowerShell and getting started
 
PowerShell in the enterprise - TechED India 2011
PowerShell in the enterprise - TechED India 2011PowerShell in the enterprise - TechED India 2011
PowerShell in the enterprise - TechED India 2011
 
Managing Hyper-V With PowerShell
Managing Hyper-V With PowerShellManaging Hyper-V With PowerShell
Managing Hyper-V With PowerShell
 
Using PowerShell for active directory management
Using PowerShell for active directory managementUsing PowerShell for active directory management
Using PowerShell for active directory management
 
PowerShell for sharepoint 2010 administrators
PowerShell for sharepoint 2010 administratorsPowerShell for sharepoint 2010 administrators
PowerShell for sharepoint 2010 administrators
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Using PowerShell DSC with AWS Cloud and CloudFormation

  • 1. PowerShell Conference Asia AWS (EC2|CloudFormation) and PowerShell Desired State Configuration Ravikanth Chaganti @Ravikanth Microsoft MVP (Windows PowerShell & Microsoft Azure)
  • 2. PowerShell Conference Singapore 2016 AGENDA • PowerShell DSC configuration delivery methods and AWS EC2 • Why CloudFormation? • CloudFormation and DSC - Know How’s Demo Scripts: http://azrs.tk/cfnatpsconf
  • 3. PowerShell Conference Singapore 2016 PowerShell DSC - Delivering Configuration
  • 4. PowerShell Conference Singapore 2016 Demo – Configuration via Push • Requires WinRM configuration - HTTP (5985) or - HTTPS (5986) • Requires relevant firewall rules inside EC2 instance • Requires local administrator or equivalent credentials
  • 5. PowerShell Conference Singapore 2016 Demo – Pull Configuration via Pull Service on EC2 • Requires an additional EC2 Windows instance • Requires security group configuration to allow the pull server web services access • Requires AWS credentials • Access and Shared keys
  • 6. PowerShell Conference Singapore 2016 Demo – Pull Configuration via Pull Service on EC2 and onboarding via SSM Command • Requires an additional EC2 Windows instance • Requires security group configuration to allow the pull server web services access • Requires AWS credentials • Access and Shared keys • Requires meta-configuration stored in a blob
  • 7. PowerShell Conference Singapore 2016 Demo – Bootstrapping new EC2 instance via Pull Service on EC2 • Requires an additional EC2 Windows instance • Requires security group configuration to allow the pull server web services access • Requires AWS credentials • Access and Shared keys • Requires meta-configuration stored in a blob • Requires AWS PowerShell tools
  • 8. PowerShell Conference Singapore 2016 Demo – Configuration via AA DSC Pull Service • Requires Azure subscription • Requires connectivity to Azure Automation • Internet or • VPN • Requires AWS credentials • Access and Shared keys
  • 9. PowerShell Conference Singapore 2016 Why CloudFormation? • Typical enterprise application deployments are multi-tier • Each tier may have multiple instances • Dependencies exist between tiers • Individual instance deployment is not scalable • Not DevOps friendly • Must treat an entire application service deployment as a single entity • CloudFormation enables this definition via a declarative and JSON or YAML based template language
  • 10. PowerShell Conference Singapore 2016 CloudFormation – Template Syntax { "AWSTemplateFormatVersion": "version date", "Description": "JSON string", "Metadata": { templatemetadata }, "Parameters": { setofparameters }, "Mappings": { setofmappings }, "Conditions": { setofconditions }, "Resources": { setofresources }, "Outputs": { setofoutputs } } JSON --- AWSTemplateFormatVersion: "version date" Description: String Metadata: template metadata Parameters: set of parameters Mappings: set of mappings Conditions: set of conditions Resources: set of resources Outputs: set of outputs YAML
  • 11. PowerShell Conference Singapore 2016 Demo – First CFN Template • Requires a keypair name • Requires security group configuration to allow RDP and web service access • Deployment via • Console • PowerShell Tools
  • 12. PowerShell Conference Singapore 2016 Demo – DSC Configuration via CFN Template • Requires a keypair name • Requires security group configuration to allow RDP and web service access • Requires DSC configuration stored in a place accessible to CFN • Deployment via • Console • PowerShell Tools
  • 13. PowerShell Conference Singapore 2016 Summary • Several ways to onboard EC2 instances • Understand CFN helper scripts when using CloudFormation • xCloud services are certainly helpful
  • 14. PowerShell Conference Singapore 2016 Don’t Forget! • Fill in your survey – it’s how we do better! • Don’t lose your badge! You need it for the Social Events • Grab the Speakers for a chat – they all have time for you! • Let everyone know what they are missing on Social Media #PowerShell #PSConfAsia Tweets (preferably with Pictures) win Prizes!!!! Photos of Marina Bay Credit: Sebastian Szumigalski