WebGIS Automation Using ChefCherry Lin
Pavel Bobov
March 8–11, 2016 | Palm Springs, CA
Esri Developer Summit
Quick Survey
1. Esri Software
2. IT automation experience
3. Chef
Agenda
• Why WebGIS Automation
• Chef and WebGIS Automation
• Deployment Options
• ArcGIS Chef Cookbook
Why WebGIS Automation
ArcGIS is a BIG platform
Web GIS
Standard…
GEE… …
ArcGIS is a BIG platform Desktop Web Device
GIS Server Sites
Online Content and Services
Portal
ArcGIS is a BIG platform
Desktop/Pro
ArcGIS Web Adaptor
ArcGISWeb Adaptor
ArcGIS Data
Store/Big Data Store
RecoveryProduction
Dev QA
Business – Critical Deployments
• Reliable infrastructure- Repeatable- Testable
• Fast Disaster Recovery
• Moving between data centers
• Disposable machines
• Rapid auto-scalingArcGIS
ArcGIS
ArcGIS
Cloud Environments
• Simplifies deployment and upgrade procedures
• Focus more on GIS tasks
• From Esri: Ready-to-use tools with minimum requirements to start
Everybody
Chef and WebGIS Automation
Chef
• One of the fast growing IT automation platforms
• Supported on Windows and Linux
• Open source
Some Chef Components
• Recipes
• Cookbook
• Attributes, resources, providers……
• Chef-server, client, solo
Demo: WebGISDeployment using Chef
What did Chef just do?
• Install IIS if it’s not installed. • Configure IIS (Tomcat on Linux) with https using the provided CA cert or generate a
self-signed cert.• ArcGIS Server: Install; Authorize; Create site.• WA: Install; Configure for ArcGIS Server.• Data Store: Install; Register it with ArcGIS Server.• Portal for ArcGIS: Install; Authorize; Create Portal.• WA: Install; Configure for Portal.• Federate ArcGIS Server with Portal.• Set the ArcGIS Server as the hosting Server.
What are steps?
• 5 steps at
https://github.com/Esri/arcgis-cookbook/wiki/Get-Started-With-ArcGIS-Cookbook
Other Deployment Options
HA WebGIS
……….
Registered
Federated
All on Different Machines
Registered
Server GIS
Other ArcGIS Software
ArcGIS Chef Cookbook
Supported ArcGIS Software
• ArcGIS Server• ArcGIS Data Store• Portal for ArcGIS• ArcGIS Web Adaptor• ArcGIS Pro• ArcGIS Desktop• ArcGIS License Manager• ArcGIS GeoEvent Extension for Server
Supported Platforms
• Windows 7• Windows 8 (8.1)
- 8.1 requires .Net Framework 3.5
• Windows Server 2008 (R2)• Windows Server 2012 (R2)• Ubuntu LTS 14.04 (when deploying ArcGIS for Server on Amazon Web Services)• RHEL 6.5 • RHEL 7.0
• system Ensures system requirements
• all_installed Installs Server, Data Store, Portal, and Web Adaptors
• iis Enables required IIS features and configures HTTPS binding
• server Installs and configures ArcGIS Server
• server_wa Installs Web Adaptor and configures it with ArcGIS Server
• portal Installs and configures Portal for ArcGIS
• portal_wa Installs Web Adaptor and configures it with Portal for ArcGIS
• datastore Installs and configures ArcGIS Data Store
• egdb Registers GeoDatabases with server
• federation Federates ArcGIS Server with Portal for ArcGIS
• ……
ArcGIS Cookbook Recipes
Chef uses Ruby as its reference language.
Demo: Explore ArcGIS cookbook
Define You Own
Define You Own
Advanced Chef Deployment Options
• Community Chef cookbooks• New Cookbooks• Chef-Server• Test Kitchen• Packer• ……
Combine with other community cookbooks
Pick the recipes you need
Take ready to use ArcGIS cookbooks
Write new recipes
Write your own cookbook
• Doc:- External:
- https://github.com/Esri/arcgis-cookbook/wiki/Get-Started-With-ArcGIS-Cookbook
• Issues/Contributes:- Contact Tech Support
10.4 Resources
• Building your first WebGIS- Friday (3/11/2015) 8:30am
DevSummit Session
Please Take Our Survey! – No more memorizing Session ID numbers!!
Download the Esri Events app and find your event
Select the session youattended
Scroll down to the “Feedback” section
Complete Answers,add a Comment,
and Select “Submit”